-
-
Notifications
You must be signed in to change notification settings - Fork 752
Description
What are you trying to achieve?
Have skipped tests show when there are setup failures when running with workers
This test does not work with the functionality introduced here
https://github.com/Codeception/CodeceptJS/pull/2369/files
I did a bit of debugging using this unit test in allure_test.js
'should report BeforeSuite errors when executing via run-workers command'
The output of this test does not include 'Skipped due to failure in 'before' hook' where as the test 'should report BeforeSuite errors when executing via run command' does.
From what i could find. the code introduced here:

When running in workers there were no tests loaded into the suites object
In addition to thiis the above PR made 'should report BeforeSuite errors when executing via run command' test flakey, this can be fixed though i will fix in an upcoming PR
What do you get instead?
Skipped tests not reported
Provide console output if related. Use
--verbosemode for more details.
# paste output hereProvide test source code if related
// paste testDetails
- CodeceptJS version:
- NodeJS Version:
- Operating System:
- puppeteer || webdriverio || protractor || testcafe version (if related)
- Configuration file:
# paste config here