[Bug]: Browser test not running with ./vendor/bin/pest command
What Happened
After I am installing pest using below commands
composer require pestphp/pest-plugin-browser --dev npm install playwright@latest npx playwright install
and create a Browser test directory in the /tests in the root of my project and actually create an exampleTest.php in it and change my /test/Pest.php file to this
pest()->extend(TestCase::class) ->use(RefreshDatabase::class) ->in('Browser', 'Unit');
alsomy laravel project is running php artisan ser
When I enter ./vendor/bin/pest command it wasn't run my Browser tests at all! But Unit tests was running normally.
Browser tests can run with this command normally ./vendor/bin/pest tests/Browser
How to Reproduce
1- install pest composer require pestphp/pest-plugin-browser --dev npm install playwright@latest npx playwright install
- change /test/Pest.php file contents to this (line18 ,19)
pest()->extend(TestCase::class) ->use(RefreshDatabase::class) ->in('Browser', 'Unit');
make sure that laravel project is running php artisan ser
Enter ./vendor/bin/pest command
Sample Repository
No response
Pest Version
5.0
PHP Version
8.3
Operation System
Windows
Notes
No response
Source: pestphp/pest