Captcha (Altcha, on-prem)
renders the widget and solves the challenge without any third-party request
Automated test: renders the widget and solves the challenge without any third-party request in captcha-altcha.spec.js:38
Run: 2026-09-27 19:13 · Duration: 1.6 s · Browser: chromium failed
This test failed. Error: expect(received).toEqual(expected) // deep equality
Screenshots
Video
Errors
Error: expect(received).toEqual(expected) // deep equality
- Expected - 1
+ Received + 21
- Array []
+ Array [
+ "https://id.dev-box.ir/authentication/sign-in?ReturnUrl=%2F&lang=en",
+ "https://id.dev-box.ir/assets/tailwind-base.css",
+ "https://id.dev-box.ir/config.js",
+ "https://id.dev-box.ir/assets/fonts/material-design-icons/MaterialIconsOutlined.css",
+ "https://id.dev-box.ir/assets/fonts/inter/inter.css",
+ "https://id.dev-box.ir/assets/fonts/IRANSans/iransans.css",
+ "https://id.dev-box.ir/assets/fonts/vazirmatn/vazirmatn.css",
+ "https://id.dev-box.ir/assets/fonts/meteocons/style.css",
+ "https://id.dev-box.ir/assets/index-1IUPmIvL.js",
+ "https://id.dev-box.ir/assets/index-Cb67nRgT.css",
+ "https://id.dev-box.ir/assets/images/logo/logo.svg",
+ "https://id.dev-box.ir/config.js",
+ "https://id.dev-box.ir/api/v1/settings",
+ "https://id.dev-box.ir/assets/images/logo/logo.svg",
+ "https://id.dev-box.ir/assets/icons/heroicons-outline.svg",
+ "https://id.dev-box.ir/assets/fonts/vazirmatn/Vazirmatn-var.woff2",
+ "https://id.dev-box.ir/assets/fonts/material-design-icons/MaterialIconsOutlined-Regular.woff2",
+ "https://id.dev-box.ir/assets/altcha-BQ09Dw2D.js",
+ "https://id.dev-box.ir/api/v1/captcha/altcha/challenge",
+ ]
60 | await expect.poll(() => challenges.issued(), { timeout: 15_000 }).toBeGreaterThan(0);
61 |
> 62 | expect(externalRequests).toEqual([]);
| ^
63 | });
64 |
65 | test('sends a proof of work the server would accept', async ({ page }) => {
at E:\AV\Projects\me\_dev-box\identity-fa\src\app\Client.SingleSignOn.Tests\tests\captcha-altcha.spec.js:62:30Page 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" [active] [ref=e38]
- group
- paragraph [ref=e39]: User Identifier Required
- generic [ref=e41]:
- link "Forgot your password?" [ref=e44] [cursor=pointer]:
- /url: /authentication/forgot-password?ReturnUrl=%2F&lang=en
- generic [ref=e45]:
- generic [ref=e46]:
- text: Password
- generic [ref=e47]: "*"
- generic [ref=e48]:
- textbox "Password" [ref=e49]
- group
- paragraph [ref=e50]: Password Required
- generic [ref=e53]:
- generic [ref=e54]:
- checkbox [checked] [ref=e56] [cursor=pointer]
- status [ref=e58]: Verified
- link "Visit Altcha.org" [ref=e60] [cursor=pointer]:
- /url: https://altcha.org/
- img [ref=e61]
- generic [ref=e66]:
- text: Protected by
- link "Visit Altcha.org" [ref=e67] [cursor=pointer]:
- /url: https://altcha.org/
- text: ALTCHA
- button "Sign In" [ref=e69] [cursor=pointer]:
- text: Sign In
- generic [ref=e71]: arrow_forward
```