Updated test to ensure autofocus is set on TOTP input
This commit is contained in:
parent
37db51a627
commit
9a5adc026a
1 changed files with 1 additions and 1 deletions
|
@ -23,7 +23,7 @@ class MfaVerificationTest extends TestCase
|
||||||
$resp = $this->get('/mfa/verify');
|
$resp = $this->get('/mfa/verify');
|
||||||
$resp->assertSee('Verify Access');
|
$resp->assertSee('Verify Access');
|
||||||
$resp->assertSee('Enter the code, generated using your mobile app, below:');
|
$resp->assertSee('Enter the code, generated using your mobile app, below:');
|
||||||
$resp->assertElementExists('form[action$="/mfa/totp/verify"] input[name="code"]');
|
$resp->assertElementExists('form[action$="/mfa/totp/verify"] input[name="code"][autofocus]');
|
||||||
|
|
||||||
$google2fa = new Google2FA();
|
$google2fa = new Google2FA();
|
||||||
$resp = $this->post('/mfa/totp/verify', [
|
$resp = $this->post('/mfa/totp/verify', [
|
||||||
|
|
Loading…
Reference in a new issue