Repository navigation
Fix flaky Playwright e2e coverage - #950
Conversation
Remove the repeatedly flaky slow-frame scroll-restoration regression (happy-path restoration remains in ssr-hydration), fold passkey MFA-skip into the lifecycle journey with localhost/domcontentloaded navigation hardening, and drop empty account list heading smokes that only asserted page chrome.
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (4)
💤 Files with no reviewable changes (3)
📝 WalkthroughWalkthroughThe PR standardizes localhost navigation in the passkey lifecycle test and updates its description for TOTP skipping. It also removes account jobs, account memories, and slow-frame scroll-restoration end-to-end tests. ChangesEnd-to-end test updates
Estimated code review effort: 2 (Simple) | ~10 minutes Possibly related PRs
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
🔎 Preview deployed: https://kody-pr-950.kody-a99.workers.dev Worker: Mocks:
|
Summary
CI history showed recurring Playwright flakes on
scroll-restore-slow-frame(hard fail + flaky retries, scroll stuck at the detail offset) and intermittent timeouts in the separate passkey+2FA journey. This PR trims low-signal coverage and hardens the remaining passkey happy path.e2e/scroll-restore-slow-frame.spec.ts— edge-case regression that was itself flaky; happy-path scroll restoration remains inssr-hydration.spec.ts.domcontentloadedso CI load does not stall on fullload.Local
playwright test: 20 passed.System recap — composes existing primitives (low risk)
Mode: recap · Base:
main· Head:cursor/fix-flaky-e2e-2490Classification: composes — Playwright suite only; no product primitives added or changed.
Primitives touched
None. Classifier unmatched paths are all under
e2e/.System map
Test-only change: remove flaky/low-signal Playwright cases and harden the passkey lifecycle journey. No runtime wiring.
Legend: green = composes (wiring only) · amber = extended by this PR · red = new primitive · gray = context (unchanged, included only when an edge crosses it).
Before / after
Summary by CodeRabbit