Skip to content

Commit 7ce11f0

Browse files
committed
Update cypress configurations
1 parent 7d67568 commit 7ce11f0

File tree

4 files changed

+27
-20
lines changed

4 files changed

+27
-20
lines changed

tests/cypress.config.js

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
const { defineConfig } = require('cypress')
2+
3+
module.exports = defineConfig({
4+
chromeWebSecurity: false,
5+
viewportWidth: 1920,
6+
viewportHeight: 1080,
7+
defaultCommandTimeout: 10000,
8+
videosFolder: 'cypress/reports/videos',
9+
screenshotsFolder: 'cypress/reports/screenshots',
10+
videoUploadOnPasses: false,
11+
retries: 1,
12+
reporter: 'mochawesome',
13+
reporterOptions: {
14+
reportDir: 'cypress/reports/separate-reports',
15+
overwrite: false,
16+
html: false,
17+
json: true,
18+
},
19+
e2e: {
20+
// We've imported your old cypress plugins here.
21+
// You may want to clean this up later by importing these.
22+
setupNodeEvents(on, config) {
23+
return require('./cypress/plugins/index.js')(on, config)
24+
},
25+
specPattern: 'cypress/e2e/**/*.spec.js',
26+
},
27+
})

tests/cypress.json

Lines changed: 0 additions & 20 deletions
This file was deleted.
File renamed without changes.

0 commit comments

Comments
 (0)