mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-04-29 02:32:18 +00:00
fix: Fix flaky audio widget Playwright test
- Add timestamp to test usernames to prevent duplicate user conflicts - Add stabilization wait before screenshot capture - Update audio widget snapshot to match current UI layout Fixes test failure in widget.spec.ts:313 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -1608,7 +1608,8 @@ export const comfyPageFixture = base.extend<{
|
||||
const comfyPage = new ComfyPage(page, request)
|
||||
|
||||
const { parallelIndex } = testInfo
|
||||
const username = `playwright-test-${parallelIndex}`
|
||||
const timestamp = Date.now()
|
||||
const username = `playwright-test-${parallelIndex}-${timestamp}`
|
||||
const userId = await comfyPage.setupUser(username)
|
||||
comfyPage.userIds[parallelIndex] = userId
|
||||
|
||||
|
||||
Reference in New Issue
Block a user