-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
State of hook causes testrunner to crash #34
Comments
@fijijavis :) |
@dragancla Are you using Mocha as your test runner? If so which version? I see what is probably causing the error but I'm unable to reproduce it with a minimal wdio example. Maybe share your package.json? |
We're using the latest mocha-framework provided by @wdio https://www.npmjs.com/package/@wdio/mocha-framework
|
@dragancla I finally figured out my issue... i didn't have the reporter setup in my wdio conf 🤒 🤦♂ Should have a fix out today. |
@dragancla v1.3.1 has been published. It should take care of your issue |
@fijijavis Thanks! Testing it now |
Stressed it properly, no errors so far. Good job, thanks! 👍 |
Ever since version 1.3.0 the testrunner crashes if a test fails in a beforeEach mocha hook,
which produces a domino-effect where, at the end of the suite, reportPortal sees the failing tests as "IN_PROGRESS" so it can't finish the suite launch<- unrelated, just submitted a bug for that as wellWe reverted back to 1.2.0 and everything is fine.
Steps to reproduce:
Stack trace:
The text was updated successfully, but these errors were encountered: