mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-04-19 22:09:37 +00:00
fix: use canvas.deselectAll() instead of graph.deselectAll()
This commit is contained in:
@@ -174,7 +174,7 @@ test.describe('Properties panel', () => {
|
||||
}) => {
|
||||
// Clear selection via evaluate to avoid workflow-tab overlay
|
||||
await comfyPage.page.evaluate(() => {
|
||||
window.app!.graph.deselectAll()
|
||||
window.app!.canvas.deselectAll()
|
||||
})
|
||||
await comfyPage.nextFrame()
|
||||
await expect(panel.panelTitle).toContainText('Workflow Overview')
|
||||
@@ -415,7 +415,7 @@ test.describe('Properties panel', () => {
|
||||
await expect(panel.panelTitle).toContainText('KSampler')
|
||||
// Clear selection via evaluate to avoid workflow-tab overlay
|
||||
await comfyPage.page.evaluate(() => {
|
||||
window.app!.graph.deselectAll()
|
||||
window.app!.canvas.deselectAll()
|
||||
})
|
||||
await comfyPage.nextFrame()
|
||||
await expect(panel.panelTitle).toContainText('Workflow Overview')
|
||||
@@ -429,7 +429,7 @@ test.describe('Properties panel', () => {
|
||||
|
||||
// Clear selection via evaluate to avoid workflow-tab overlay
|
||||
await comfyPage.page.evaluate(() => {
|
||||
window.app!.graph.deselectAll()
|
||||
window.app!.canvas.deselectAll()
|
||||
})
|
||||
await comfyPage.nextFrame()
|
||||
await comfyPage.nodeOps.selectNodes(['CLIP Text Encode (Prompt)'])
|
||||
|
||||
Reference in New Issue
Block a user