Skip to content

Cypress.env() was deprecated and needs to be replaced by either cy.env() or Cypress.expose() #5875

Description

@EikLoe

Describe the bug

The Cypress.env() method was deprecated in version 15.10.0, see https://docs.cypress.io/api/cypress-api/env. It needs to be replaced by either cy.env() or Cypress.expose().
This concerns nearly all existing cypress tests.

Related work

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

code tasktesting frameworkRelated specifically to Unit or Integration (e2e) Tests

Type

Projects

Relationships

None yet

Development

No branches or pull requests

Issue actions