Sign-in: method detection
shows the method selector when multiple methods are available without a default
Automated test: shows the method selector when multiple methods are available without a default in login-methods.spec.js:63
Run: 2026-09-27 19:16 · Duration: 11.8 s · Browser: chromium failed
This test failed. Error: expect(locator).toBeVisible() failed
Screenshots
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')
77 | await loginPage.submitIdentifier('testuser@example.com');
78 |
> 79 | await expect(loginPage.methodSelectorHeading).toBeVisible({ timeout: 10_000 });
| ^
80 | await expect(loginPage.otpMethodButton).toBeVisible();
81 | await expect(loginPage.totpMethodButton).toBeVisible();
82 | });
at E:\AV\Projects\me\_dev-box\identity-fa\src\app\Client.SingleSignOn.Tests\tests\login-methods.spec.js:79:51Page 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
```