Weird, I'm not sure if its a Debian thing or what. I redid the whole thing with Ubuntu WSL2 and it works fine.
Laravel 9 Sail and Dusk on WSL2 Two tests pass even if I add more
It's been awhile since I've used Laravel, but I have a brand new project and want to use TDD with Dusk to make an API. I'll just follow all the latest docs and use Sail, this will be great. So I have a 100% boilerplate brand new Laravel 9 Sail and Dusk project running under Debian WSL2. So far so good.
Here's where it gets weird: I have 2 passing dusk tests with 2 assertions, and even if I add a brand new test, such as visit /foo assertSee("Bar") it's not recognized. Dusk continues to spit out OK 2 tests, 2 assertions.
Even if I change the default test to assertSee("asdf") I get 2 passing tests. I couldn't find an easy way to print verbose output on which dusk tests are passing. I've restarted Docker and did sail down and sail up several times, but still just get OK 2 tests, 2 assertions. I deleted the two additional Dusk tests I made and instead just have the exact ExampleTest that ships with Laravel now. Still get OK, 2 tests, 2 assertions when running sail dusk.
Any ideas?
Please or to participate in this conversation.