Files
svgedit/cypress.config.js
JFH 9e3a4a9091 cypress 10 migration (#777)
* cypress 10 migration

* fix lint
2022-06-18 10:32:27 +02:00

25 lines
678 B
JavaScript

const { defineConfig } = require('cypress')
module.exports = defineConfig({
video: false,
defaultCommandTimeout: 10000,
pageLoadTimeout: 120000,
includeShadowDom: true,
scrollBehavior: false,
'cypress-plugin-snapshots': {
autoCleanUp: true,
prettier: true,
updateSnapshots: false,
diffLines: 5
},
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)
},
baseUrl: 'http://localhost:8000',
excludeSpecPattern: ['**/__snapshots__/*', '**/__image_snapshots__/*']
}
})