Files
shields/cypress.config.js
T
jNullj 4b3491faba chore(cypress): replace deprecated env function (#11718)
* fix(cypress): replace deprecated env function

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()`

* fix(cypress): add missing config update for expose usage
2026-03-07 20:58:17 +00:00

17 lines
336 B
JavaScript

import { defineConfig } from 'cypress'
export default defineConfig({
fixturesFolder: false,
expose: {
backend_url: 'http://localhost:8080',
},
e2e: {
setupNodeEvents(on, config) {},
baseUrl: 'http://localhost:3000',
supportFile: false,
},
video: true,
videoCompression: true,
allowCypressEnv: false,
})