Please sign in to comment.
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(cucumber): cucumber adapter waits for async tasks to complete bef…
…ore starting a scenario This is to align the behaviour with @serenity-js/jasmine and ensure restarting the browser when the @serenity-js/cucumber module is combined with @serenity-js/protractor does not cause invalid WebDriver session errors. Closes #56
- Loading branch information
Showing with 27 additions and 17 deletions.
- +10 −0 examples/protractor-cucumber/features/interactions.feature
- +2 −1 examples/protractor-cucumber/protractor.conf.js
- +1 −1 packages/cucumber/spec/listeners/CucumberEventProtocolAdapter.spec.ts
- +6 −7 packages/cucumber/src/listeners/cucumber-0.ts
- +4 −4 packages/cucumber/src/listeners/cucumber-3.ts
- +4 −4 packages/cucumber/src/listeners/cucumber-4.ts