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

chore: fix flaky e2e record passes test #16043

Merged
merged 1 commit into from
Apr 19, 2021
Merged

Conversation

kuceb
Copy link
Contributor

@kuceb kuceb commented Apr 16, 2021

should help reduce variable failures for e2e_record_spec

for e2e record spec we assert on the order of requests to the stubbed out server. we needed a larger delay in the response handler of put/screenshots since theres a race condition in the order of put/screenshots and put/video. The video request is made first so we delay the screenshot request to make sure there's a consistent order to the requests

@kuceb kuceb requested a review from a team as a code owner April 16, 2021 20:20
@cypress-bot
Copy link
Contributor

cypress-bot bot commented Apr 16, 2021

Thanks for taking the time to open a PR!

@kuceb kuceb requested review from chrisbreiding and jennifer-shehane and removed request for a team April 16, 2021 20:20
@cypress
Copy link

cypress bot commented Apr 16, 2021



Test summary

9493 0 111 3Flakiness 1


Run details

Project cypress
Status Passed
Commit a1d362e
Started Apr 16, 2021 8:39 PM
Ended Apr 16, 2021 8:50 PM
Duration 11:41 💡
OS Linux Debian - 10.8
Browser Multiple

View run in Cypress Dashboard ➡️


Flakiness

cypress/integration/retries.ui.spec.js Flakiness
1 runner/cypress retries.ui.spec > opens attempt on each attempt failure for the screenshot, and closes after test passes

This comment has been generated by cypress-bot as a result of this project's GitHub integration settings. You can manage this integration in this project's settings in the Cypress Dashboard

@chrisbreiding
Copy link
Contributor

Could you describe how this is reducing the flakiness?

@kuceb kuceb changed the title fix flaky e2e record passes test chore: fix flaky e2e record passes test Apr 19, 2021
@kuceb kuceb merged commit 738193f into develop Apr 19, 2021
tgriesser added a commit that referenced this pull request Apr 19, 2021
* develop:
  fix flaky e2e record passes test (#16043)
  chore: switch lolex to new name @sinonjs/fake-timers (#15595)
  add pwa example (#15970)
  fix starting cdp screencast when video:false (#15985)
  fix(deps): update dependency ansi_up to version 5.x 🌟 (#15440)
  fix: run-ct does not hang on windows anymore (#16022)
  docs: in vite-dev-server example don't require the config (#15866)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants