-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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: skip or fix flaky tests #23167
Conversation
Thanks for taking the time to open a PR!
|
Test summaryRun details
View run in Cypress Dashboard ➡️ FlakinessThis 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 |
…ss into fix-or-skip-flaky-tests
cy.contains('Your tests are loading...').should('not.exist') | ||
cy.contains('Your tests are loading...', { timeout: 10000 }).should('not.exist') |
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.
Hopeful fix for #23306
@@ -1626,16 +1626,14 @@ describe('network stubbing', function () { | |||
}).then(function () { | |||
$.post('/post-only', 'quuz').done((responseText) => { | |||
expect(responseText).to.contain(body) | |||
|
|||
done() |
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.
Fixes 23145. We didn't need done()
here -- passing and failing test cases work as expected here without calling done()
@@ -75,18 +75,17 @@ describe('src/cy/commands/actions/type - #type special chars', () => { | |||
}) | |||
|
|||
context('parseSpecialCharSequences: false', () => { | |||
it('types special character sequences literally', (done) => { |
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.
All skips and fixes in this file are under the umbrella issue 23160
User facing changelog
n/a
Additional details
This PR skips or fixes flaky tests in CI, thereby restoring our confidence in CI while we work out the kinks. The issues fixed or skipped are commented in the code.
Steps to test
Be impressed by a good amount of green builds in the CircleCI dashboard for this branch. Unfortunately they are not consistently green because we have memory/performance issues where our CPU gets maxed out and causes timeouts sometimes. See issues #23326, #23321 and #23308 for examples of memory exhaustion in CI
How has the user experience changed?
n/a
PR Tasks
cypress-documentation
?type definitions
?