lasthourcloud/tests/Browser/ExampleTest.php

21 lines
374 B
PHP
Raw Permalink Normal View History

2023-04-03 08:31:04 +00:00
<?php
namespace Tests\Browser;
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');
2023-04-03 08:31:04 +00:00
});
}
}