Cypress upgrade

This commit is contained in:
Jamie Curnow
2024-05-21 13:06:24 +10:00
parent 52bd7b1d8f
commit ac0074ea86
13 changed files with 389 additions and 284 deletions

View File

@ -7,15 +7,16 @@ module.exports = defineConfig({
reporterOptions: {
configFile: 'multi-reporter.json'
},
video: true,
videosFolder: 'results/videos',
screenshotsFolder: 'results/screenshots',
env: {
swaggerBase: '{{baseUrl}}/api/schema',
RETRIES: 4
},
e2e: {
e2e: {
setupNodeEvents(on, config) {
return require('../plugins/index.js')(on, config);
},
}
env: {
swaggerBase: '{{baseUrl}}/api/schema',
},
baseUrl: 'http://localhost:1234',
},
});

View File

@ -7,16 +7,14 @@ module.exports = defineConfig({
reporterOptions: {
configFile: 'multi-reporter.json'
},
videos: false,
video: false,
screenshotsFolder: 'results/screenshots',
env: {
swaggerBase: '{{baseUrl}}/api/schema',
RETRIES: 0
},
e2e: {
// baseUrl: '{{baseUrl}}',
e2e: {
setupNodeEvents(on, config) {
return require('../plugins/index.js')(on, config);
},
env: {
swaggerBase: '{{baseUrl}}/api/schema',
},
}
});