Files
cypress/system-tests/projects/migration-e2e-plugins-modify-config/expected-cypress.config.js
T
Barthélémy Ledoux 771f7654be fix: allow migration of pluginsFile using env properties (#20770)
* fix: allow migration of code-coverage plugin

* fix: use 9.X options to default migration

* fix: remove internal values from options

* test: add unit tests to the new model

* test: e2e test all error prone defaultValues

* fix: avoid removing values in pluginsFile

* test: fix tests

* test: fix test

* fix unit test
2022-04-01 18:42:22 +10:00

17 lines
404 B
JavaScript

const { defineConfig } = require('cypress')
module.exports = defineConfig({
retries: {
runMode: 1,
openMode: 0,
},
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)
},
specPattern: 'tests/e2e/**/*.js',
},
})