-
-
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
restart.browser.for.each = never restart browser anyways #3455
Comments
I don't think this is supported for Cucumber in Serenity 4 because of the way the new Cucumber events and parallel execution works, but you are certainly welcome to propose a PR or request some commercial support to implement this feature for Cucumber 7. |
Thank you for your response, @wakaleo. If I find the time, I'll attempt to investigate further. Do you think this could also be related to another issue I'm experiencing, where the Chrome process persists in the background despite the browser being closed when a test fails? This behavior results in numerous Chrome processes running in the background and subsequent resource consumption. |
I have seen that happen sometimes despite the quit() method being called on the driver - I think in that case it came down to a Chromedriver bug. |
What happened?
I have cloned the sample project https://github.com/serenity-bdd/serenity-cucumber-starter so i added the restart.browser.for.each = never property to the serenity.conf, but the browser keeps being closed when the test finish.
I've seen this issue on my personal project thinking i have something wrong but now i have tried with the example you have and it happens anyways.
Any guess?
Im using java openjdk 11.0.22
What did you expect to happen?
No response
Serenity BDD version
4.1.6
JDK version
11.0.22
Execution environment
Windows 10
How to reproduce the bug.
How can we make it happen?
Add it to the Serenity BDD backlog and wait for a volunteer to pick it up
The text was updated successfully, but these errors were encountered: