0
I am with a project Laravel 8, I created a test with the command php Artisan make:testTwo, however when I try to run it with --filter returns me:
Test code generated with make
<?php
namespace Tests\Browser;
use Illuminate\Foundation\Testing\DatabaseMigrations;
use Laravel\Dusk\Browser;
use Tests\DuskTestCase;
class testTwo extends DuskTestCase
{
/**
* A Dusk test example.
*
* @return void
*/
public function testExample()
{
$this->browse(function (Browser $browser) {
$browser->visit('/')
->assertSee('Laravel');
});
}
}
P.S.: I have tested by setting the route, the file name, pretty much everything, it doesn’t work... someone has already gone through this?
Your question has been answered on the English website https://stackoverflow.com/q/67707047/4623423
– Marcos Xavier