Repository navigation
test(e2e): EPIC-21 validation — smoke coverage for new capabilities and R1 reload flake - #2386
Conversation
…nd R1 reload flake
- Session check resilience R1: both reloads tolerate a cancelled navigation
("Not attached to an active page", Playwright 1.65); the URL and heading
assertions prove the session survived.
- Tag one existing test each as @smoke in command-search, new-menu,
financing-page, task-page, capture-screen and companies-list.
Refs #2190
Co-Authored-By: Claude e2e-test-engineer <noreply@anthropic.com>
Co-Authored-By: Claude dev-team-lead <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
VERDICT: REQUEST_CHANGES [product-architect] Request changes: 1 finding, labeled Finding 1 (Medium,
|
Set a window.__r1BeforeReload marker before the double reload and wait for it to be gone afterwards, so the URL and heading assertions run on the new document rather than the old one before its delayed /login redirect. Refs #2190 Co-Authored-By: Claude e2e-test-engineer <noreply@anthropic.com> Co-Authored-By: Claude dev-team-lead <noreply@anthropic.com> Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
VERDICT: APPROVE [product-architect] Round 2: approve, zero findings. Finding 1 from round 1 is resolved in 13d227b:
The round-1 checks still hold: the 6 smoke tags are only the |
|
🎉 This PR is included in version 2.19.0-beta.96 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
Summary
page.reload()can reject with 'Not attached to an active page' on Playwright 1.65. Both reloads now tolerate that, and awindow.__r1BeforeReloadmarker set before them, checked withwaitForFunctionafter them, proves a new document loaded. The URL and heading assertions alone would pass on the old document until its delayed/loginredirect.@smoketag on one existing test each in command-search, new-menu, financing-page, task-page, capture-screen and companies-list, so the smoke run covers the new capabilities.E2E triage
Coverage summary
PENDING_SURFACESine2e/fixtures/figureSurfaces.tsis empty.e2e/fixtures/a11yPages.ts) is enforced.Test plan
@smoketests)bash scripts/ci-wait.sh <pr> main)Refs #2190
Capability ids: none
Co-Authored-By: Claude e2e-test-engineer noreply@anthropic.com
Co-Authored-By: Claude dev-team-lead noreply@anthropic.com
🤖 Generated with Claude Code