Files
cypress/system-tests/projects/migration/expected-cypress.config.js
T
Bill Glesias a7ecbec2a3 fix: do not allow experimentalSessionAndOrigin to be available in CT … (#21588)
* fix: do not allow experimentalSessionAndOrigin to be available in CT per https://github.com/cypress-io/cypress/issues/21573

* remove experimentalSessionAndOrigin config as it is read only

* move runner session tests under own system test project to turn on experimentalSessionAndOrigin flag

* refactor session ui runner tests to point to runner-session-e2e-specs folder

* fix cypress_spec.js to account for experimentalSessionAndOrigin options

* remove experimentalSessionAndOrigin from env args
2022-05-23 13:55:15 -04:00

27 lines
738 B
JavaScript

const { defineConfig } = require('cypress')
module.exports = defineConfig({
retries: 2,
defaultCommandTimeout: 5000,
fixturesFolder: false,
test: 'value',
e2e: {
// We've imported your old cypress plugins here.
// You may want to clean this up later by importing these.
setupNodeEvents (on, config) {
return require('./cypress/plugins/index.js')(on, config)
},
defaultCommandTimeout: 10000,
slowTestThreshold: 5000,
baseUrl: 'http://localhost:3000',
specPattern: 'cypress/e2e/**/*.spec.{tsx,js}',
experimentalSessionAndOrigin: true,
},
component: {
setupNodeEvents (on, config) {},
slowTestThreshold: 500,
retries: 1,
specPattern: 'src/**/*.spec.{tsx,js}',
},
})