added test for dusk customer login

This commit is contained in:
Prashant Singh 2019-04-13 11:59:54 +05:30
parent f35e9a48d8
commit 492ef9a988
1 changed files with 4 additions and 1 deletions

View File

@ -17,7 +17,10 @@ class ExampleTest extends DuskTestCase
{
$this->browse(function (Browser $browser) {
$browser->visit('/customer/login')
->assertSee('login');
->type('email', 'prashant@webkul.com')
->type('password', '12345678')
->click('input[type="submit"]')
->screenshot('error');
});
}
}