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
284 stars 206 forks source link

QA Standards - Public Websites - Discharge Upgrade Wizard #98146

Open it-harrison opened 1 day ago

it-harrison commented 1 day ago

General Information

VFS team name

Public Websites

VFS product name

Discharge Upgrade Wizard

VFS feature name

Point of Contact/Reviewers

@it-harrison - Ian Harrison - QA


QA Standards

Regression Test Plan

Test Plan

Traceability Reports

Next Steps for the VFS team

Platform directions

chriskim2311 commented 19 hours ago

@it-harrison @FranECross @jilladams Thanks for the review! Couple questions:

For the zero silent failures, there is no api or backend communication for this application. It is purely a react app and have error handling for all questions. Users will not come to a step in the flow where there will be a silent failure. Not sure what we would need to provide for that requirement.

Also for the unit test coverage is there a way for us to get approval with just the v2 files and folders showing as 80% or above? There are some tests that I can add and show the updated coverage for the folders containing only v2 code. As we stated in the QA Artifact we have both v1 and v2 code in the folder and that v1 is missing unit test coverage. So the current unit test coverage is not an accurate depiction of just v2 of the wizard. The v1 code will need to still be in this folder until we launch then we can deprecate the folders and code that wont be in use anymore.

it-harrison commented 57 minutes ago

@it-harrison Thanks for the review! Couple questions:

For the zero silent failures, there is no api or backend communication for this application. It is purely a react app and have error handling for all questions. Users will not come to a step in the flow where there will be a silent failure. Not sure what we would need to provide for that requirement.

Also for the unit test coverage is there a command we can run locally to give us the current percent coverage? As we stated in the QA Artifact we have both v1 and v2 code in the folder and that v1 is missing some of the tests. I can work on those to get it above 80% and passing but wanted to check if we can get the total coverage locally.

@chriskim2311 - that's perfectly fine for the logging silent failures artifact, it doesn't apply in your case. as for coverage, we evaluate at the app level, and the app level is normally defined by the level of the manifest.json file, which in your case means running yarn test:coverage-app discharge-wizard. If there is code that you plan to remove once this update goes live (but which is in production now) you can remove it locally before running the coverage report if that helps and use those numbers