nginx-proxy-manager-zh/test/cypress/config/ci.js
2023-05-31 11:56:48 +10:00

23 lines
557 B
JavaScript

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