feat: custom claims #104
Annotations
10 errors and 1 notice
Run Playwright tests:
frontend/tests/account-settings.spec.ts#L27
1) [chromium] › account-settings.spec.ts:20:1 › Update account details fails with already taken email
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: getByRole('status')
Expected string: "Email is already taken"
Received: <element(s) not found>
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for getByRole('status')
- locator resolved to <li tabindex="0" role="status" data-index="0" data-front="true" data-type="error" aria-atomic="true" aria-live="polite" data-styled="true" data-mounted="true" data-visible="true" data-invert="false" data-sonner-toast="" data-promise="false" data-removed="false" data-swiping="false" data-expanded="false" data-swipe-out="false" data-x-position="right" data-y-position="bottom" class="group toast group-[.toaster]:bg-background group-[.toaster]:text-foreground group-[.toaster]:border-border group-[.toa…>…</li>
- unexpected value " Email is already in use "
- locator resolved to <li tabindex="0" role="status" data-index="0" data-front="true" data-type="error" aria-atomic="true" aria-live="polite" data-styled="true" data-mounted="true" data-visible="true" data-invert="false" data-sonner-toast="" data-promise="false" data-removed="false" data-swiping="false" data-expanded="false" data-swipe-out="false" data-x-position="right" data-y-position="bottom" class="group toast group-[.toaster]:bg-background group-[.toaster]:text-foreground group-[.toaster]:border-border group-[.toa…>…</li>
- unexpected value " Email is already in use "
- locator resolved to <li tabindex="0" role="status" data-index="0" data-front="true" data-type="error" aria-atomic="true" aria-live="polite" data-styled="true" data-mounted="true" data-visible="true" data-invert="false" data-sonner-toast="" data-promise="false" data-removed="false" data-swiping="false" data-expanded="false" data-swipe-out="false" data-x-position="right" data-y-position="bottom" class="group toast group-[.toaster]:bg-background group-[.toaster]:text-foreground group-[.toaster]:border-border group-[.toa…>…</li>
- unexpected value " Email is already in use "
- locator resolved to <li tabindex="0" role="status" data-index="0" data-front="true" data-type="error" aria-atomic="true" aria-live="polite" data-styled="true" data-mounted="true" data-visible="true" data-invert="false" data-sonner-toast="" data-promise="false" data-removed="false" data-swiping="false" data-expanded="false" data-swipe-out="false" data-x-position="right" data-y-position="bottom" class="group toast group-[.toaster]:bg-background group-[.toaster]:text-foreground group-[.toaster]:border-border group-[.toa…>…</li>
- unexpected value " Email is already in use "
- locator resolved to <li tabindex="0" role="status" data-index="0" data-front="true" data-type="error" aria-atomic="true" aria-live="polite" data-styled="true" data-mounted="true" data-visible="true" data-invert="false" data-sonner-toast="" data-promise="false" data-removed="false" data-swiping="false" data-expanded="false" data-swipe-out="false" data-x-position="right" data-y-position="bottom" class="group toast group-[.toaster]:bg-background group-[.toaster]:text-foreground group-[.toaster]:border-border group-[.toa…>…</li>
- unexpected value " Email is already in use "
- locator resolved to <li tabindex="0" role="status" data-index="0" data-front="true" data-type="error" aria-atomic="true" aria-live="polite" data-styled="true" data-mounted="true" data-visible="true" data-invert="false" data-sonner-toast="" data-promise="false" data-removed="false" data-swiping="false" data-expanded="false" data-swipe-out="false" data-x-position="right" data-y-position="bottom" class="group toast group-[.toaster]:bg-background group-[.toaster]:text-foreground group-[.toaster]:border-border group-[.toa…>…</li>
- unexpected value " Email is already in use "
- locator resolved to <li tabindex="0" role="status" data-index="0" data-front="true" dat
|
Run Playwright tests:
frontend/tests/account-settings.spec.ts#L27
1) [chromium] › account-settings.spec.ts:20:1 › Update account details fails with already taken email
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: getByRole('status')
Expected string: "Email is already taken"
Received: <element(s) not found>
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for getByRole('status')
- locator resolved to <li tabindex="0" role="status" data-index="0" data-front="true" data-type="error" aria-atomic="true" aria-live="polite" data-styled="true" data-mounted="true" data-visible="true" data-invert="false" data-sonner-toast="" data-promise="false" data-removed="false" data-swiping="false" data-expanded="false" data-swipe-out="false" data-x-position="right" data-y-position="bottom" class="group toast group-[.toaster]:bg-background group-[.toaster]:text-foreground group-[.toaster]:border-border group-[.toa…>…</li>
- unexpected value " Email is already in use "
- locator resolved to <li tabindex="0" role="status" data-index="0" data-front="true" data-type="error" aria-atomic="true" aria-live="polite" data-styled="true" data-mounted="true" data-visible="true" data-invert="false" data-sonner-toast="" data-promise="false" data-removed="false" data-swiping="false" data-expanded="false" data-swipe-out="false" data-x-position="right" data-y-position="bottom" class="group toast group-[.toaster]:bg-background group-[.toaster]:text-foreground group-[.toaster]:border-border group-[.toa…>…</li>
- unexpected value " Email is already in use "
- locator resolved to <li tabindex="0" role="status" data-index="0" data-front="true" data-type="error" aria-atomic="true" aria-live="polite" data-styled="true" data-mounted="true" data-visible="true" data-invert="false" data-sonner-toast="" data-promise="false" data-removed="false" data-swiping="false" data-expanded="false" data-swipe-out="false" data-x-position="right" data-y-position="bottom" class="group toast group-[.toaster]:bg-background group-[.toaster]:text-foreground group-[.toaster]:border-border group-[.toa…>…</li>
- unexpected value " Email is already in use "
- locator resolved to <li tabindex="0" role="status" data-index="0" data-front="true" data-type="error" aria-atomic="true" aria-live="polite" data-styled="true" data-mounted="true" data-visible="true" data-invert="false" data-sonner-toast="" data-promise="false" data-removed="false" data-swiping="false" data-expanded="false" data-swipe-out="false" data-x-position="right" data-y-position="bottom" class="group toast group-[.toaster]:bg-background group-[.toaster]:text-foreground group-[.toaster]:border-border group-[.toa…>…</li>
- unexpected value " Email is already in use "
- locator resolved to <li tabindex="0" role="status" data-index="0" data-front="true" data-type="error" aria-atomic="true" aria-live="polite" data-styled="true" data-mounted="true" data-visible="true" data-invert="false" data-sonner-toast="" data-promise="false" data-removed="false" data-swiping="false" data-expanded="false" data-swipe-out="false" data-x-position="right" data-y-position="bottom" class="group toast group-[.toaster]:bg-background group-[.toaster]:text-foreground group-[.toaster]:border-border group-[.toa…>…</li>
- unexpected value " Email is already in use "
- locator resolved to <li tabindex="0" role="status" data-index="0" data-front="true" data-type="error" aria-atomic="true" aria-live="polite" data-styled="true" data-mounted="true" data-visible="true" data-invert="false" data-sonner-toast="" data-promise="false" data-removed="false" data-swiping="false" data-expanded="false" data-swipe-out="false" data-x-position="right" data-y-position="bottom" class="group toast group-[.toaster]:bg-background group-[.toaster]:text-foreground group-[.toaster]:border-border group-[.toa…>…</li>
- unexpected value " Email is already in use
|
Run Playwright tests:
frontend/tests/account-settings.spec.ts#L37
2) [chromium] › account-settings.spec.ts:30:1 › Update account details fails with already taken username
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: getByRole('status')
Expected string: "Username is already taken"
Received: <element(s) not found>
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for getByRole('status')
- locator resolved to <li tabindex="0" role="status" data-index="0" data-front="true" data-type="error" aria-atomic="true" aria-live="polite" data-styled="true" data-mounted="true" data-visible="true" data-invert="false" data-sonner-toast="" data-promise="false" data-removed="false" data-swiping="false" data-expanded="false" data-swipe-out="false" data-x-position="right" data-y-position="bottom" class="group toast group-[.toaster]:bg-background group-[.toaster]:text-foreground group-[.toaster]:border-border group-[.toa…>…</li>
- unexpected value " Username is already in use "
- locator resolved to <li tabindex="0" role="status" data-index="0" data-front="true" data-type="error" aria-atomic="true" aria-live="polite" data-styled="true" data-mounted="true" data-visible="true" data-invert="false" data-sonner-toast="" data-promise="false" data-removed="false" data-swiping="false" data-expanded="false" data-swipe-out="false" data-x-position="right" data-y-position="bottom" class="group toast group-[.toaster]:bg-background group-[.toaster]:text-foreground group-[.toaster]:border-border group-[.toa…>…</li>
- unexpected value " Username is already in use "
- locator resolved to <li tabindex="0" role="status" data-index="0" data-front="true" data-type="error" aria-atomic="true" aria-live="polite" data-styled="true" data-mounted="true" data-visible="true" data-invert="false" data-sonner-toast="" data-promise="false" data-removed="false" data-swiping="false" data-expanded="false" data-swipe-out="false" data-x-position="right" data-y-position="bottom" class="group toast group-[.toaster]:bg-background group-[.toaster]:text-foreground group-[.toaster]:border-border group-[.toa…>…</li>
- unexpected value " Username is already in use "
- locator resolved to <li tabindex="0" role="status" data-index="0" data-front="true" data-type="error" aria-atomic="true" aria-live="polite" data-styled="true" data-mounted="true" data-visible="true" data-invert="false" data-sonner-toast="" data-promise="false" data-removed="false" data-swiping="false" data-expanded="false" data-swipe-out="false" data-x-position="right" data-y-position="bottom" class="group toast group-[.toaster]:bg-background group-[.toaster]:text-foreground group-[.toaster]:border-border group-[.toa…>…</li>
- unexpected value " Username is already in use "
- locator resolved to <li tabindex="0" role="status" data-index="0" data-front="true" data-type="error" aria-atomic="true" aria-live="polite" data-styled="true" data-mounted="true" data-visible="true" data-invert="false" data-sonner-toast="" data-promise="false" data-removed="false" data-swiping="false" data-expanded="false" data-swipe-out="false" data-x-position="right" data-y-position="bottom" class="group toast group-[.toaster]:bg-background group-[.toaster]:text-foreground group-[.toaster]:border-border group-[.toa…>…</li>
- unexpected value " Username is already in use "
- locator resolved to <li tabindex="0" role="status" data-index="0" data-front="true" data-type="error" aria-atomic="true" aria-live="polite" data-styled="true" data-mounted="true" data-visible="true" data-invert="false" data-sonner-toast="" data-promise="false" data-removed="false" data-swiping="false" data-expanded="false" data-swipe-out="false" data-x-position="right" data-y-position="bottom" class="group toast group-[.toaster]:bg-background group-[.toaster]:text-foreground group-[.toaster]:border-border group-[.toa…>…</li>
- unexpected value " Username is already in use "
- locator resolved to <li tabindex="0" role="status" data-index="
|
Run Playwright tests:
frontend/tests/account-settings.spec.ts#L37
2) [chromium] › account-settings.spec.ts:30:1 › Update account details fails with already taken username
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: getByRole('status')
Expected string: "Username is already taken"
Received: <element(s) not found>
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for getByRole('status')
- locator resolved to <li tabindex="0" role="status" data-index="0" data-front="true" data-type="error" aria-atomic="true" aria-live="polite" data-styled="true" data-mounted="true" data-visible="true" data-invert="false" data-sonner-toast="" data-promise="false" data-removed="false" data-swiping="false" data-expanded="false" data-swipe-out="false" data-x-position="right" data-y-position="bottom" class="group toast group-[.toaster]:bg-background group-[.toaster]:text-foreground group-[.toaster]:border-border group-[.toa…>…</li>
- unexpected value " Username is already in use "
- locator resolved to <li tabindex="0" role="status" data-index="0" data-front="true" data-type="error" aria-atomic="true" aria-live="polite" data-styled="true" data-mounted="true" data-visible="true" data-invert="false" data-sonner-toast="" data-promise="false" data-removed="false" data-swiping="false" data-expanded="false" data-swipe-out="false" data-x-position="right" data-y-position="bottom" class="group toast group-[.toaster]:bg-background group-[.toaster]:text-foreground group-[.toaster]:border-border group-[.toa…>…</li>
- unexpected value " Username is already in use "
- locator resolved to <li tabindex="0" role="status" data-index="0" data-front="true" data-type="error" aria-atomic="true" aria-live="polite" data-styled="true" data-mounted="true" data-visible="true" data-invert="false" data-sonner-toast="" data-promise="false" data-removed="false" data-swiping="false" data-expanded="false" data-swipe-out="false" data-x-position="right" data-y-position="bottom" class="group toast group-[.toaster]:bg-background group-[.toaster]:text-foreground group-[.toaster]:border-border group-[.toa…>…</li>
- unexpected value " Username is already in use "
- locator resolved to <li tabindex="0" role="status" data-index="0" data-front="true" data-type="error" aria-atomic="true" aria-live="polite" data-styled="true" data-mounted="true" data-visible="true" data-invert="false" data-sonner-toast="" data-promise="false" data-removed="false" data-swiping="false" data-expanded="false" data-swipe-out="false" data-x-position="right" data-y-position="bottom" class="group toast group-[.toaster]:bg-background group-[.toaster]:text-foreground group-[.toaster]:border-border group-[.toa…>…</li>
- unexpected value " Username is already in use "
- locator resolved to <li tabindex="0" role="status" data-index="0" data-front="true" data-type="error" aria-atomic="true" aria-live="polite" data-styled="true" data-mounted="true" data-visible="true" data-invert="false" data-sonner-toast="" data-promise="false" data-removed="false" data-swiping="false" data-expanded="false" data-swipe-out="false" data-x-position="right" data-y-position="bottom" class="group toast group-[.toaster]:bg-background group-[.toaster]:text-foreground group-[.toaster]:border-border group-[.toa…>…</li>
- unexpected value " Username is already in use "
- locator resolved to <li tabindex="0" role="status" data-index="0" data-front="true" data-type="error" aria-atomic="true" aria-live="polite" data-styled="true" data-mounted="true" data-visible="true" data-invert="false" data-sonner-toast="" data-promise="false" data-removed="false" data-swiping="false" data-expanded="false" data-swipe-out="false" data-x-position="right" data-y-position="bottom" class="group toast group-[.toaster]:bg-background group-[.toaster]:text-foreground group-[.toaster]:border-border group-[.toa…>…</li>
- unexpected value " Us
|
Run Playwright tests:
frontend/tests/user-settings.spec.ts#L35
3) [chromium] › user-settings.spec.ts:23:1 › Create user fails with already taken email ──────────
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: getByRole('status')
Expected string: "Email is already taken"
Received: <element(s) not found>
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for getByRole('status')
- locator resolved to <li tabindex="0" role="status" data-index="0" data-front="true" data-type="error" aria-atomic="true" aria-live="polite" data-styled="true" data-mounted="true" data-visible="true" data-invert="false" data-sonner-toast="" data-promise="false" data-removed="false" data-swiping="false" data-expanded="false" data-swipe-out="false" data-x-position="right" data-y-position="bottom" class="group toast group-[.toaster]:bg-background group-[.toaster]:text-foreground group-[.toaster]:border-border group-[.toa…>…</li>
- unexpected value " Email is already in use "
- locator resolved to <li tabindex="0" role="status" data-index="0" data-front="true" data-type="error" aria-atomic="true" aria-live="polite" data-styled="true" data-mounted="true" data-visible="true" data-invert="false" data-sonner-toast="" data-promise="false" data-removed="false" data-swiping="false" data-expanded="false" data-swipe-out="false" data-x-position="right" data-y-position="bottom" class="group toast group-[.toaster]:bg-background group-[.toaster]:text-foreground group-[.toaster]:border-border group-[.toa…>…</li>
- unexpected value " Email is already in use "
- locator resolved to <li tabindex="0" role="status" data-index="0" data-front="true" data-type="error" aria-atomic="true" aria-live="polite" data-styled="true" data-mounted="true" data-visible="true" data-invert="false" data-sonner-toast="" data-promise="false" data-removed="false" data-swiping="false" data-expanded="false" data-swipe-out="false" data-x-position="right" data-y-position="bottom" class="group toast group-[.toaster]:bg-background group-[.toaster]:text-foreground group-[.toaster]:border-border group-[.toa…>…</li>
- unexpected value " Email is already in use "
- locator resolved to <li tabindex="0" role="status" data-index="0" data-front="true" data-type="error" aria-atomic="true" aria-live="polite" data-styled="true" data-mounted="true" data-visible="true" data-invert="false" data-sonner-toast="" data-promise="false" data-removed="false" data-swiping="false" data-expanded="false" data-swipe-out="false" data-x-position="right" data-y-position="bottom" class="group toast group-[.toaster]:bg-background group-[.toaster]:text-foreground group-[.toaster]:border-border group-[.toa…>…</li>
- unexpected value " Email is already in use "
- locator resolved to <li tabindex="0" role="status" data-index="0" data-front="true" data-type="error" aria-atomic="true" aria-live="polite" data-styled="true" data-mounted="true" data-visible="true" data-invert="false" data-sonner-toast="" data-promise="false" data-removed="false" data-swiping="false" data-expanded="false" data-swipe-out="false" data-x-position="right" data-y-position="bottom" class="group toast group-[.toaster]:bg-background group-[.toaster]:text-foreground group-[.toaster]:border-border group-[.toa…>…</li>
- unexpected value " Email is already in use "
- locator resolved to <li tabindex="0" role="status" data-index="0" data-front="true" data-type="error" aria-atomic="true" aria-live="polite" data-styled="true" data-mounted="true" data-visible="true" data-invert="false" data-sonner-toast="" data-promise="false" data-removed="false" data-swiping="false" data-expanded="false" data-swipe-out="false" data-x-position="right" data-y-position="bottom" class="group toast group-[.toaster]:bg-background group-[.toaster]:text-foreground group-[.toaster]:border-border group-[.toa…>…</li>
- unexpected value " Email is already in use "
- locator resolved to <li tabindex="0" role="status" data-index="0" data-front="true" data-ty
|
Run Playwright tests:
frontend/tests/user-settings.spec.ts#L35
3) [chromium] › user-settings.spec.ts:23:1 › Create user fails with already taken email ──────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: getByRole('status')
Expected string: "Email is already taken"
Received: <element(s) not found>
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for getByRole('status')
- locator resolved to <li tabindex="0" role="status" data-index="0" data-front="true" data-type="error" aria-atomic="true" aria-live="polite" data-styled="true" data-mounted="true" data-visible="true" data-invert="false" data-sonner-toast="" data-promise="false" data-removed="false" data-swiping="false" data-expanded="false" data-swipe-out="false" data-x-position="right" data-y-position="bottom" class="group toast group-[.toaster]:bg-background group-[.toaster]:text-foreground group-[.toaster]:border-border group-[.toa…>…</li>
- unexpected value " Email is already in use "
- locator resolved to <li tabindex="0" role="status" data-index="0" data-front="true" data-type="error" aria-atomic="true" aria-live="polite" data-styled="true" data-mounted="true" data-visible="true" data-invert="false" data-sonner-toast="" data-promise="false" data-removed="false" data-swiping="false" data-expanded="false" data-swipe-out="false" data-x-position="right" data-y-position="bottom" class="group toast group-[.toaster]:bg-background group-[.toaster]:text-foreground group-[.toaster]:border-border group-[.toa…>…</li>
- unexpected value " Email is already in use "
- locator resolved to <li tabindex="0" role="status" data-index="0" data-front="true" data-type="error" aria-atomic="true" aria-live="polite" data-styled="true" data-mounted="true" data-visible="true" data-invert="false" data-sonner-toast="" data-promise="false" data-removed="false" data-swiping="false" data-expanded="false" data-swipe-out="false" data-x-position="right" data-y-position="bottom" class="group toast group-[.toaster]:bg-background group-[.toaster]:text-foreground group-[.toaster]:border-border group-[.toa…>…</li>
- unexpected value " Email is already in use "
- locator resolved to <li tabindex="0" role="status" data-index="0" data-front="true" data-type="error" aria-atomic="true" aria-live="polite" data-styled="true" data-mounted="true" data-visible="true" data-invert="false" data-sonner-toast="" data-promise="false" data-removed="false" data-swiping="false" data-expanded="false" data-swipe-out="false" data-x-position="right" data-y-position="bottom" class="group toast group-[.toaster]:bg-background group-[.toaster]:text-foreground group-[.toaster]:border-border group-[.toa…>…</li>
- unexpected value " Email is already in use "
- locator resolved to <li tabindex="0" role="status" data-index="0" data-front="true" data-type="error" aria-atomic="true" aria-live="polite" data-styled="true" data-mounted="true" data-visible="true" data-invert="false" data-sonner-toast="" data-promise="false" data-removed="false" data-swiping="false" data-expanded="false" data-swipe-out="false" data-x-position="right" data-y-position="bottom" class="group toast group-[.toaster]:bg-background group-[.toaster]:text-foreground group-[.toaster]:border-border group-[.toa…>…</li>
- unexpected value " Email is already in use "
- locator resolved to <li tabindex="0" role="status" data-index="0" data-front="true" data-type="error" aria-atomic="true" aria-live="polite" data-styled="true" data-mounted="true" data-visible="true" data-invert="false" data-sonner-toast="" data-promise="false" data-removed="false" data-swiping="false" data-expanded="false" data-swipe-out="false" data-x-position="right" data-y-position="bottom" class="group toast group-[.toaster]:bg-background group-[.toaster]:text-foreground group-[.toaster]:border-border group-[.toa…>…</li>
- unexpected value " Email is already in use "
|
Run Playwright tests:
frontend/tests/user-settings.spec.ts#L50
4) [chromium] › user-settings.spec.ts:38:1 › Create user fails with already taken username ───────
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: getByRole('status')
Expected string: "Username is already taken"
Received: <element(s) not found>
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for getByRole('status')
- locator resolved to <li tabindex="0" role="status" data-index="0" data-front="true" data-type="error" aria-atomic="true" aria-live="polite" data-styled="true" data-mounted="true" data-visible="true" data-invert="false" data-sonner-toast="" data-promise="false" data-removed="false" data-swiping="false" data-expanded="false" data-swipe-out="false" data-x-position="right" data-y-position="bottom" class="group toast group-[.toaster]:bg-background group-[.toaster]:text-foreground group-[.toaster]:border-border group-[.toa…>…</li>
- unexpected value " Username is already in use "
- locator resolved to <li tabindex="0" role="status" data-index="0" data-front="true" data-type="error" aria-atomic="true" aria-live="polite" data-styled="true" data-mounted="true" data-visible="true" data-invert="false" data-sonner-toast="" data-promise="false" data-removed="false" data-swiping="false" data-expanded="false" data-swipe-out="false" data-x-position="right" data-y-position="bottom" class="group toast group-[.toaster]:bg-background group-[.toaster]:text-foreground group-[.toaster]:border-border group-[.toa…>…</li>
- unexpected value " Username is already in use "
- locator resolved to <li tabindex="0" role="status" data-index="0" data-front="true" data-type="error" aria-atomic="true" aria-live="polite" data-styled="true" data-mounted="true" data-visible="true" data-invert="false" data-sonner-toast="" data-promise="false" data-removed="false" data-swiping="false" data-expanded="false" data-swipe-out="false" data-x-position="right" data-y-position="bottom" class="group toast group-[.toaster]:bg-background group-[.toaster]:text-foreground group-[.toaster]:border-border group-[.toa…>…</li>
- unexpected value " Username is already in use "
- locator resolved to <li tabindex="0" role="status" data-index="0" data-front="true" data-type="error" aria-atomic="true" aria-live="polite" data-styled="true" data-mounted="true" data-visible="true" data-invert="false" data-sonner-toast="" data-promise="false" data-removed="false" data-swiping="false" data-expanded="false" data-swipe-out="false" data-x-position="right" data-y-position="bottom" class="group toast group-[.toaster]:bg-background group-[.toaster]:text-foreground group-[.toaster]:border-border group-[.toa…>…</li>
- unexpected value " Username is already in use "
- locator resolved to <li tabindex="0" role="status" data-index="0" data-front="true" data-type="error" aria-atomic="true" aria-live="polite" data-styled="true" data-mounted="true" data-visible="true" data-invert="false" data-sonner-toast="" data-promise="false" data-removed="false" data-swiping="false" data-expanded="false" data-swipe-out="false" data-x-position="right" data-y-position="bottom" class="group toast group-[.toaster]:bg-background group-[.toaster]:text-foreground group-[.toaster]:border-border group-[.toa…>…</li>
- unexpected value " Username is already in use "
- locator resolved to <li tabindex="0" role="status" data-index="0" data-front="true" data-type="error" aria-atomic="true" aria-live="polite" data-styled="true" data-mounted="true" data-visible="true" data-invert="false" data-sonner-toast="" data-promise="false" data-removed="false" data-swiping="false" data-expanded="false" data-swipe-out="false" data-x-position="right" data-y-position="bottom" class="group toast group-[.toaster]:bg-background group-[.toaster]:text-foreground group-[.toaster]:border-border group-[.toa…>…</li>
- unexpected value " Username is already in use "
- locator resolved to <li tabindex="0" role="status" data-index="0" data
|
Run Playwright tests:
frontend/tests/user-settings.spec.ts#L50
4) [chromium] › user-settings.spec.ts:38:1 › Create user fails with already taken username ───────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: getByRole('status')
Expected string: "Username is already taken"
Received: <element(s) not found>
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for getByRole('status')
- locator resolved to <li tabindex="0" role="status" data-index="0" data-front="true" data-type="error" aria-atomic="true" aria-live="polite" data-styled="true" data-mounted="true" data-visible="true" data-invert="false" data-sonner-toast="" data-promise="false" data-removed="false" data-swiping="false" data-expanded="false" data-swipe-out="false" data-x-position="right" data-y-position="bottom" class="group toast group-[.toaster]:bg-background group-[.toaster]:text-foreground group-[.toaster]:border-border group-[.toa…>…</li>
- unexpected value " Username is already in use "
- locator resolved to <li tabindex="0" role="status" data-index="0" data-front="true" data-type="error" aria-atomic="true" aria-live="polite" data-styled="true" data-mounted="true" data-visible="true" data-invert="false" data-sonner-toast="" data-promise="false" data-removed="false" data-swiping="false" data-expanded="false" data-swipe-out="false" data-x-position="right" data-y-position="bottom" class="group toast group-[.toaster]:bg-background group-[.toaster]:text-foreground group-[.toaster]:border-border group-[.toa…>…</li>
- unexpected value " Username is already in use "
- locator resolved to <li tabindex="0" role="status" data-index="0" data-front="true" data-type="error" aria-atomic="true" aria-live="polite" data-styled="true" data-mounted="true" data-visible="true" data-invert="false" data-sonner-toast="" data-promise="false" data-removed="false" data-swiping="false" data-expanded="false" data-swipe-out="false" data-x-position="right" data-y-position="bottom" class="group toast group-[.toaster]:bg-background group-[.toaster]:text-foreground group-[.toaster]:border-border group-[.toa…>…</li>
- unexpected value " Username is already in use "
- locator resolved to <li tabindex="0" role="status" data-index="0" data-front="true" data-type="error" aria-atomic="true" aria-live="polite" data-styled="true" data-mounted="true" data-visible="true" data-invert="false" data-sonner-toast="" data-promise="false" data-removed="false" data-swiping="false" data-expanded="false" data-swipe-out="false" data-x-position="right" data-y-position="bottom" class="group toast group-[.toaster]:bg-background group-[.toaster]:text-foreground group-[.toaster]:border-border group-[.toa…>…</li>
- unexpected value " Username is already in use "
- locator resolved to <li tabindex="0" role="status" data-index="0" data-front="true" data-type="error" aria-atomic="true" aria-live="polite" data-styled="true" data-mounted="true" data-visible="true" data-invert="false" data-sonner-toast="" data-promise="false" data-removed="false" data-swiping="false" data-expanded="false" data-swipe-out="false" data-x-position="right" data-y-position="bottom" class="group toast group-[.toaster]:bg-background group-[.toaster]:text-foreground group-[.toaster]:border-border group-[.toa…>…</li>
- unexpected value " Username is already in use "
- locator resolved to <li tabindex="0" role="status" data-index="0" data-front="true" data-type="error" aria-atomic="true" aria-live="polite" data-styled="true" data-mounted="true" data-visible="true" data-invert="false" data-sonner-toast="" data-promise="false" data-removed="false" data-swiping="false" data-expanded="false" data-swipe-out="false" data-x-position="right" data-y-position="bottom" class="group toast group-[.toaster]:bg-background group-[.toaster]:text-foreground group-[.toaster]:border-border group-[.toa…>…</li>
- unexpected value " Username
|
Run Playwright tests:
frontend/tests/user-settings.spec.ts#L98
5) [chromium] › user-settings.spec.ts:83:1 › Update user ─────────────────────────────────────────
Error: locator.click: Error: strict mode violation: getByRole('button', { name: 'Save' }) resolved to 2 elements:
1) <button tabindex="0" type="submit" data-button-root="" class="inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 bg-primary text-primary-foreground hover:bg-primary/90 h-10 px-4 py-2">…</button> aka locator('form').getByRole('button', { name: 'Save' })
2) <button tabindex="0" type="submit" data-button-root="" class="inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 bg-primary text-primary-foreground hover:bg-primary/90 h-10 px-4 py-2">…</button> aka getByRole('button', { name: 'Save' }).nth(1)
Call log:
- waiting for getByRole('button', { name: 'Save' })
96 | await page.getByLabel('Email').fill('[email protected]');
97 | await page.getByLabel('Username').fill('crack');
> 98 | await page.getByRole('button', { name: 'Save' }).click();
| ^
99 |
100 | await expect(page.getByRole('status')).toHaveText('User updated successfully');
101 | });
at /home/runner/work/pocket-id/pocket-id/frontend/tests/user-settings.spec.ts:98:51
|
Run Playwright tests:
frontend/tests/user-settings.spec.ts#L98
5) [chromium] › user-settings.spec.ts:83:1 › Update user ─────────────────────────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: locator.click: Error: strict mode violation: getByRole('button', { name: 'Save' }) resolved to 2 elements:
1) <button tabindex="0" type="submit" data-button-root="" class="inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 bg-primary text-primary-foreground hover:bg-primary/90 h-10 px-4 py-2">…</button> aka locator('form').getByRole('button', { name: 'Save' })
2) <button tabindex="0" type="submit" data-button-root="" class="inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 bg-primary text-primary-foreground hover:bg-primary/90 h-10 px-4 py-2">…</button> aka getByRole('button', { name: 'Save' }).nth(1)
Call log:
- waiting for getByRole('button', { name: 'Save' })
96 | await page.getByLabel('Email').fill('[email protected]');
97 | await page.getByLabel('Username').fill('crack');
> 98 | await page.getByRole('button', { name: 'Save' }).click();
| ^
99 |
100 | await expect(page.getByRole('status')).toHaveText('User updated successfully');
101 | });
at /home/runner/work/pocket-id/pocket-id/frontend/tests/user-settings.spec.ts:98:51
|
Run Playwright tests
7 failed
[chromium] › account-settings.spec.ts:20:1 › Update account details fails with already taken email
[chromium] › account-settings.spec.ts:30:1 › Update account details fails with already taken username
[chromium] › user-settings.spec.ts:23:1 › Create user fails with already taken email ───────────
[chromium] › user-settings.spec.ts:38:1 › Create user fails with already taken username ────────
[chromium] › user-settings.spec.ts:83:1 › Update user ──────────────────────────────────────────
[chromium] › user-settings.spec.ts:103:1 › Update user fails with already taken email ──────────
[chromium] › user-settings.spec.ts:120:1 › Update user fails with already taken username ───────
22 passed (1.4m)
|
Loading