-
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
fix: yield waited responses in the order that they occured #27806
Conversation
9 flaky tests on run #51416 ↗︎
Details:
e2e/origin/commands/assertions.cy.ts • 1 flaky test • 5x-driver-firefox
cypress/cypress.cy.js • 3 flaky tests • 5x-driver-firefox
commands/net_stubbing.cy.ts • 2 flaky tests • 5x-driver-webkit
cypress/cypress.cy.js • 3 flaky tests • 5x-driver-webkit
Review all test suite changes for PR #27806 ↗︎ |
44b95ec
to
e513e62
Compare
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.
We should add a test for this.
# Conflicts: # cli/CHANGELOG.md
@chrisbreiding Test case added. |
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.
Over all looks good, though the new test seems to be failing or flaky in webkit 😔
@chrisbreiding Looking at webkit, it fails locally as well. Apparently if we Are there any known limitations with webkit around the # of xhr calls? |
Not that I know of, but webkit has a lot of known and unknown issues, so it's not too surprising there's a weird issue with it. |
I guess we should just have the test use less aliases so that it can work in webkit too. |
Released in This comment thread has been locked. If you are still experiencing this issue after upgrading to |
cy.wait
on an array of the same alias does not resolve in expected order #27337Additional details
This PR sorts the yielded responses from a
cy.wait
command bybrowserRequestId
so that the responses are returned in the correct order even when the same alias name is used.Steps to test
Follow the reproduction steps in the original issue
How has the user experience changed?
PR Tasks
cypress-documentation
?type definitions
?