-
Notifications
You must be signed in to change notification settings - Fork 0
/
cypress.config.js
36 lines (33 loc) · 911 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
31
32
33
34
35
36
const { defineConfig } = require('cypress')
module.exports = defineConfig({
fixturesFolder: 'cypress/fixtures',
videosFolder: 'cypress/reports/videos',
video: true,
videoUploadOnPasses: false,
pageLoadTimeout: 60000,
defaultCommandTimeout: 30000,
viewportWidth: 1920,
viewportHeight: 1080,
chromeWebSecurity: false,
reporter: "cypress-testrail-accumulative-reporter",
reporterOptions: {
domain: "customusetr.testrail.io",
username: "[email protected]",
password: "vLaYdW66O7mLeqjqRMRG",
projectId: 1,
suiteId: 1,
includeAllInTestRun: true,
createTestRun: "yes"
},
env: {
apiUrl: '',
},
e2e: {
setupNodeEvents(on, config) {
return require('./cypress/plugins/index.js')(on, config)
},
experimentalSessionAndOrigin: false,
supportFile:'cypress/support/index.js',
specPattern: 'cypress/integration/**/*.cy.js'
}
})