-
Notifications
You must be signed in to change notification settings - Fork 438
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
Upgrade to Cypress 13.15.0 #3315
Conversation
…testing if tab is active. Fix small bug in login-modal test.
771ff13
to
b543b32
Compare
Merging this immediately as it solves a security vulnerability in the development environment, and this only touches e2e tests. |
Backport failed for Please cherry-pick the changes locally and resolve any conflicts. git fetch origin dspace-7_x
git worktree add -d .worktree/backport-3315-to-dspace-7_x origin/dspace-7_x
cd .worktree/backport-3315-to-dspace-7_x
git switch --create backport-3315-to-dspace-7_x
git cherry-pick -x 59ba031b1f733aa43576a042ad639f5ded6f7ca3 f9911ce5ba125e28e81cb5338dd887f6d892fe91 7aba69edd6c345ad48045748940390eb964a8961 968c5bda7158e874bb248361e39d39f732996f7d a012e4cea25423fed9bce67aafaa4e7432c58b41 b543b32a373dcae05bfe529f6f8353b627aed15b b4d932a91b07a781510d4cfa54aad30dfe218c5c |
Backport failed for Please cherry-pick the changes locally and resolve any conflicts. git fetch origin dspace-8_x
git worktree add -d .worktree/backport-3315-to-dspace-8_x origin/dspace-8_x
cd .worktree/backport-3315-to-dspace-8_x
git switch --create backport-3315-to-dspace-8_x
git cherry-pick -x 59ba031b1f733aa43576a042ad639f5ded6f7ca3 f9911ce5ba125e28e81cb5338dd887f6d892fe91 7aba69edd6c345ad48045748940390eb964a8961 968c5bda7158e874bb248361e39d39f732996f7d a012e4cea25423fed9bce67aafaa4e7432c58b41 b543b32a373dcae05bfe529f6f8353b627aed15b b4d932a91b07a781510d4cfa54aad30dfe218c5c |
References
Description
Upgrades us to Cypress 13.15.0 which also resolves a security alert related to Cypress v12 (NOTE: This alert doesn't impact production as Cypress is only used to run e2e tests.)
In addition to the Cypress upgrade, the following minor changes were made to ensure better e2e test stability:
item-edit.cy.ts
to check that the proper tab is active. This solves some random e2e failures which were occurring when an accessibility scan was triggered before the tabs were fully loaded on the page. This check forces Cypress to wait for the tabs to appear before proceeding.login-modal.cy.ts
to fix a minor bug & to simplify the CSS selectors.command.ts
to simplify CSS selectors. (The CSS selector cleanup here & above is just minor cleanup that can be done now that Header, navbar, and admin sidebar refactoring #2676 is merged, because we no longer have duplicate elements in the DOM)Instructions for Reviewers