Changeset View
Changeset View
Standalone View
Standalone View
src/tests/Browser/Pages/Home.php
Show All 36 Lines | class Home extends Page | ||||
*/ | */ | ||||
public function elements() | public function elements() | ||||
{ | { | ||||
return [ | return [ | ||||
'@app' => '#app', | '@app' => '#app', | ||||
'@email-input' => '#inputEmail', | '@email-input' => '#inputEmail', | ||||
'@password-input' => '#inputPassword', | '@password-input' => '#inputPassword', | ||||
'@second-factor-input' => '#secondfactor', | '@second-factor-input' => '#secondfactor', | ||||
'@logon-button' => '#logon-form button.btn-primary' | |||||
]; | ]; | ||||
} | } | ||||
/** | /** | ||||
* Submit logon form. | * Submit logon form. | ||||
* | * | ||||
* @param \Laravel\Dusk\Browser $browser The browser object | * @param \Laravel\Dusk\Browser $browser The browser object | ||||
* @param string $username User name | * @param string $username User name | ||||
Show All 34 Lines |