Skip to content

Commit 8b989c6

Browse files
authored
Add a wait to prevent searchbox popup (#589)
* Add a wait to prevent searchbox popup * nit
1 parent 2e51122 commit 8b989c6

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

browser_tests/interaction.spec.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,8 @@ test.describe('Node Interaction', () => {
122122
}
123123
})
124124
await expect(comfyPage.canvas).toHaveScreenshot('prompt-dialog-opened.png')
125+
// Wait for 1s so that it does not trigger the search box by double click.
126+
await comfyPage.page.waitForTimeout(1000)
125127
await comfyPage.canvas.click({
126128
position: {
127129
x: 10,
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
<template>
2+
<div></div>
3+
</template>
4+
5+
<script setup lang="ts"></script>

0 commit comments

Comments
 (0)