mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-04-20 06:20:11 +00:00
[automated] Apply ESLint and Oxfmt fixes
This commit is contained in:
@@ -131,9 +131,7 @@ test.describe('Minimap', { tag: '@canvas' }, () => {
|
||||
const minimapCanvas = comfyPage.page.locator('.minimap-canvas')
|
||||
await expect(minimapCanvas).toBeVisible()
|
||||
|
||||
await expect
|
||||
.poll(() => hasCanvasContent(minimapCanvas))
|
||||
.toBe(true)
|
||||
await expect.poll(() => hasCanvasContent(minimapCanvas)).toBe(true)
|
||||
})
|
||||
|
||||
test('Minimap canvas is empty after all nodes are deleted', async ({
|
||||
@@ -144,13 +142,9 @@ test.describe('Minimap', { tag: '@canvas' }, () => {
|
||||
|
||||
await comfyPage.keyboard.selectAll()
|
||||
await comfyPage.vueNodes.deleteSelected()
|
||||
await expect
|
||||
.poll(() => comfyPage.nodeOps.getGraphNodesCount())
|
||||
.toBe(0)
|
||||
await expect.poll(() => comfyPage.nodeOps.getGraphNodesCount()).toBe(0)
|
||||
|
||||
await expect
|
||||
.poll(() => hasCanvasContent(minimapCanvas))
|
||||
.toBe(false)
|
||||
await expect.poll(() => hasCanvasContent(minimapCanvas)).toBe(false)
|
||||
})
|
||||
|
||||
test('Clicking minimap corner pans the main canvas', async ({
|
||||
|
||||
Reference in New Issue
Block a user