-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
test: fix flaky launchpad test #21637
Conversation
Thanks for taking the time to open a PR!
|
Test summaryRun details
View run in Cypress Dashboard ➡️ Flakiness
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 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ohhh. I was wondering why this was flaky. I guess I didn't realize that ctx
was shared between tests. Thanks for fixing this.
…pack * develop: fix: UNIFY-1408, warnings should be nested appropriately & clearable (#21630) chore: fix unit-tests-release job (#21652) chore(deps): update dependency eventsource to v2 [security] (#21639) fix: Add hover states for test titles in reporter (#21635) docs(CONTRIBUTING): Fix link to "good first issue" for newcomers (#21614) chore: compare `cy.screenshot` images in percy (#21598) fix: switching from ct to e2e (non-configured) does not go through setup (#21607) fix: issue with compilation failures in component testing (#21599) test: fix flaky launchpad test (#21637) docs: remove gitter link in contributing guide. (#21592) fix: order projects by most recently opened (#21589) fix: prevent crash on runs visit when offline (#21618) fix: pass family parameter to connect method (#21545) chore: clean up `debug` statements in preparation for 10.0 release, add `debug` docs (#21621) chore: add regression test for ts detection (#21578)
User facing changelog
na
Additional details
Some improper stubbing in
choose-a-browser.cy.ts
was causingopen-mode.cy.ts
to fail if it happened to run first in CI.https://app.circleci.com/pipelines/github/cypress-io/cypress/38605/workflows/16edf69c-4b38-4c59-977c-348ef7501456/jobs/1566814/parallel-runs/1
Steps to test
I tested this by lifting all the code from
choose-a-browser.cy.ts
and pasting it at the top ofopen-mode.cy.ts
. The test was failing every time I did this.Screen.Recording.2022-05-25.at.4.20.47.PM.mov
How has the user experience changed?
na
PR Tasks
cypress-documentation
?type definitions
?