department-of-veterans-affairs / va.gov-team

Public resources for building on and in support of VA.gov. Visit complete Knowledge Hub:
https://depo-platform-documentation.scrollhelp.site/index.html
281 stars 197 forks source link

Add unit & e2e tests for route guard to Rx, Records #85983

Closed radavis closed 3 weeks ago

radavis commented 2 months ago

Description

The MHV Route Guard has been added to the Medications and Medical Records apps. Specs/tests for this functionality need to be added to each app so that other developers understand how these apps behave, as well as to prevent any regressions.

User Story

As a developer, I want to add unit/e2e tests for the route guard on the Rx and Records apps, so that other developers understand that these apps redirect users without a MHV account to '/my-health'.

Acceptance Criteria

radavis commented 2 months ago

This ticket spawned from the Authorization doc and #84911

radavis commented 3 weeks ago

PR is waiting for Platform CoP to review.