Open examosa opened 2 years ago
This issue is stale because it has been open for 90 days with no activity.
Same issue here. npx codeceptjs run-workers 3 If some tests failed, Im getting this:
[02] ✖ Тестирование логина и логаута @smoke @C8 in 8302ms
[01] ✔ Переход в профайл игрока заполнение данных для игрока с регистрацией через телефон @smoke @C27 in 61651ms
[01] ✔ История выводов @smoke @C16 in 5920ms
OK | 0 passed // 6m
$ echo $?
0
Gitlab runner: green but should be red.
This issue is stale because it has been open for 90 days with no activity.
Expected
Using the
run-workers
subcommand will return a non-zero exit code if any tests fail, regardless of reporter used.Actual
run-workers
exits with code 0 even if there are test failures when usingmocha-junit-reporter
Console Output
Details
3.3.0
16.14.2
macOS Monterey 12.3.1