Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

QA Standards - Public Websites - Discharge Upgrade Wizard #98146

Closed
6 of 16 tasks
it-harrison opened this issue Dec 2, 2024 · 8 comments
Closed
6 of 16 tasks

QA Standards - Public Websites - Discharge Upgrade Wizard #98146

it-harrison opened this issue Dec 2, 2024 · 8 comments
Labels
collab-cycle-feedback For VSP Collaboration cycle feedback assigned to VFS Discharge Upgrade Wizard launch-blocking launch blocking issue found in Collab Cycle Public Websites Global Unauthenticated Experience team for va.gov. Products include home page, content hubs... QA qa-standards Quality Assurance Standards associated work items sitewide Staging

Comments

@it-harrison
Copy link
Contributor

it-harrison commented Dec 2, 2024

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 👉🏽Regression Test Plan in Sharepoint here

  • Standard has been met (Slack convo)
  • Standard has not been met
Explanation of failure to meet standard (if applicable):

Since this is an upgrade to the existing tool, there should be a Regression Test Plan.

Test Plan 👉🏽 Test Plan in Sharepoint here

  • Standard has been met (Slack convo)
  • Standard has not been met
Explanation of failure to meet standard (if applicable):

The QA documents states that: "The team manually tested all flows and branching logic with each complete user story. We tested edit question flows on the review page along with navigation when editing a question." But the specific tests performed are not further documented, in particular the results of the tests are not included.

Traceability Reports

  • Standard has been met
  • Standard has not been met
Explanation of failure to meet standard (if applicable):

E2E Test Participation

  • Standard has been met
  • Standard has not been met
Explanation of failure to meet standard (if applicable):

Unit Test Coverage 👉🏽 Per Ian in a comment below, this now passes

  • Lines %: 70.29

    • Updated: 82.27
  • Functions %: 71.37

    • 86.07
  • Statements %: 70.38

    • 82.64
  • Branches %: 46.22

    • 62.71
  • Standard has been met - Approved by Ian

  • Standard has not been met

Explanation of failure to meet standard (if applicable):

Endpoint Monitoring (Completed Playbook)

  • Standard has been met
  • Standard has not been met
Explanation of failure to meet standard (if applicable):

Logging Silent Failures N/A - approved by Ian

  • Standard has been met
  • Standard has not been met
Explanation of failure to meet standard (if applicable):

No logging silent failures artifact provided

Next Steps for the VFS team

  • Questions? For the most timely response, comment on Slack in your team channel tagging @platform-governance-team-members with any questions or to get help validating the issue.
  • Close the ticket when your Product Owner determines that you have sufficiently met the QA Standards.

Platform directions

  • Update "Issue Title" to be of the form "QA Standards - VFS Team - VFS Product"
  • Add the VFS team, product name, and feature name
  • Add your name, practice area, and GH handle under Point of Contact/Reviewers
  • Complete the QA Standards section, making sure to include an "Explanation of failure to meet standard" for every Standard the product does not meet.
  • Link to the Collaboration Cycle Request epic
  • Add epic's milestone
  • Add assignees:
    • VFS PM
    • Yourself (optional)
  • Add labels:
    • VFS team label
    • VFS product label
    • QA-standards label
    • launch-blocking label if the product has failed to meet a required QA Standard
@it-harrison it-harrison added collab-cycle-feedback For VSP Collaboration cycle feedback assigned to VFS Discharge Upgrade Wizard launch-blocking launch blocking issue found in Collab Cycle Public Websites Global Unauthenticated Experience team for va.gov. Products include home page, content hubs... QA qa-standards Quality Assurance Standards associated work items Staging labels Dec 2, 2024
@chriskim2311
Copy link
Contributor

chriskim2311 commented Dec 3, 2024

@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
Copy link
Contributor Author

@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

@chriskim2311
Copy link
Contributor

@it-harrison Thank you for the quick response. I will work on that and send you the local screenshot today or tomorrow.

@chriskim2311
Copy link
Contributor

chriskim2311 commented Dec 4, 2024

@it-harrison Here is the updated testing coverage after removing the v1 code.

Image

There are some limitations with DST web components and the shadow DOM that make it difficult to test all the Branches in the coverage doc. We have extensive cypress tests that test the code base as well. For example: Cypress Flows Folder we test all possible flows of the wizard forward and backward. Does this new testing report provide enough coverage for the v2 implementation?

@FranECross
Copy link
Contributor

Dropped a message in Slack asking alerting Ian of Chris's last comment above

@it-harrison
Copy link
Contributor Author

@chriskim2311 - that looks good since your sub-threshold branches coverage is due to shadow DOM testing limitations. Thanks for the heads up.

@FranECross
Copy link
Contributor

FranECross commented Dec 10, 2024

@it-harrison Here is the Regression Test Plan for DUW. I've shared with you and am happy to share with anyone else that needs access. Thanks! cc @chriskim2311 @jilladams

(also mentioned in Slack to Ian)

@FranECross
Copy link
Contributor

Standards have been met for Unit Test Coverage, QA Regression Test Plan, and QA Test Plan and signed off by Ian. Closing ticket.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
collab-cycle-feedback For VSP Collaboration cycle feedback assigned to VFS Discharge Upgrade Wizard launch-blocking launch blocking issue found in Collab Cycle Public Websites Global Unauthenticated Experience team for va.gov. Products include home page, content hubs... QA qa-standards Quality Assurance Standards associated work items sitewide Staging
Projects
None yet
Development

No branches or pull requests

4 participants