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

Update Cypress to v12 #1641

Merged
merged 1 commit into from
Aug 1, 2023
Merged

Update Cypress to v12 #1641

merged 1 commit into from
Aug 1, 2023

Conversation

NickLanam
Copy link
Member

Summary: Update Cypress from 9.x to 12.x, and perform all relevant migrations.
Changes are the results of 10.0 migration, 11.0 migration, and 12.0 migration guides.
The reason for using cypress.config.mjs instead of cypress.config.ts is that the latter is not working with Yarn 3 yet (1, 2, 3). If that changes, we can revisit.
Notably, one of the larger changes is that test isolation is now on by default. This means the page is refreshed between each test rather than each suite, so some tests needed to be reconfigured to work with that paradigm.
Cypress' UI has gotten a major refresh as well, so I changed the commands to account for it.

Relevant Issues: N/A

Type of change: /kind cleanup

Test Plan: Follow instructions in src/ui/cypress/README.md. In particular, try yarn run cypress:run:chrome. All of the tests should pass, totally headlessly.

Signed-off-by: Nick Lanam <nlanam@pixielabs.ai>
@vihangm vihangm merged commit 26cf6ea into pixie-io:main Aug 1, 2023
18 checks passed
@NickLanam NickLanam deleted the cypress-12 branch August 1, 2023 23:10
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