poll feedback

This commit is contained in:
pythongosssss
2026-01-27 20:29:39 -08:00
parent 6efa56daa7
commit b053516eec

View File

@@ -310,7 +310,9 @@ test.describe('Dynamic Combo Widgets in Subgraphs', () => {
await comfyPage.page.keyboard.press('Escape')
await comfyPage.nextFrame()
expect(await comfyPage.isInSubgraph()).toBe(false)
await expect
.poll(() => comfyPage.isInSubgraph(), { timeout: 5000 })
.toBe(false)
const outerSubgraph = await getSubgraphNode(comfyPage)
expect(await outerSubgraph.getWidgets()).toEqual([