Skip to content

Commit da82020

Browse files
committed
Cypress config for ci
1 parent e7791c2 commit da82020

File tree

3 files changed

+22
-28
lines changed

3 files changed

+22
-28
lines changed

test/cypress/config/ci.js

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
const { defineConfig } = require('cypress');
2+
3+
module.exports = defineConfig({
4+
requestTimeout: 30000,
5+
defaultCommandTimeout: 20000,
6+
reporter: 'cypress-multi-reporters',
7+
reporterOptions: {
8+
configFile: 'multi-reporter.json'
9+
},
10+
videosFolder: 'results/videos',
11+
screenshotsFolder: 'results/screenshots',
12+
env: {
13+
swaggerBase: '{{baseUrl}}/api/schema',
14+
RETRIES: 4
15+
},
16+
e2e: {
17+
// baseUrl: '{{baseUrl}}',
18+
setupNodeEvents(on, config) {
19+
return require('../plugins/index.js')(on, config);
20+
},
21+
}
22+
});

test/cypress/config/ci.json

Lines changed: 0 additions & 14 deletions
This file was deleted.

test/cypress/config/dev.json

Lines changed: 0 additions & 14 deletions
This file was deleted.

0 commit comments

Comments
 (0)