Enterprise-CMCS / eAPD

CMS (Centers for Medicare and Medicaid Services) eAPD - Modernizing the APD experience
https://eapd.cms.gov
Other
58 stars 25 forks source link

Dmirano/4530 mmis cypress navigation #4675

Closed mirano-darren closed 1 year ago

mirano-darren commented 1 year ago

Resolves #4530

Description

Adds a cypress test for testing the navigation on mmis apds

Automated test cases written

Given When Then Type (jest, tap, cypress)
a MMIS APD Navigating via side nav User gets taken to the correct page Cypress
a MMIS APD Navigating an activity via side nav User gets taken to the correct page Cypress
a MMIS APD Navigating via continue/previous buttons User gets taken to the correct page Cypress
a MMIS APD Navigating to an activity from the executive summary User gets taken to the correct page Cypress

Steps to manually verify this change

  1. Cypress passes on circle

This pull request is ready to code review when

This pull request is ready to test when

This pull request is ready to review when QA has

This pull request can be merged when

codecov[bot] commented 1 year ago

Codecov Report

Merging #4675 (cb5fc57) into main (b6419ec) will increase coverage by 0.09%. The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #4675      +/-   ##
==========================================
+ Coverage   91.43%   91.52%   +0.09%     
==========================================
  Files         283      283              
  Lines        9131     9170      +39     
  Branches     1864     1874      +10     
==========================================
+ Hits         8349     8393      +44     
+ Misses        753      748       -5     
  Partials       29       29              
Flag Coverage Δ
api ∅ <ø> (∅)
common 99.16% <ø> (ø)
web 91.10% <100.00%> (+0.09%) :arrow_up:
Impacted Files Coverage Δ
...ies/cost-allocation/CostAllocation/OtherFunding.js 94.59% <ø> (ø)
.../apd/executive-summary/ActivityExecutiveSummary.js 100.00% <ø> (ø)
...rc/pages/apd/executive-summary/ExecutiveSummary.js 96.96% <ø> (ø)
...d/key-state-personnel/KeyStatePersonnelReadOnly.js 95.83% <ø> (ø)
e2e/cypress/helpers/mmis/mmis-navigation.js 100.00% <100.00%> (+13.51%) :arrow_up:
web/src/util/apd.js 100.00% <100.00%> (ø)

Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update b6419ec...cb5fc57. Read the comment docs.

cms-eapd-bot commented 1 year ago

This deploy was cleaned up.