-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcypress.config.js
29 lines (27 loc) · 936 Bytes
/
cypress.config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
module.exports = {
reporter: 'cypress-mochawesome-reporter',
video: true, // Set to false to diable video recording of the test run
videoCompression: 40, // Disable for video not to be compressed and decrease to improve video quality
reporterOptions: {
reportDir: 'cypress/reports/result.html',
charts: true,
reportPageTitle: 'Cypress Test Result',
embeddedScreenshots: true,
inlineAssets: true,
saveAllAttempts: false,
},
e2e: {
experimentalSessionAndOrigin: true,
baseUrl: "http://automationpractice.com/",
setupNodeEvents(on, config) {
require('cypress-mochawesome-reporter/plugin')(on);
},
// Retry enabled globally - to retry all failing tests
// Disable this and move to individual test or specs to enable retry per test or a spec only
// This will retry a failed test twice when it failed
retries: {
"runMode": 2,
"openMode": 0
}
},
}