test: [M3-8013] - Upgrade to Cypress v13.11.0 #10548
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description 📝
This upgrades Cypress and related dependencies to their latest versions. Check out Cypress's changelog for a more detailed overview of the changes since 13.5, but I've noted some of the most noteworthy changes:
cy.wait()
andcy.intercept()
(see entry)cy.wait
that sometimes causes an error to be thrown. We've been getting unexplained test failures that are similar to the error described in the related PR, so this upgrade may fix them (see entry)Changes 🔄
List any change relevant to the reviewer.
cypress
to 13.11, and updates ourDockerfile
accordinglycypress-axe
to1.5.x
,cypress-real-events
to1.12.x
, and installs the latest patch versions for@testing-library/cypress
andcypress-file-upload
How to test 🧪
We can rely on CI for this. Because we're skipping several versions, I plan to run the pipeline several times to ensure there aren't any changes that might impact our test stability.