2024-05-21 12:53:07 +10:00
|
|
|
const { defineConfig } = require('cypress');
|
|
|
|
|
|
|
|
module.exports = defineConfig({
|
|
|
|
requestTimeout: 30000,
|
|
|
|
defaultCommandTimeout: 20000,
|
|
|
|
reporter: 'cypress-multi-reporters',
|
|
|
|
reporterOptions: {
|
|
|
|
configFile: 'multi-reporter.json'
|
|
|
|
},
|
|
|
|
video: true,
|
|
|
|
videosFolder: 'results/videos',
|
|
|
|
screenshotsFolder: 'results/screenshots',
|
|
|
|
e2e: {
|
|
|
|
setupNodeEvents(on, config) {
|
|
|
|
return require("../plugins/index.js")(on, config);
|
|
|
|
},
|
|
|
|
env: {
|
2024-10-15 23:54:39 +10:00
|
|
|
swaggerBase: '{{baseUrl}}/api/schema?ts=' + Date.now(),
|
2024-05-21 12:53:07 +10:00
|
|
|
},
|
2024-10-13 22:15:18 +10:00
|
|
|
baseUrl: 'http://fullstack:81',
|
2024-05-21 12:53:07 +10:00
|
|
|
}
|
|
|
|
});
|