olivetin/integration-tests/cypress.config.js

15 lines
432 B
JavaScript

const { defineConfig } = require('cypress')
module.exports = defineConfig({
screenshotsFolder: 'results/screenshots/',
videosFolder: 'results/videos/',
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:1337',
},
})