forked from konveyor/tackle-ui-tests
-
Notifications
You must be signed in to change notification settings - Fork 0
/
cypress.config.ts
62 lines (61 loc) · 2.01 KB
/
cypress.config.ts
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
import { defineConfig } from "cypress";
import { tagify } from "cypress-tags";
export default defineConfig({
viewportWidth: 1920,
viewportHeight: 1080,
video: false,
env: {
user: "admin",
pass: "Dog8code",
git_user: "",
git_password: "",
svn_user: "qe-admin",
svn_password: "Dog8code",
jira_stage_datacenter_url: "https://issues.stage.redhat.com/",
jira_stage_bearer_token: "",
jira_stage_basic_login: "",
jira_stage_basic_password: "",
jira_atlassian_cloud_email: "",
jira_atlassian_cloud_token: "",
jira_atlassian_cloud_url: "",
jira_atlassian_cloud_project: "Test",
jira_stage_datacenter_project_id: 12335626,
tackleUrl: "https://tackle-konveyor-tackle.apps.mtv03.rhos-psi.cnv-qe.rhood.us",
rwx_enabled: true,
logLevel: "ASSERT",
mtaVersion: "",
FAIL_FAST_PLUGIN: true,
FAIL_FAST_ENABLED: false,
},
retries: {
runMode: 0,
openMode: 0,
},
reporter: "cypress-multi-reporters",
reporterOptions: {
reporterEnabled: "cypress-mochawesome-reporter, mocha-junit-reporter",
cypressMochawesomeReporterReporterOptions: {
reportDir: "cypress/reports",
charts: true,
reportPageTitle: "Tackle test report",
embeddedScreenshots: true,
inlineAssets: true,
},
mochaJunitReporterReporterOptions: {
mochaFile: "cypress/reports/junit/results-[hash].xml",
},
},
defaultCommandTimeout: 8000,
e2e: {
testIsolation: false,
specPattern: "cypress/e2e/**/*.{js,jsx,ts,tsx}",
setupNodeEvents(on, config) {
require("./cypress/plugins/index.js")(on, config);
on("file:preprocessor", tagify(config));
require("cypress-fail-fast/plugin")(on, config);
return config;
},
experimentalMemoryManagement: true,
numTestsKeptInMemory: 15,
},
});