Sign-in: authenticator (TOTP)

auto-submits the code and logs in with a valid authenticator code

Automated test: auto-submits the code and logs in with a valid authenticator code in mfa-flow.spec.js:46

Run: 2026-09-27 19:17 · Duration: 16.9 s · Browser: chromium failed

This test failed. Error: expect(locator).toBeVisible() failed

Screenshots

At the moment it failed
At the moment it failed

Video

Errors

Error: expect(locator).toBeVisible() failed

Locator: locator('.react-code-input input').first()
Expected: visible
Timeout: 15000ms
Error: element(s) not found

Call log:
  - Expect "toBeVisible" with timeout 15000ms
  - waiting for locator('.react-code-input input').first()


  54 |
  55 |     await loginPage.submitIdentifier('mfauser@example.com');
> 56 |     await expect(loginPage.otpInputs.first()).toBeVisible({ timeout: 15_000 });
     |                                               ^
  57 |
  58 |     await loginPage.fillOtpCode('123456');
  59 |     await loginPage.waitForSuccessScreen();
    at E:\AV\Projects\me\_dev-box\identity-fa\src\app\Client.SingleSignOn.Tests\tests\mfa-flow.spec.js:56:47
Page snapshot at failure
# Page snapshot

```yaml
- generic [ref=e5]:
  - generic [ref=e6]:
    - img "logo" [ref=e9]
    - generic [ref=e10]:
      - paragraph [ref=e13]: All systems operational
      - heading "One door to every service" [level=2] [ref=e14]:
        - text: One door to
        - text: every service
      - paragraph [ref=e15]: Single sign-on across every internal application, with passkeys, one-time codes and hardware keys on the same account.
  - main [ref=e16]:
    - button "Switch to light theme" [ref=e19] [cursor=pointer]:
      - img [ref=e20]
    - generic [ref=e22]:
      - paragraph [ref=e23]: Sign In
      - generic [ref=e25]:
        - paragraph [ref=e27]: Welcome back
        - paragraph [ref=e28]: Use your work account to continue.
        - generic [ref=e29]:
          - generic [ref=e31]:
            - generic [ref=e32]:
              - text: User Identifier
              - generic [ref=e33]: "*"
            - generic [ref=e34]:
              - img [ref=e36]
              - textbox "User Identifier" [ref=e38]: mfauser@example.com
              - group
          - button "Sign In" [active] [ref=e40] [cursor=pointer]:
            - text: Sign In
            - generic [ref=e42]: arrow_forward
```