nginx-proxy-manager/test/cypress/config/dev.js
2024-05-21 13:06:24 +10:00

21 lines
503 B
JavaScript

const { defineConfig } = require('cypress');
module.exports = defineConfig({
requestTimeout: 30000,
defaultCommandTimeout: 20000,
reporter: 'cypress-multi-reporters',
reporterOptions: {
configFile: 'multi-reporter.json'
},
video: false,
screenshotsFolder: 'results/screenshots',
e2e: {
setupNodeEvents(on, config) {
return require('../plugins/index.js')(on, config);
},
env: {
swaggerBase: '{{baseUrl}}/api/schema',
},
}
});