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

Metadata

Metadata

Assignees

Labels

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

Type

No fields configured for Task.

Projects

Status
🏗 In Progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions