Skip to content

change: [UIE-10701] - Upgrade Cypress to v15.13.0, replace deprecated cy.env calls#13555

Merged
jdamore-linode merged 4 commits intolinode:developfrom
jdamore-linode:cypress-15-13-upgrade
Apr 3, 2026
Merged

change: [UIE-10701] - Upgrade Cypress to v15.13.0, replace deprecated cy.env calls#13555
jdamore-linode merged 4 commits intolinode:developfrom
jdamore-linode:cypress-15-13-upgrade

Conversation

@jdamore-linode
Copy link
Copy Markdown
Contributor

@jdamore-linode jdamore-linode commented Apr 2, 2026

Description 📝

Opening this as a draft for now to see if there are any failures. If all goes well I'll update this description and request reviews.

Changes 🔄

  • Upgrade to Cypress 15.13.0
  • Upgrade Cypress-related dependencies to their latest versions
  • Remove calls to deprecated cy.env function, use its drop-in replacement cy.expose
    • ℹ️ Cypress's replacement for cy.env, Cypress.env, is a more secure way to fetch environment variables while only exposing the data necessary to the app, but it's not a drop-in replacement for cy.env and will require some refactoring to use. In the meantime, we're using cy.expose which does exactly what cy.env used to do

Scope 🚢

Upon production release, changes in this PR will be visible to:

  • All customers
  • Some customers (e.g. in Beta or Limited Availability)
  • No customers / Not applicable

Target release date 🗓️

N/A

How to test 🧪

You can check out this PR, update dependencies, and run Cypress to confirm that it works:

$ pnpm i && pnpm build && pnpm start:manager:ci
$ pnpm cy:debug

We can also rely on the CI on this PR to confirm that the tests succeed.

As an Author, to speed up the review process, I considered 🤔

👀 Doing a self review
❔ Our contribution guidelines
🤏 Splitting feature into small PRs
➕ Adding a changeset
🧪 Providing/improving test coverage
🔐 Removing all sensitive information from the code and PR description
🚩 Using a feature flag to protect the release
👣 Providing comprehensive reproduction steps
📑 Providing or updating our documentation
🕛 Scheduling a pair reviewing session
📱 Providing mobile support
♿ Providing accessibility support


  • I have read and considered all applicable items listed above.

As an Author, before moving this PR from Draft to Open, I confirmed ✅

  • All tests and CI checks are passing
  • TypeScript compilation succeeded without errors
  • Code passes all linting rules

@linode-gh-bot
Copy link
Copy Markdown

Cloud Manager UI test results

🔺 1 failing test on test run #3 ↗︎

❌ Failing✅ Passing↪️ Skipped🕐 Duration
1 Failing901 Passing11 Skipped44m 13s

Details

Failing Tests
SpecTest
object-storage.e2e.spec.tsCloud Manager Cypress Tests→object storage end-to-end tests » can update bucket access

Troubleshooting

Use this command to re-run the failing tests:

pnpm cy:run -s "cypress/e2e/core/objectStorage/object-storage.e2e.spec.ts"

@jdamore-linode jdamore-linode changed the title (draft) Upgrade Cypress to v15.13.0, replace deprecated cy.env calls change: [UIE-10701] - Upgrade Cypress to v15.13.0, replace deprecated cy.env calls Apr 2, 2026
@jdamore-linode jdamore-linode marked this pull request as ready for review April 2, 2026 18:10
@jdamore-linode jdamore-linode requested review from a team as code owners April 2, 2026 18:10
@jdamore-linode jdamore-linode requested review from dmcintyr-akamai and removed request for a team April 2, 2026 18:10
@github-project-automation github-project-automation Bot moved this from Review to Approved in Cloud Manager Apr 2, 2026
@jdamore-linode jdamore-linode merged commit b023c4d into linode:develop Apr 3, 2026
34 of 35 checks passed
@github-project-automation github-project-automation Bot moved this from Approved to Merged in Cloud Manager Apr 3, 2026
bbanucha-akamai pushed a commit to bbanucha-akamai/linode-manager that referenced this pull request Apr 8, 2026
… `cy.env` calls (linode#13555)

* Upgrade Cypress and related dependencies; replace calls to deprecated `cy.env` with `Cypress.expose`

* Upgrade Cypress to 15.13.0 in Dockerfile

* Added changeset: Upgrade Cypress to v15.13.0
grevanak-akamai pushed a commit that referenced this pull request Apr 23, 2026
… `cy.env` calls (#13555)

* Upgrade Cypress and related dependencies; replace calls to deprecated `cy.env` with `Cypress.expose`

* Upgrade Cypress to 15.13.0 in Dockerfile

* Added changeset: Upgrade Cypress to v15.13.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

4 participants