Skip to content

test: cover error pages and shared recovery components#609

Open
jakerated-r wants to merge 1 commit into
Commitlabs-Org:masterfrom
jakerated-r:codex/error-pages-tests-594
Open

test: cover error pages and shared recovery components#609
jakerated-r wants to merge 1 commit into
Commitlabs-Org:masterfrom
jakerated-r:codex/error-pages-tests-594

Conversation

@jakerated-r

Copy link
Copy Markdown

Closes #594.

Summary

  • add coverage for the app-level server error page, including reset, digest, and support/home recovery actions
  • add coverage for the not-found page search field, home link, and router back recovery
  • add coverage for the network-error page troubleshooting copy, retry disabled state, and failed connectivity recovery
  • add shared ErrorLayout/ErrorButton coverage for internal links, external safe links, click handlers, and disabled buttons

Validation

  • npm ci
  • npm test -- --run tests/error-page.test.tsx tests/not-found-page.test.tsx tests/network-error-page.test.tsx tests/transaction-error-page.test.tsx src/components/__tests__/ErrorLayout.test.tsx ✅ 5 files / 16 tests passed
  • git diff --cached --check

Repo-wide test note

  • npm test -- --run is still red on existing unrelated repository issues, including duplicate symbols in src/lib/backend/validation.ts, src/lib/backend/services/contracts.ts, and src/lib/backend/auditLog.ts; malformed JSX in src/components/modals/CommitmentDetailsModal.tsx; missing @testing-library/user-event in an existing test; and non-DOM component tests without a DOM environment.

@vercel

vercel Bot commented Jun 18, 2026

Copy link
Copy Markdown

@jakerated-r is attempting to deploy a commit to the 1nonly's projects Team on Vercel.

A member of the Team first needs to authorize it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add tests for the error pages (error.tsx, not-found.tsx, network-error, transaction-error)

1 participant