Captcha (MkCaptcha)

refreshing the captcha requests a new image

Automated test: refreshing the captcha requests a new image in captcha.spec.js:52

Run: 2026-09-27 19:00 · Duration: 16.2 s · Browser: chromium failed

This test failed. TimeoutError: page.waitForResponse: Timeout 15000ms exceeded while waiting for event "response"

Screenshots

At the moment it failed
At the moment it failed

Video

Errors

TimeoutError: page.waitForResponse: Timeout 15000ms exceeded while waiting for event "response"

  60 |     await expect(loginPage.captchaInput).toBeVisible();
  61 |
> 62 |     const refreshPromise = page.waitForResponse((r) =>
     |                                 ^
  63 |       r.url().includes('/api/v1/captcha/image/refresh')
  64 |     );
  65 |     await loginPage.refreshCaptcha();
    at E:\AV\Projects\me\_dev-box\identity-fa\src\app\Client.SingleSignOn.Tests\tests\captcha.spec.js:62:33
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]: e2e-user
              - group
          - generic [ref=e40]:
            - generic [ref=e41]: Captcha
            - generic [ref=e42]:
              - spinbutton "Captcha" [ref=e43]
              - button "refresh captcha" [active] [ref=e45] [cursor=pointer]:
                - img [ref=e46]
              - group
          - button "Sign In" [ref=e49] [cursor=pointer]:
            - text: Sign In
            - generic [ref=e51]: arrow_forward
```