-
Notifications
You must be signed in to change notification settings - Fork 475
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
Dusk Tests won't start after UNgraceful closing #513
Comments
Thank you for reporting this issue! As Laravel is an open source project, we rely on the community to help us diagnose and fix issues as it is not possible to research and fix every issue reported to us via GitHub. If possible, please make a pull request fixing the issue you have described, along with corresponding tests. All pull requests are promptly reviewed by the Laravel team. Thank you! |
@driesvints by any means I don't want to annoy you, but if you could give me hints on what to "poke", you are welcome : D I understand what's going on in Sail (overall) and see nothing specific in Sail or Dusk. Some additional points:
BTW, |
Heya sorry but this seems like a very specific use case. I have no idea what might be going wrong here. It might be better to try a support channel as well? |
@driesvints no problems, I'll close my issue, BUT could you check one thing
Because my setup is as close to native, as possible. Do you observe that locally? I'm trying to understand, if it's normal or not : D |
I think this could be the answer. ( Will give it a few days and will ask colleagues from the ARM-squad. If all fine -> I'll close the issue on my own with a feedback. BTW, thanks for not closing the issue "just cause" : ) |
It did NOT help. Have no idea on what could be done. Closing the issue, without solution. |
Hello @riabiy-denis I have the exact same problem. Have you find a solution since your last message ? |
Yes. You need to increase the amount of sessions available to Selenium container. And set a timeout. This will give you a pool big enough to do mistakes and not to have restart the whole container. |
Description AND vague Steps To Reproduce:
It’s defenitely a bug, but I can’t constantly reproduce it, but it’s annoying and stable enough for me to write it here.
If something unsuccessful happens to the test run:
->pause(10000000...)
) and then I close browser window (via VNC)the test suite gets stuck and won’t start, if I try from an new terminal window.
It says “PHPUnit” and that’s it. Starting with
sail dusk
.Just to be clear: overall, everything works as expected after restarting Docker containers. So it’s not a error in my configuration (at least, not an obvious one). I can easily run +150 tests reliably and consistently. But during development I’m quite annoyed having to restart from time to time.
Is that how it suppose to work? Or I could do something, but restart docker containers.
p.s. 3-5y ago I'd use this snippet before starting, but now
getAllSessions
is deprecated due to security reasons and I'm sadLog
Waited long enough, wanted to reproduce and attach a screenshoot and seems like 15 minutes after this is what I see
After restart everything works as expected, ofc.
The text was updated successfully, but these errors were encountered: