sqm-dashboards/cypress.config.js
2023-07-19 12:43:56 -07:00

17 lines
458 B
JavaScript

const { defineConfig } = require('cypress')
module.exports = defineConfig({
// setupNodeEvents can be defined in either
// the e2e or component configuration
e2e: {
setupNodeEvents(on, config) {
on('before:browser:launch', (browser = {}, launchOptions) => {
/* ... */
})
},
supportFile: false,
},
screenshotsFolder: "tmp/cypress_screenshots",
videosFolder: "tmp/cypress_videos",
trashAssetsBeforeRuns: false
})