-
-
Notifications
You must be signed in to change notification settings - Fork 513
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
Serenity BDD - For a failed scenario the report is showing skipped gherkin step as another scenario #3089
Comments
Can you provide a sample project that reproduces this issue? |
@wakaleo the command used - |
This should be fixed in version 3.6.15 |
@wakaleo Thanks for your quick response to the issue observed. |
Can you provide a sample project that reproduces the issue? I reproduced a similar issue which was fixed in 3.6.15 so it may be a different issue. |
I 'm using the 👆 same project, the only change i made is updated serenity version in pom.xml to 3.6.15. |
That's odd - I tested the change with that project and it worked correctly with 3.6.15 |
Here is the report screenshot highlighted 👇 Also, since there are only 2 scenarios with tag @test2, the Total test cases executed count should remain 2 but serenity log in console it shows 3 . |
Fixed in 3.6.22 |
Serenity-version - 3.6.12
I'm running a test suite using the {Serenity-version} and is working fine when all tests are passed. But in case of a failure, when i check the report it shows the failed scenario as well as the skipped step of that fail scenario under scenario column of report.
Hence, impacting the whole execution data and giving the incorrect number of test case.
Can anyone please suggest if there is any config property that i need to define to ignore the the skipped steps? I assumer it should not be the case and it should not displayed the skipped steps as tests/scenarios.
{NOTE} - It was working fine with the previous version and it is observed only after migrating to 3.6.7 or later
Serenity.conf
Screenshot
serenity-report-issue.pdf
POM.XML
`
4.0.0
>
1.0.0-SNAPSHOT
jar
The text was updated successfully, but these errors were encountered: