Page MenuHomeSoftware Heritage

cypress.config.js
No OneTemporary

cypress.config.js

const {defineConfig} = require('cypress');
module.exports = defineConfig({
projectId: 'swh-web',
video: false,
viewportWidth: 1920,
viewportHeight: 1080,
defaultCommandTimeout: 20000,
requestTimeout: 20000,
numTestsKeptInMemory: 500,
reporter: 'cypress-multi-reporters',
reporterOptions: {
reporterEnabled: 'mochawesome, mocha-junit-reporter',
mochawesomeReporterOptions: {
reportDir: 'cypress/mochawesome/results',
quiet: true,
overwrite: false,
html: false,
json: true
},
mochaJunitReporterReporterOptions: {
mochaFile: 'cypress/junit/results/results-[hash].xml'
}
},
env: {
SKIP_SLOW_TESTS: 1
},
retries: {
runMode: 4
},
hmrUrl: 'ws://localhost:3000/ws',
hmrRestartDelay: 5000,
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:5004',
supportFile: 'cypress/support/e2e.js'
}
});

File Metadata

Mime Type
text/plain
Expires
Thu, Jul 3, 12:13 PM (1 d, 9 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3237982

Event Timeline