Skip to content

[6.1] Migrate to Cypress.expose as Cypress.env is deprecated#46876

Open
laoneo wants to merge 13 commits intojoomla:6.1-devfrom
Digital-Peak:cypr
Open

[6.1] Migrate to Cypress.expose as Cypress.env is deprecated#46876
laoneo wants to merge 13 commits intojoomla:6.1-devfrom
Digital-Peak:cypr

Conversation

@laoneo
Copy link
Member

@laoneo laoneo commented Feb 12, 2026

Summary of Changes

Cypress has deprecated Cypress.env. This pr adapts the system tests and updates the joomla-cypress dependency to version 2.0.0 which supports that as well. See joomla-projects/joomla-cypress#48 and https://github.com/joomla-projects/joomla-cypress/releases/tag/2.0.0.

image

Testing Instructions

Run the system tests locally or check them in GH Actions.

Actual result BEFORE applying this Pull Request

All works, but a warning about the insecure .env functions is displayed on top of the system tests action..

Expected result AFTER applying this Pull Request

All works and no warning is displayed.

Link to documentations

Please select:

  • Documentation link for guide.joomla.org:

  • No documentation changes for guide.joomla.org needed

  • Pull Request link for manual.joomla.org:

  • No documentation changes for manual.joomla.org needed

@joomla-cms-bot joomla-cms-bot added the NPM Resource Changed This Pull Request can't be tested by Patchtester label Feb 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

NPM Resource Changed This Pull Request can't be tested by Patchtester PR-6.1-dev Unit/System Tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants