Added description to README how to use an Api Key instead of the user password.
Added documentation on how to use Cucumber and Gherkin documents with the integration.
Added support for process.env variables. All configuration settings will now also consider entries in process.env.
Added new option to ignore pending tests. If ignored, these tests will not be sent to TestRail. Please see README for more.
Added new created_run.json file that is created in "Create Run Mode". This allows to immediately read and use data of the created run in other steps of your CI pipeline, while Cypress is running.
Fixed
Fixed problem with wrong elapsed_time. When skipped tests were detected coming in Cypress v13, it led to a wrong calculation of the elapsed time.
Results are now sent as "batch" request to TestRail at the end of the file. This safes API requests by only sending 1
request for a spec file (excluding screenshot requests).
Added new CLI Setup Wizard to build your configuration in an interactive way. (see README)
The integration will now automatically send the screenshots to TestRail for every failed test. This is all
automatically done as soon as the new variable is enabled (see README).
Added option to provide optional "suiteId" when creating new runs. If you have a project with suites, this parameter
is required.
Tests with status "pending" had been sent as "failed" to TestRail. These test results will now be skipped and not sent
to TestRail.
Fixed
Improved error response handling from TestRail API. Some errors led to an "undefined reading 'status'" exception.
There should still be no error, but now we should know better what happens.