-
Notifications
You must be signed in to change notification settings - Fork 17
Expand file tree
/
Copy pathcypress.config.js
More file actions
34 lines (30 loc) · 909 Bytes
/
cypress.config.js
File metadata and controls
34 lines (30 loc) · 909 Bytes
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
const { defineConfig } = require("cypress");
const lambdatestAccessibility = require('lambdatest-cypress-cli/accessibility/plugin');
module.exports = defineConfig({
env: {
issuePrefix: "https://your.domain.atlassian.net/browse/",
tmsPrefix: "https://some.testrail.instance/path/suite/caseID-",
allure: true,
allureResultsPath: "cypress/results/allure-results",
baseUrl: "https://accounts.com/login",
runs: 1,
},
pageLoadTimeout: 200000,
e2e: {
setupNodeEvents(on, config) {
// implement node event listeners here
lambdatestAccessibility(on, config);
return config;
},
},
"reporter": "cypress-multi-reporters",
"reporterOptions": {
"reporterEnabled": ["mochawesome"],
"mochawesomeReporterOptions": {
"reportDir": "cypress/results",
"overwrite": false,
"html": false,
"json": true
}
}
});