Add some event listeners and experiment with browser testing
This commit is contained in:
21
tests/Browser/RegistrationTest.php
Normal file
21
tests/Browser/RegistrationTest.php
Normal file
@@ -0,0 +1,21 @@
|
||||
<?php
|
||||
|
||||
namespace Tests\Browser;
|
||||
|
||||
use Tests\DuskTestCase;
|
||||
use Laravel\Dusk\Browser;
|
||||
use Illuminate\Foundation\Testing\DatabaseMigrations;
|
||||
|
||||
class RegistrationTest extends DuskTestCase
|
||||
{
|
||||
/**
|
||||
* Test the registration
|
||||
*/
|
||||
public function testBasicExample()
|
||||
{
|
||||
/*$this->browse(function (Browser $browser) {
|
||||
$browser->visit('/register')
|
||||
->assertSee('Register');
|
||||
});*/
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user