-
Notifications
You must be signed in to change notification settings - Fork 281
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
shared sessionStrategy: UnknownError when getSession() called in second test method #661
Comments
The shared session concept comes from https://github.com/minkphp/phpunit-mink repo. You should be reporting there instead of this https://github.com/minkphp/Mink repo. |
Can you please describe what you want to achieve instead? |
It's my first project with Mink and Behat and am still getting a feel for it all. Thanks for pointing out phpunit-mink, I understand now. I just wanted to speed up tests, sharing sessions seems like a fundamental I need to get working! Thanks for your help |
When you create task in correct repo post link to it here so it can be tracked properly. Talking about terminology:
PHPUnit-Mink + Behat + Mink isn't really a possibility, because you can use either 2 together. |
I have raised the issue for phpunit-mink here: |
I have come across the error when modifying the "GeneralTest" class given in the examples.
To reproduce:
For now, the only workaround I have is to omit the shared session declaration and have a new browser window load for each test method - very slow.
The text was updated successfully, but these errors were encountered: