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

e2e bug: add wait after submitting #139773

Merged
merged 1 commit into from
Sep 23, 2024
Merged

e2e bug: add wait after submitting #139773

merged 1 commit into from
Sep 23, 2024

Conversation

gmrabian
Copy link
Contributor

@gmrabian gmrabian commented Sep 23, 2024

Description

Our submit and uncertify tests flake out on main and val sometimes. After reviewing the videos they both get to the certify page, rapidly go through the buttons, and then re-auth as an admin. Once logged in as an admin, the expected report is still in progress. I'm wondering if the API call needs more time to get fired off. This PR simply adds a wait after hitting the button that triggers the certify call.

Failed run examples:
https://github.com/Enterprise-CMCS/macpro-mdct-carts/actions/runs/10942276801/attempts/1
https://github.com/Enterprise-CMCS/macpro-mdct-carts/actions/runs/10961006339/attempts/1

Related ticket(s)

CMDCT-4012


How to test

You can run it locally but it will pass locally even without the wait.

Merging to main/val and letting it run a few times is the best way to test.


Pre-review checklist

  • I have added thorough tests, if necessary
  • [ ] I have updated relevant documentation, if necessary
  • I have performed a self-review of my code
  • I have manually tested this PR in the deployed cloud environment

@gmrabian gmrabian changed the title add wait after submitting e2e bug: add wait after submitting Sep 23, 2024
Copy link

codeclimate bot commented Sep 23, 2024

Code Climate has analyzed commit aa8bd74 and detected 0 issues on this pull request.

The test coverage on the diff in this pull request is 100.0% (90% is the threshold).

This pull request will bring the total coverage in the repository to 80.0% (0.0% change).

View more on Code Climate.

@gmrabian gmrabian marked this pull request as ready for review September 23, 2024 16:13
@gmrabian gmrabian added the ready for review Ready for all the reviews! label Sep 23, 2024
@gmrabian gmrabian merged commit 9d2ff75 into main Sep 23, 2024
22 checks passed
@gmrabian gmrabian deleted the cmdct-4012 branch September 23, 2024 18:57
ntsummers1 added a commit that referenced this pull request Sep 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready for review Ready for all the reviews!
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants