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
Change the `env` variable accordingly to either `INT` or `INTERNAL-DEV`.
82
82
If you wish to test a different product i.e. `PFP-APIGEE` then you must change `product=` and `--tags` respectively.
83
83
84
+
### Method 5:
85
+
Run the tests by pushing changes to github in a pull request and running the regression tests job.
86
+
You can do this by the browser or by running this
87
+
```
88
+
BRANCH=fix_tests_take_2
89
+
gh workflow run regression_tests.yml \
90
+
--ref ${BRANCH} \
91
+
-f tags=@regression \
92
+
-f environment=INTERNAL-DEV \
93
+
-f pull_request_id=pr-2877 \
94
+
-f github_tag=${BRANCH}
95
+
```
96
+
84
97
### Getting the token to check the endpoint calls on Postman
85
98
On the root of the project is a file `get_token.py` <br>
86
99
This interactive Python script will assist you in generating a CIS2 authentication token that you can use elsewhere to make API calls (e.g. in Postman)
@@ -99,3 +112,14 @@ Pre commit hooks run checks on your code to ensure quality before being allowed
99
112
100
113
This process will stop after the first program detects an error or if Black modified any files.
101
114
You may need to run this multiple times to ensure everything is ok before committing.
115
+
116
+
117
+
### Generating the allure report from a github test run
118
+
To generate and view the results of a github test run, first authenticate to github by running this and following instructions
119
+
```
120
+
gh auth login
121
+
```
122
+
Then download the alluere results by noting the github run id in a browser and running this
123
+
```
124
+
GITHUB_RUN_ID=11523235428 make download-allure-report
0 commit comments