Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
test: Add expectation retry for remoteWidgets
  • Loading branch information
DrJKL committed Dec 11, 2025
commit fbf560f460514f048e8e904ec80802e5e23c084e
8 changes: 6 additions & 2 deletions browser_tests/tests/remoteWidgets.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -212,8 +212,12 @@ test.describe('Remote COMBO Widget', () => {
// Click on the canvas to trigger widget refresh
await comfyPage.page.mouse.click(400, 300)

const refreshedOptions = await getWidgetOptions(comfyPage, nodeName)
expect(refreshedOptions).not.toEqual(initialOptions)
await expect(async () => {
const refreshedOptions = await getWidgetOptions(comfyPage, nodeName)
expect(refreshedOptions).not.toEqual(initialOptions)
}).toPass({
timeout: 2_000
})
})

test('does not refresh when TTL is not set', async ({ comfyPage }) => {
Expand Down