MakeDuskTest

This commit is contained in:
Gerardo Ibarra
2020-12-28 13:13:30 -03:00
parent 885d224c5d
commit 50c1136be8
2 changed files with 12 additions and 2 deletions

10
stubs/Browser.php Normal file
View File

@ -0,0 +1,10 @@
<?php
use Laravel\Dusk\Browser;
it('has {name} page', function () {
$this->browse(function (Browser $browser) {
$browser->visit('/{name}')
->assertSee('{name}');
});
});