-
Notifications
You must be signed in to change notification settings - Fork 18
Failed serenity test isn't reported as 'FAILED' in ReportPortal #154
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
Comments
I found out it only report failed test case if the error/exception happened inside step. If it failed from test directly, the report portal show it as pass. |
@hunteryin @divannn |
@hunteryin @divannn here's related bug I reported and fixed in Serenity: serenity-bdd/serenity-core#3298 |
Reopening until new Serenity version is released and wrapped into integration. |
Should be resolved with integration version 1.6.1. |
HI,
I use serenity-reportportal-integration library for sending results of test execution to ReportPortal.
I noticed strange behaviour. Run the following trivial test case :
@slf4j
@ExtendWith(SerenityJUnit5Extension.class)
class TestXXX {
}
Both tests are failed correctly.
But when I see results in ReportPortal - they are both marked as PASSED.
Is this known issue or behavior?
I suspect that com.github.invictum.reportportal.ReportPortalListener doesn't handle failed test properly.
Thank you in advance,
-Ivan
The text was updated successfully, but these errors were encountered: