-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathcypress.config.js
35 lines (34 loc) · 1.09 KB
/
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
/// <reference types='cypress-tags' />
const { defineConfig } = require("cypress");
module.exports = defineConfig({
e2e: {
setupNodeEvents(on, config) {
const { tagify } = require("cypress-tags");
on("file:preprocessor", tagify(config));
},
specPattern: "cypress/e2e/**/*.test.ts",
},
env: {
windupUrl: "localhost:8080",
jenkinsWorkspacePath: "",
grepFilterSpecs: true,
grepIntegrationFolder: "cypress/e2e/tests/",
},
viewportWidth: 1920,
viewportHeight: 1080,
reporter: "cypress-multi-reporters",
video: false,
reporterOptions: {
reporterEnabled: "cypress-mochawesome-reporter, mocha-junit-reporter",
cypressMochawesomeReporterReporterOptions: {
reportDir: "cypress/reports",
charts: true,
reportPageTitle: "Windup test report",
embeddedScreenshots: true,
inlineAssets: true,
},
mochaJunitReporterReporterOptions: {
mochaFile: "cypress/reports/junit/results-[hash].xml",
},
},
});