expunge-assist icon indicating copy to clipboard operation
expunge-assist copied to clipboard

LG Routing Testing

Open sydneywalcoff opened this issue 11 months ago • 14 comments

Dependency

  • [x] #1267

Overview

Testing is an important part of the development process that has been ignored in the Expunge Assist process thus far. To create a better protected codebase, we want to retroactively implement tests.

Create tests for the below scenarios. Feel free to include additional tests if you find opportunities for more coverage to test our routing in the letter generator.

Action Items

  • [x] Static pre-form pages route correctly
    • [x] Start Now -> Welcome
    • [x] Welcome -> Before you Begin
    • [x] BYB -> advice
    • [x] advice - > Form
  • [ ] Static form pages route correctly
    • [x] Introduction -> Intro Preview
    • [x] Intro preview -> Involvement
    • [x] Future Goals -> FG preview
    • [x] FG preview -> Why
    • [x] Why -> Why preview
    • [x] Why preview -> Finalize
    • [x] finalize -> finalize preview
  • [ ] Dynamic form pages route correctly
    • [ ] form uses formState to determine route
    • [ ] pages are ordered: employment, unemployment, self-improvement, education, parenting, community service, something else

Resources/Notes

Jest React Testing Library

sydneywalcoff avatar Mar 11 '24 22:03 sydneywalcoff