With Cypress reporter, you can automatically populate autotest results into your Test Runs in Qase.
(Refer to https://github.com/qase-tms/qase-cypress repository for examples and documentation)
As the first step, install the Cypress reporter:
npm install cypress-qase-reporter
Next, you'll need to configure the cypress.json file with the necessary values: API token (to be obtained from Qase*), Project Code**, Run ID (optional, you can remove it if you want a new run to be generated during the performance) and logging:
* API token can be generated here:
** Project Code can be obtained in project settings:
Next, in your test, you'll need to import the decorator in order to have your tests assigned with case IDs:
You can refer to the ID numbers of the test cases to be performed and posted results for, listing their ID numbers from Qase TMS:
Do not forget to set the environmental variable QASE_REPORT:
After that, you can perform a test; the run results will be posted to either a new test run or the one whose ID you have specified in cypress.json earlier:
Comments
0 comments
Please sign in to leave a comment.