You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 29, 2024. It is now read-only.
It seems like as of this commit custom frameworks have to call runner.afterEach after every test, even though the documentation states that this will be a requirement starting from Protractor 6.0.0.
We're adding support for this behaviour to Serenity/JS now to allow people to use Protractor 5.1.x, but I suppose the docs should be updated to clearly state that this is now a requirement?
To reproduce the problem, please install a custom framework, such as protractor-cucumber-framework and try to run several test scenarios with restartBrowserBetweenTests set to true.
The browser does not get restarted.
Calling runner.afterEach() after every test solves the issue.