Skip to content

Commit e02c1b2

Browse files
fix
1 parent 5c540de commit e02c1b2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

browser_tests/tests/vueNodes/nodeStates/bypass.spec.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,14 @@ test.describe('Vue Node Bypass', () => {
1515
test('should allow toggling bypass on a selected node with hotkey', async ({
1616
comfyPage
1717
}) => {
18+
await comfyPage.setup()
1819
await comfyPage.page.getByText('Load Checkpoint').click()
1920
await comfyPage.page.keyboard.press(BYPASS_HOTKEY)
2021

2122
const checkpointNode = comfyPage.vueNodes.getNodeByTitle('Load Checkpoint')
2223
await expect(checkpointNode).toHaveClass(BYPASS_CLASS)
2324
await comfyPage.page.mouse.click(400, 300)
24-
await comfyPage.nextFrame()
25+
await comfyPage.page.waitForTimeout(128)
2526
await expect(comfyPage.canvas).toHaveScreenshot(
2627
'vue-node-bypassed-state.png'
2728
)

0 commit comments

Comments
 (0)