now with browser tests

This commit is contained in:
Mark Gregory
2026-04-22 14:25:53 +01:00
parent 770853b3bc
commit b7cfdcd2c5
2 changed files with 30 additions and 0 deletions
+29
View File
@@ -0,0 +1,29 @@
<?php
declare(strict_types=1);
namespace $NAMESPACE$;
use Laravel\Dusk\Browser;
use Tests\DuskTestCase;
/**
* Class $CLASS$
*/
class $CLASS$ extends DuskTestCase
{
/**
* A basic browser test example.
*
* @return void
*
* @throws \Throwable
*/
public function testExample(): void
{
$this->browse(function (Browser $browser): void {
$browser->visit('/')
->assertPathIs('/');
});
}
}