Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PXBF-1934-client-router-tests: Add Navigation Tests for Life Events Workflow #2057

Merged
merged 6 commits into from
Jan 22, 2025

Conversation

nehemiah-abuga
Copy link
Contributor

PR Summary

This pull request introduces automated navigation tests for the Life Events workflow. The tests ensure that each component in the flow is rendered correctly based on user interactions and URL paths.
Key Updates

  • Intro Component: Renders at /death/ route.
  • LifeEventSection Component: Renders at /death/about-you.
  • VerifySelectionsView Component: Renders at /death/verify-selections via navigation.
  • ResultsView Component:
    • Eligible items rendered at /death/results.
    • Not-eligible items rendered at /death/results/not-eligible.
  • Full Back Navigation: Verifies navigation back to /death/ via browser back button.
  • Query Parameter Redirection: Confirms redirection to /results when valid query parameters are present.

Related Github Issue

  • Fixes #(issue)

Detailed Testing steps

  • pull changes locally
  • cd benefit finder
  • npm run dev:storybook
  • cy:run:e2e and verify all test pass

nehemiah-abuga and others added 2 commits January 22, 2025 11:12
@scottqueen-bixal scottqueen-bixal merged commit 53f9d35 into dev Jan 22, 2025
5 checks passed
@scottqueen-bixal scottqueen-bixal deleted the 1934-client-router-tests branch January 22, 2025 20:42
@scottqueen-bixal scottqueen-bixal added this to the v0.10.0.beta.1 milestone Feb 6, 2025
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.

2 participants