docbrown/cypress.config.js
depfu[bot] 5793f71f40
Update cypress and add cypress-multi-reporters (#20085)
Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
Co-authored-by: Mac Siri <mac@forem.com>
2023-09-12 12:37:24 -04:00

20 lines
534 B
JavaScript

/* eslint-env node */
const { defineConfig } = require('cypress');
module.exports = defineConfig({
e2e: {
baseUrl: 'http://localhost:1234',
setupNodeEvents(on, config) {
return require('./cypress/plugins/index.js')(on, config);
},
screenshotsFolder: 'tmp/cypress_screenshots',
defaultCommandTimeout: 10000,
trashAssetsBeforeRuns: false,
video: false,
retries: 3,
reporter: 'cypress-multi-reporters',
reporterOptions: {
configFile: 'cypress/reporter-config.json',
},
},
});