Skip to content

chore(cypress): replace deprecated env function#11718

Draft
jNullj wants to merge 1 commit intobadges:masterfrom
jNullj:cypress/fix-env-deprecation
Draft

chore(cypress): replace deprecated env function#11718
jNullj wants to merge 1 commit intobadges:masterfrom
jNullj:cypress/fix-env-deprecation

Conversation

@jNullj
Copy link
Member

@jNullj jNullj commented Mar 3, 2026

As can be found at on.cypress.io/env
Cypress.env() is deprecated and will be removed.
It's only used for back-end url which is not sensitive info.
Replace with Cypress.expose() per upstream recommendation.

as can be found at on.cypress.io/env
`Cypress.env()` is deperecated and will be removed.
its only used for backend url which is not sensative info.
replace with `Cypress.expose()`
@jNullj jNullj added the developer-experience Dev tooling, test framework, and CI label Mar 3, 2026
@github-actions
Copy link
Contributor

github-actions bot commented Mar 3, 2026

Messages
📖 ✨ Thanks for your contribution to Shields, @jNullj!

Generated by 🚫 dangerJS against 4deadd4

@jNullj
Copy link
Member Author

jNullj commented Mar 3, 2026

it fails due to the cache, the cache does not take into account changes in the cypress tests, it only uses the package lock file....
fix incoming in a separate pr, i will keep this as draft until i merge the other fix.

jNullj added a commit to jNullj/shields-fun-fork that referenced this pull request Mar 3, 2026
fix issue where updating the test does not update cache
see PR badges#11718 for example of old cache being used.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

developer-experience Dev tooling, test framework, and CI

Development

Successfully merging this pull request may close these issues.

1 participant