Harden Google sign-in retry-state coverage - #2056
groupthinking with Copilot wants to merge 2 commits into
Conversation
|
Important Review skippedIgnore keyword(s) in the title. ⛔ Ignored keywords (3)
Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Repository: groupthinking/EventRelay/.coderabbit.yaml Review profile: ASSERTIVE Plan: Advanced Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
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 |
Co-authored-by: groupthinking <154503486+groupthinking@users.noreply.github.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
🔍 PR Validation |
✅ E2E Test Results: ALL TESTS PASSED
Test Output |
Dependency Review SummaryThe full dependency review summary was too large to display here (13153KB, limit is 1024KB). Please download the artifact named "dependency-review-summary" to view the complete report. |
Canonical issue
Linked by GitHub issue automation.
Outcome
Google sign-in initiation failures now stay covered by deterministic regression tests for the user-visible contract: restore a retryable button state and announce a generic accessible error without leaking provider details.
signIn()rejects and the UI must recover to a retryable state.signInfunction between tests so queued mock behavior cannot bleed across cases and hide retry-state regressions.Scope
apps/web/src/app/login/GoogleSignInButton.test.tsxnext-authsign-in testsRisk
Verification
Current head:
f186402npm --workspace=apps/web run test -- src/app/login/GoogleSignInButton.test.tsx src/lib/__tests__/auth-config-source.test.tsnpm --workspace=apps/web run type-checkProduction evidence
Not applicable. This change tightens regression coverage only; it does not alter deployed runtime behavior.
Agent handoff