-
Notifications
You must be signed in to change notification settings - Fork 74
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
Sail and parallel testing #180
Comments
Thanks. Please re-create the repo with the below command and commit all custom changes separately. laravel new bug-report --github="--public" |
OK. I pushed this to the master branch:
|
You have your Remove that and you'll get something similar as the below (because
|
@driesvints Removing the entry in The Sail is out-of-the-box, so your setup is not realistic. Even if it was: How about updating docs for either Parallel testing or Browser Kit then, no? It's a default install. |
I really doubt this is Sail specific tbh.
What setup is that? I'm just using your reproduction repo.
Could you point out which exact docs you mean? |
Not saying it is Sail-specific. I am saying it is general and that your working example is the odd one out. In my work setup, it does not work either. I reproduced for your convenience with out-of-the-box Sail.
Please see my instructions in original post in this issue. It takes four commands in the CLI to reproduce.
You adviced to remove the entry in |
So I took a deep dive into this and it turns out nothing to do with browserkit testing. Sail sets this
When I run
So this leads me to believe there's a permission issue. I'll bring this up internally. Moving this issue to the Sail repo. |
@driesvints Thanks, I am just noting
My two cents is that it is related to |
Thanks. If I get the above working again, I'll try again with the browser kit testing testcase as well. Note that in the above reproduction example I do not use browserkit testing at all. |
Hi there. We've started working on a fix btw: #179 |
Browser Kit Testing Version
7.1
Laravel Version
10.10
PHP Version
8.3
Database Driver & Version
MySQL 8
Description
I noticed that BrowserKit does not read the correct database with ParaTest. Replicated on a fresh Laravel Sail install today, see below to reproduce or run tests here: https://github.com/knobel-dk/browser-kit-paratest-bug.
Steps To Reproduce
With Sail:
Clone https://github.com/knobel-dk/browser-kit-paratest-bug and run tests will give:
Starting from scratch
Copy these three files into the repo:
Run this to get the output above:
The text was updated successfully, but these errors were encountered: