Sign-in: method detection

selecting OTP from the method selector starts the OTP flow

Automated test: selecting OTP from the method selector starts the OTP flow in login-methods.spec.js:84

Run: 2026-09-27 19:16 · Duration: 11.8 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: getByText('Choose how to sign in')
Expected: visible
Timeout: 10000ms
Error: element(s) not found

Call log:
  - Expect "toBeVisible" with timeout 10000ms
  - waiting for getByText('Choose how to sign in')


   96 |
   97 |     await loginPage.submitIdentifier('testuser@example.com');
>  98 |     await expect(loginPage.methodSelectorHeading).toBeVisible({ timeout: 10_000 });
      |                                                   ^
   99 |
  100 |     await loginPage.selectLoginMethod('otp');
  101 |     await expect(loginPage.otpInputs.first()).toBeVisible({ timeout: 15_000 });
    at E:\AV\Projects\me\_dev-box\identity-fa\src\app\Client.SingleSignOn.Tests\tests\login-methods.spec.js:98:51
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]: testuser@example.com
              - group
          - button "Sign In" [active] [ref=e40] [cursor=pointer]:
            - text: Sign In
            - generic [ref=e42]: arrow_forward
```