forked from qase-tms/qase-javascript
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcypress.config.js
30 lines (29 loc) · 876 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
30
const { defineConfig } = require('cypress')
module.exports = defineConfig({
reporter: 'cypress-multi-reporters',
reporterOptions: {
reporterEnabled: 'cypress-mochawesome-reporter, cypress-qase-reporter',
cypressMochawesomeReporterReporterOptions: {
charts: true,
},
cypressQaseReporterReporterOptions: {
apiToken: 'api_key',
projectCode: 'project_code',
logging: true,
basePath: 'https://api.qase.io/v1',
screenshotFolder: 'screenshots',
sendScreenshot: true,
runComplete: true,
environmentId: 1,
rootSuiteTitle: 'Cypress tests',
},
},
video: false,
e2e: {
// We've imported your old cypress plugins here.
// You may want to clean this up later by importing these.
setupNodeEvents(on, config) {
return require('./cypress/plugins/index.js')(on, config)
},
},
})