What are you trying to achieve?
I want to retest failed testcases automatically using run-rerun command. The results shall be imported to testrail.
My codecept tests are very stable and many failed ones will be failing again in rerun. In that case codeceptJS is throwing an error (see line of code below) and my testrail-import addon won't get triggered.
|
throw new Error(`Flaky tests detected! ${successCounter} success runs achieved instead of ${minSuccess} success runs expected`); |
Could you please switch from throwing an Error to just output.error? That would work for me.
Details
- CodeceptJS version: 2.6.11
