docbrown/cypress.config.js
depfu[bot] 624240a348
[js] Upgrade cypress: 10.11.0 → 12.5.1 (major) (#19119)
Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
Co-authored-by: Mac Siri <mac@forem.com>
2023-02-16 17:06:25 -05:00

19 lines
487 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',
trashAssetsBeforeRuns: false,
video: false,
retries: 3,
reporter: 'junit',
reporterOptions: {
mochaFile: 'cypress/results/results-[hash].xml',
},
},
});