Repository navigation
Fix flaky Firefox E2E in 03-system-config RBAC test - #1413
Conversation
The guard waited on .v-toast, which is two permanent containers, so it hit a strict-mode violation that .catch() swallowed. The click then raced the toast and Playwright's mouse move paused its auto-dismiss (pauseOnHover), deadlocking until the test timeout. Wait on .v-toast__item (removed on dismiss) instead and stop swallowing errors. Refs #1412 Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Client V3 Test Results209 tests 209 ✅ 0s ⏱️ Results for commit 102565c. ♻️ This comment has been updated with latest results. |
Client Test Results95 tests 95 ✅ 0s ⏱️ Results for commit 102565c. ♻️ This comment has been updated with latest results. |
Python Test Results 1 files 1 suites 47s ⏱️ Results for commit 102565c. ♻️ This comment has been updated with latest results. |
Playwright E2E Results (firefox)221 tests 221 ✅ 2m 13s ⏱️ Results for commit 102565c. ♻️ This comment has been updated with latest results. |
Playwright E2E Results (chromium)221 tests 221 ✅ 2m 16s ⏱️ Results for commit 102565c. ♻️ This comment has been updated with latest results. |
|



Summary
Fixes the first-attempt Firefox failure of
03-system-config.spec.ts› "can configure RBAC permissions for testuser" (root cause analysed in #1412).page.locator('.v-toast').waitFor({state:'detached'}).catch(() => {})was a no-op:.v-toastmatches two permanent containers (strict-mode violation, swallowed by.catch) and they never detach..btn-closethen raced the toast; Playwright's mouse move onto the toast paused its auto-dismiss (pauseOnHover), so every retry was intercepted until the 30s timeout.expect(page.locator('.v-toast__item')).toHaveCount(0)and no longer swallows errors.Testing
Fixes #1412 (items 1-3). Follow-ups split out: the 13-live-show flake and CI flake visibility (item 4) are tracked in separate issues.
🤖 Generated with Claude Code