-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcypress.config.js
36 lines (29 loc) · 916 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({
projectId: 'bqksba',
viewportHeight: 880,
viewportWidth: 1280,
reporter: 'cypress-multi-reporters',
reporterOptions: {
reporterEnabled: 'cypress-mochawesome-reporter, mocha-junit-reporter',
mochaJunitReporterReporterOption: {
mochaFile: 'cypress/reports/junit/results-[hash].xml'
},
cypressMochawesomeReporterReporterOptions: {
charts: true,
reportPageTitle: 'Relatório de Testes',
embeddedScreenshots: true,
inlineAssets: true,
saveAllAttempts: false
}
},
e2e: {
pageLoadTimeout: 120000,
setupNodeEvents(on, config) {
require('cypress-mochawesome-reporter/plugin')(on)
// implement node event listeners here
specPattern: "cypress/e2e/**/*.{js,jsx,ts,tsx}"
},
baseUrl: 'https://portalrdvqa.azurewebsites.net/Account/Login',
},
});