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

DR | Fix disabled unit & e2e tests #67960

Closed
21 tasks
Mottie opened this issue Oct 19, 2023 · 8 comments
Closed
21 tasks

DR | Fix disabled unit & e2e tests #67960

Mottie opened this issue Oct 19, 2023 · 8 comments
Assignees
Labels
bmt-team-1 Benefits Management Tools Team #1 Decision-Reviews-Team (Formerly squad-2) Label for issues being worked on by Decision Reviews on BMT & DR team frontend HLR Higher Level Review NOD Notice of Disagreement SC Supplemental Claim (Decision Reviews) testing

Comments

@Mottie
Copy link
Contributor

Mottie commented Oct 19, 2023

Value Statement

As a developer
I want to know that our unit & end-to-end tests are being run in CI
So that I can be sure that test coverage is maintained

Background Context

Platform has set up CI to run stress tests on e2e tests to determine if a test is flaky. Once flagged as flaky, the test is added to a "disallowed" list and the e2e test is then skipped in CI. A list of disallowed tests is maintained in the developer documentation, and periodically announced in the #vfs-all-teams Slack channel.

Starting 11/6/2023, PRs with disallowed unit & e2e tests will be blocked from being merged.

Acceptance Criteria

Tasks

  • Review disallowed unit tests page
  • Fix unit tests or manually skip flaky unit tests
  • Review disallowed e2e tests page
  • Fix e2e tests

Definition of Ready

  • Clear value description
  • Testable acceptance criteria
  • Accessibility added to acceptance criteria
  • Approved designs attached
  • Sample data provided where appropriate
  • Estimated to fit within the sprint
  • Dependencies and blockers linked

Definition of Done

  • Meets acceptance criteria
  • Passed E2E testing (90% coverage)
  • Passed unit testing (90% coverage)
  • Passed integration testing (if applicable)
  • Code reviewed (internal)
  • Submitted to staging
  • Reviewed and approved by product and/or design
@Mottie Mottie added frontend needs-grooming Use this to designate any issues that need grooming from the team HLR Higher Level Review NOD Notice of Disagreement SC Supplemental Claim (Decision Reviews) testing bmt-team-1 Benefits Management Tools Team #1 Decision-Reviews-Team (Formerly squad-2) Label for issues being worked on by Decision Reviews on BMT & DR team needs-estimate needs refinement needs further review and discussion at a refinement session labels Oct 19, 2023
@Mottie Mottie changed the title SC | Fix disabled unit & e2e tests DR | Fix disabled unit & e2e tests Oct 20, 2023
@Mottie Mottie self-assigned this Oct 20, 2023
@Mottie Mottie removed needs-grooming Use this to designate any issues that need grooming from the team needs-estimate needs refinement needs further review and discussion at a refinement session labels Oct 20, 2023
@Mottie
Copy link
Contributor Author

Mottie commented Oct 30, 2023

  • Work to get the 3 e2e tests that are on the disallowed list have been completed, but the disallowed list isn't updating. I've reached out to platform and they have pushed out some fixes. We need to wait until Oct 31 to see if the tests have been removed.

    Lets hold until the overnight scan runs Monday and let it do its updating as expected. If those tests are fixed, they should get reenabled by the process automatically

  • Work to fix the flaky unit test is awaiting code review.
  • Work to add Supplemental Claim keyboard-only e2e tests are in progress

@Mottie
Copy link
Contributor Author

Mottie commented Oct 31, 2023

  • The flaky unit test has been removed from the disallowed list 🎉
  • The Supplemental Claim e2e test appear to continue to fail the stress tests 😿
  • For the keyboard only tests, we're still waiting on this test to finish it's overnight run (going on 13+ hours now) before the disallowed list is updated

@saderagsdale
Copy link
Contributor

@anniebtran taking a look at the failing tests

@saderagsdale
Copy link
Contributor

@anniebtran @Mottie any update on the failing tests?

@anniebtran
Copy link
Contributor

@saderagsdale the PR above has been approved and just needs to be merged, i think. not sure if it'll re-enable the flaky test but seems to be passing cleanly on the branch

@Mottie
Copy link
Contributor Author

Mottie commented Nov 3, 2023

The PR has just been merged. I think we need to wait until the daily run (I think at 5 PM daily) before the test is removed from the disallowed list

@Mottie
Copy link
Contributor Author

Mottie commented Nov 6, 2023

Today is the deadline, and I'm not seeing any of our apps on the disallowed e2e and unit test lists 🎉

@saderagsdale
Copy link
Contributor

Woot!!! 🎉🤸😝

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bmt-team-1 Benefits Management Tools Team #1 Decision-Reviews-Team (Formerly squad-2) Label for issues being worked on by Decision Reviews on BMT & DR team frontend HLR Higher Level Review NOD Notice of Disagreement SC Supplemental Claim (Decision Reviews) testing
Projects
None yet
Development

No branches or pull requests

4 participants