Skip to content

Commit a64274f

Browse files
refresh page
1 parent 2cb7b63 commit a64274f

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

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

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,16 +15,13 @@ 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)
23-
24-
// Click on the canvas to force a re-render
25-
await comfyPage.canvas.click()
2624
await comfyPage.nextFrame()
27-
2825
await expect(comfyPage.canvas).toHaveScreenshot(
2926
'vue-node-bypassed-state.png'
3027
)

0 commit comments

Comments
 (0)