serenity-bdd / serenity-cucumber

Cucumber integration for the Serenity BDD Reporting library
Other
78 stars 74 forks source link

serenity.restart.browser.for.each=FEATURE is not working #116

Closed BladeDark closed 6 years ago

BladeDark commented 6 years ago

Serenity version: 1.7.0-rc.1 Serenity cucumber version: 1.6.2

I want to restart browser when executing change to next feature file I try to use this "serenity.restart.browser.for.each=FEATURE" but it's not working

wakaleo commented 6 years ago

Try with the latest versions

BladeDark commented 6 years ago

@wakaleo try with Serenity version: 1.8.1 Cucumber version: 1.6.5

It's still not working

wakaleo commented 6 years ago

Latest versions are 1.8.11 and 1.6.7. Alternatively, try with lower case or capitalised “feature” (I don’t recall offhand).

BladeDark commented 6 years ago

try with Serenity version: 1.8.11 Cucumber version: 1.6.7

try with "feature" or "FEATURE" are still not working

wakaleo commented 6 years ago

It is most likely a project-specific issue then. If you can provide a sample project that reproduces the issue, I will take a look in the new year

BladeDark commented 6 years ago

I will provide it

BladeDark commented 6 years ago

Please check here Demo.zip

BladeDark commented 6 years ago

@wakaleo Any updated ?

wakaleo commented 6 years ago

Update will be posted here when one of the Serenoty core team (or another member of the Serenity community) picks this up. Unfortunately there is no SLA on open source issues unless you have a commercial support contract.

wakaleo commented 6 years ago

I can see this working correctly for serenity-core version: 1.8.21 serenity-cucumber version: 1.6.13

BladeDark commented 6 years ago

@wakaleo I try on serenity-core version: 1.9.1 serenity.cucumber.version: 1.9.3

It's not working yet.

wakaleo commented 6 years ago

Indeed, I have reproduced the issue. Unfortunately this is not supported by the current Cucumber event model (I believe it was in Cucumber 1.x), so it won't be possible in Serenity either.

BladeDark commented 6 years ago

@wakaleo
Thank you for your updating