-
-
Save uno-de-piera/b5a380b0a5995d34e801512b2e7a32bf to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace Tests\Browser; | |
use Laravel\Dusk\Browser; | |
use Tests\DuskTestCase; | |
use Laravel\Dusk\Chrome; | |
use Illuminate\Foundation\Testing\DatabaseMigrations; | |
class LoginTest extends DuskTestCase | |
{ | |
public function testIsLoginPage() | |
{ | |
$this->browse(function (Browser $browser) { | |
$browser->visit('/login') | |
->assertTitle('Laravel') | |
->assertSee('Forgot Your Password?'); | |
}); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment