NOW MANAGED ON CODEBERG
Updated test to ensure autofocus is set on TOTP input
Dan Brown9a5adc026aac
diff --git a/tests/Auth/MfaVerificationTest.php b/tests/Auth/MfaVerificationTest.phpindex 49ca6663d..9a6106243 100644--- a/tests/Auth/MfaVerificationTest.php+++ b/tests/Auth/MfaVerificationTest.php@@ -23,7 +23,7 @@ class MfaVerificationTest extends TestCase$resp = $this->get('/mfa/verify');$resp->assertSee('Verify Access');$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();$resp = $this->post('/mfa/totp/verify', [