Open mirao opened 6 months ago
Hi @DavertMik @olexandr13 @poliarush @TetianaKhomenko We too facing this and its messing up with stats. Just commenting for better reach.
This is CodeceptJS issue, not related to our release cyecle. I'm moving it to next sprint.
Describe the bug
To Reproduce Suppose
AfterSuite()
in our CodeceptJS's test suite fails (simulated byI.assertEqual(1, 2);
)Expected behavior Other scenarios passed and only
AfterSuite()
failsActual behavior https://app.testomat.io/projects/spork/runs/01d25f66/report/test/21954381 All scenarios failed:
It looks like Testomat computes a result of scenario not only from scenario's result, but also from
BeforeSuite()
andAfterSuite()
. But IMHO it makes no sense, asBeforeSuite()
andAfterSuite()
are executed only when test suite starts and ends.This is how it looks in console output of test run on my side:
Desktop (please complete the following information):