test(e2e): stabilize OIDC login spec against staging (GOV-592)#12
Merged
Shaivpidadi merged 1 commit intodevfrom Apr 23, 2026
Merged
test(e2e): stabilize OIDC login spec against staging (GOV-592)#12Shaivpidadi merged 1 commit intodevfrom
Shaivpidadi merged 1 commit intodevfrom
Conversation
The OIDC login spec already exists in auth.spec.ts but was failing in CI because the warmup step only pinged precheck, while the chat app and Keycloak (both Render free-tier) were still cold when Playwright opened the first page — tripping the 30s navigationTimeout. - Warmup all three services (precheck, keycloak, chat) before running - Bump navigationTimeout 30s -> 60s and test timeout 60s -> 120s to absorb residual cold-start latency on the first navigation - Trace/screenshot/video retention on failure was already configured Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Contributor
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
tests/e2e/auth.spec.ts) exists from PR test(e2e): QA.4 — governed chat flow (login, PII, deny, audit log) #9 but has been failing in the scheduledE2E Testsjob against staging because the warmup step only pinged precheck — leaving the chat app and Keycloak (both Render free-tier) cold when Playwright opened the first page.trace: 'retain-on-failure'stays in place, so artifacts are still uploaded on failure.Closes the remaining acceptance item on GOV-592 ("TEST: Passes against staging; trace saved on failure").
Test plan
workflow_dispatchonE2E Testsfor this branch runs green end-to-end against stagingpnpm test:e2eagainst the local dev stack continues to pass