Skip to content

Commit e54faa1

Browse files
committed
add hackaround for node search menu popup
1 parent 63040d1 commit e54faa1

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

browser_tests/ComfyPage.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -315,6 +315,9 @@ export class ComfyPage {
315315
safeSpot = safeSpot || { x: 10, y: 10 }
316316
await this.page.mouse.move(safeSpot.x, safeSpot.y)
317317
await this.page.mouse.down()
318+
// TEMPORARY HACK: Multiple pans open the search menu, so cheat and keep it closed.
319+
// TODO: Fix that (double-click at not-the-same-coordinations should not open the menu)
320+
await this.page.keyboard.press('Escape')
318321
await this.page.mouse.move(offset.x + safeSpot.x, offset.y + safeSpot.y)
319322
await this.page.mouse.up()
320323
await this.nextFrame()

0 commit comments

Comments
 (0)