-
Notifications
You must be signed in to change notification settings - Fork 29
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
Plugin reports Test Passed if before hook fails #24
Comments
Hi @igerasimov23, I think there is no tests were reported if hook failed. |
yes, I will see |
Fixed in 0.0.16 |
I tested v 0.0.16 and have one question, you don't want to send failure message to suite? API supports it and your plugin can easily do it. Now it seems a little bit odd in RP logs: it has all logs of execution of before hook but not actual failure message. Any thoughts? |
I would like, but it is not easy. I will see more. |
@igerasimov23 I've checked this. The problems is wdio reporters by design doesn't report before\after hooks as I now(let me know If you meet reporters that support it). So I don't have access in reporter to error stack trace from before hook. I will go deeper and try to find some ways to handle this case. |
The problem
If test fails in
Before hook
plugin reports to RP as test passedEnvironment
Code To Reproduce Issue [ Good To Have ]
The text was updated successfully, but these errors were encountered: