Adds Dusk and Gitpod

This commit is contained in:
Joao Patricio
2023-04-03 09:31:04 +01:00
parent 13fbdc2340
commit 27172740e9
13 changed files with 376 additions and 1 deletions

View File

@@ -0,0 +1,21 @@
<?php
namespace Tests\Browser;
use Illuminate\Foundation\Testing\DatabaseMigrations;
use Laravel\Dusk\Browser;
use Tests\DuskTestCase;
class ExampleTest extends DuskTestCase
{
/**
* A basic browser test example.
*/
public function testBasicExample(): void
{
$this->browse(function (Browser $browser) {
$browser->visit('/')
->assertSee('Laravel');
});
}
}