vbv/cypress.config.js

25 lines
623 B
JavaScript

const { defineConfig } = require('cypress')
module.exports = defineConfig({
watchForFileChanges: false,
video: false,
retries: {
runMode: 1,
openMode: 0,
},
reporter: 'junit',
reporterOptions: {
mochaFile: 'cypress/test-reports/cypress-results-[hash].xml',
toConsole: true,
},
e2e: {
experimentalSessionAndOrigin: true,
// 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:8001',
},
})