file1.feature --- Scenario A
file2.feature --- Scenario B, Scenario C
But when I run mvn verify,
scenario A run - finish - close browser
scenario B run - finish - close browser
scenario C run - finish - close browser
As far I understand, the expected result should be:
scenario A run - finish - close browser
scenario B run - finish - browser not closed
scenario C run - finish - close browser
When scenario B run finished, it should not closing the browser because I set it to restart browser for each FEATURE, as scenario B and scenario C is within same .feature file it should using same browser meaning after scenario B finish it won't closing the browser
Is this bug? Or maybe I'm misunderstood this behaviour?
Hi, I'm currently have 2 separate
.feature
, and inserenity.properties
I already setserenity.restart.for.each = feature
as per in https://serenity-bdd.github.io/theserenitybook/latest/cucumber.html.Let's say :
But when I run
mvn verify
,As far I understand, the expected result should be:
When scenario B run finished, it should not closing the browser because I set it to restart browser for each FEATURE, as scenario B and scenario C is within same
.feature
file it should using same browser meaning after scenario B finish it won't closing the browserIs this bug? Or maybe I'm misunderstood this behaviour?