Sign-in: authenticator (TOTP)
sends the code and challenge to the TOTP endpoint
آزمون خودکار: sends the code and challenge to the TOTP endpoint در mfa-flow.spec.js:77
اجرا: ۱۴۰۵/۰۷/۰۵ ۱۹:۰۴ · مدت اجرا: ۱۶٫۸ ثانیه · مرورگر: chromium ناموفق
این آزمون ناموفق بود. Error: expect(locator).toBeVisible() failed
تصاویر
ویدیو
خطاها
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()
80 |
81 | await loginPage.submitIdentifier('mfauser@example.com');
> 82 | await expect(loginPage.otpInputs.first()).toBeVisible({ timeout: 15_000 });
| ^
83 |
84 | const requestPromise = page.waitForRequest(
85 | (req) => req.url().includes('/api/v1/login/totp') && req.method() === 'POST'
at E:\AV\Projects\me\_dev-box\identity-fa\src\app\Client.SingleSignOn.Tests\tests\mfa-flow.spec.js:82:47ساختار صفحه در لحظه شکست
# 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
```