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

4589 [Feature] Create a fake state for testing on Staging and Production #4669

Closed thetif closed 1 year ago

thetif commented 1 year ago

Resolves #4589

Description

Added two flags 1) support-state-available - for users that should have access to New Apdland 2) support-team - for users that should have sys admin permissions

Significant changes or possible side effects

Definitely affects logging in and changing states

Automated test cases written

Given When Then Type (jest, tap, cypress)

Steps to manually verify this change

1. 2. 3.

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 #4669 (70fcce1) into main (cdf8011) will increase coverage by 0.09%. The diff coverage is 94.52%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #4669      +/-   ##
==========================================
+ Coverage   91.53%   91.63%   +0.09%     
==========================================
  Files         283      285       +2     
  Lines        9170     9203      +33     
  Branches     1874     1888      +14     
==========================================
+ Hits         8394     8433      +39     
+ Misses        747      741       -6     
  Partials       29       29              
Flag Coverage Δ
api ∅ <ø> (∅)
common 98.75% <33.33%> (-0.42%) :arrow_down:
web 91.24% <97.14%> (+0.12%) :arrow_up:
Impacted Files Coverage Δ
common/utils/featureFlags.js 0.00% <0.00%> (ø)
...ss/helpers/apd/activity/add-HITECH-HIE-activity.js 100.00% <ø> (ø)
...ss/helpers/apd/activity/add-HITECH-HIT-activity.js 100.00% <ø> (ø)
...s/helpers/apd/activity/add-HITECH-MMIS-activity.js 100.00% <ø> (ø)
.../cypress/helpers/apd/activity/add-MMIS-activity.js 100.00% <ø> (ø)
...ess/helpers/apd/activity/check-default-activity.js 6.93% <ø> (ø)
web/src/pages/admin/fed-admin/FederalAdmin.js 68.00% <66.66%> (-0.92%) :arrow_down:
...src/pages/admin/fed-admin/MatchStateAdminDialog.js 87.09% <75.00%> (-2.56%) :arrow_down:
common/utils/constants.js 100.00% <100.00%> (ø)
web/src/containers/App.js 100.00% <100.00%> (ø)
... and 10 more

... and 3 files with indirect coverage changes


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 cdf8011...70fcce1. Read the comment docs.

cms-eapd-bot commented 1 year ago

This deploy was cleaned up.