1.0.19 • Published 3 years ago
tr_cypress_reporter_simple v1.0.19
TestRail reporter for Cypress
Updates
Version 1.0.00
- Fixed registration of cases that are not in the test code, but are on TR
Version 1.0.00
- import optimization
- added building multi-level cascading sections based on folders and subfolders in your tests
- The first load of tests is still slow (depending on the number of tests and their structure), but all subsequent checks and loads are much faster.
Version 0.7.0
- Added new methods:
let tr = new TestRaiImporter(run_data);
// Save run data to the local folder
tr.saveArtifact('./artifact/')
// Get saved data and deploy to TR
tr.updateSuiteCasesFromArtifacts('./artifact/');
// Update satuses from file
tr.importStatusesToNewRunFromArtifacts(false, './artifact/');- Import optimization
Version: 0.5.0
- Optimize imports data to TR
- Optimize all requests
Version: 0.2
- Optimize imports data to TR
- Fix upload non-exist images
- Removing not used requests from importer
First step:
The first step is to enable the experimental Cypress feature: "experimentalRunEvents": true
Then you need to add a new event to cypress/plugins/index.js
on('after:run', (run, results) => {
})Now receive data from a Run object.
Next step:
- add the tr_credentials.json file to the project root
{
"host": "https://<name>.testrail.net",
"username": "",
"password": "",
"project_name": "",
"suite_name": ""
}- Add to the new event:
const TestRaiImporter = require("tr_cypress_reporter_simple");
****
on('after:run', (run, results) => {
let tr = new TestRaiImporter(run);
tr.updateSuiteCases();
tr.importStatusesToNewRun();
})- You can also close RUN. If you leave the parameter empty, RUN will not be closed.
const TestRaiImporter = require("tr_cypress_reporter_simple");
****
on('after:run', (run, results) => {
let tr = new TestRaiImporter(run);
tr.updateSuiteCases();
tr.importStatusesToNewRun(true);
})The data will be sent only after starting RUN.
1.0.19
3 years ago
0.7.11
4 years ago
1.0.18
4 years ago
1.0.1
4 years ago
0.7.10
4 years ago
0.7.9
4 years ago
1.0.17
4 years ago
1.0.0
4 years ago
1.0.16
4 years ago
0.7.6
4 years ago
0.7.5
4 years ago
0.7.8
4 years ago
0.7.7
4 years ago
0.7.2
4 years ago
0.7.1
4 years ago
0.7.4
4 years ago
0.7.3
4 years ago
1.0.15
4 years ago
0.7.0
4 years ago
0.5.0
4 years ago
0.5.1
4 years ago
0.2.0
4 years ago
0.1.8
4 years ago
0.1.9
4 years ago
0.1.7
5 years ago
0.1.6
5 years ago
0.1.5
5 years ago
0.1.4
5 years ago
0.1.3
5 years ago
0.1.2
5 years ago
0.1.1
5 years ago
0.1.0
5 years ago