You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- configuration file is here: `.github/workflows/e2e-tests.yml`
40
+
- this job is triggered by 3 ways:
41
+
- automatically - for every PR or on push to main
42
+
- manually - by Test Manager
38
43
- we run in parallel e2e tests for 3 browser engines: chrome, firefox and webkit (used by Safari)
39
44
- we use one common pre-stage named 'install'
40
45
- then base on 'install' stage cache result it runs 3 separated threads for every browser
41
46
- cypress-run-chrome
42
47
- cypress-run-firefox
43
48
- cypress-run-webkit
44
49
- every thread as a part of result has an Artifact section with cypress generated files like videos or screenshots. we can download zip file with those files and open video/screenshot to check what happened.
50
+
51
+
### Xray (Jira) integration
52
+
53
+
### Configuration
54
+
55
+
By default, to fetch .feature files with Cucumber scenarios we use this jira filter: https://jira.catena-x.net/issues/?filter=11645.
56
+
But when we run GitHub job manually, we can set different value in parameter "jira_filter_id".
57
+
58
+
#### Cucumber scenarios in Xray
59
+
60
+
- in first initial step "install" we fetch .feature files from Xray by scripts/xray-download-feature-files.sh
61
+
- then every cypress browser execution use these scenarios
62
+
- we keep a package with downloaded scenarios as artifact in GitHub job (named: cypress - e2e)
63
+
64
+
#### Xray Test Execution Reports
65
+
66
+
- after every cypress browser execution we generate test results in cucumber format (we use cypress/cucumber-json-formatter: https://github.com/badeball/cypress-cucumber-preprocessor/blob/master/docs/json-report.md)
67
+
- those test executions results are imported to Xray by this script: scripts/xray-push-test-results.sh
68
+
- IMPORTANT! - we don't send reports if the job was triggered by PR event
0 commit comments