[Test] Fix flaky optional combo test (#2755)

This commit is contained in:
bymyself
2025-02-27 11:13:38 -07:00
committed by GitHub
parent cdf42d5ad7
commit 0910d485fd

View File

@@ -47,6 +47,9 @@ test.describe('Combo text widget', () => {
// Press R to trigger refresh
await comfyPage.page.keyboard.press('r')
// Wait for nodes' widgets to be updated
await comfyPage.nextFrame()
const refreshedComboValues = await getComboValues()
expect(refreshedComboValues).not.toEqual(initialComboValues)
})