browser suite: inbox.spec.ts fails on dev #458

Open
opened 2026-11-09 09:44:24 +00:00 by kayg · 0 comments
Owner

Nightly browser suite on dev (D373, #443).

Spec: inbox.spec.ts
Source: c751e99309764e30958eb665708e2553c31043c4
Evidence: /home/claude/j406-ev/runs/20261109T061806Z-c751e99/evidence on infraternal-dev-02-std (the newest seven nights are kept)
Full log: /home/claude/j406-ev/runs/20261109T061806Z-c751e99/suite.log

the toast's own action unlocks and leaves nothing behind

Error: expect(locator).toContainText(expected) failed

Locator: locator('.ui-toast:not([hidden])')
Expected substring: "Host connections unlocked"
Error: strict mode violation: locator('.ui-toast:not([hidden])') resolved to 2 elements:
    1) <aside role="group" data-tone="ok" data-icon="true" data-open="false" data-front="true" data-stacked="true" data-hidden="false" data-choices="false" aria-label="Notification" class="ui-toast ui-overlay-surface">…</aside> aka getByText('The server restarted. Confirm your passkey once to reconnect your hosts.Unlock')
    2) <aside role="group" data-tone="ok" data-icon="false" data-open="false" data-front="true" data-hidden="false" data-choices="false" data-stacked="false" aria-label="Notification" class="ui-toast ui-overlay-surface">…</aside> aka locator('aside').filter({ hasText: 'Host connections unlocked' })

Call log:
  - Expect "toContainText" locator('.ui-toast:not([hidden])') with timeout 5000ms
  - waiting for locator('.ui-toast:not([hidden])')
    - locator resolved to <aside role="group" data-tone="ok" data-icon="true" data-open="false" data-front="true" data-stacked="true" data-hidden="false" data-choices="false" aria-label="Notification" class="ui-toast ui-overlay-surface">…</aside>
    - unexpected value "The server restarted. Confirm your passkey once to reconnect your hosts.Unlock"


  108 |   await signIn(page, "ca=locked");
  109 |   await toast(page).getByRole("button", { name: "Unlock" }).click({ timeout: 8000 });
> 110 |   await expect(toast(page)).toContainText("Host connections unlocked");
      |                             ^
  111 |   await expect(card(page)).toHaveCount(0);
  112 |   await expect(toggle(page)).not.toHaveAttribute("data-pending", "");
  113 | });
    at /home/claude/worktrees/j406/apps/tracer/test/inbox.spec.ts:110:29

Log tail for this spec:

  ✓   615 test/inbox.spec.ts:35:3 › locked: toast, then inbox card and dot, then unlocked (desktop) (18.6s)
  ✓   616 test/inbox.spec.ts:35:3 › locked: toast, then inbox card and dot, then unlocked (phone) (19.1s)
  ✓   617 test/inbox.spec.ts:35:3 › locked: toast, then inbox card and dot, then unlocked (small) (18.5s)
  ✘   618 test/inbox.spec.ts:106:1 › the toast's own action unlocks and leaves nothing behind (7.4s)
  ✓   619 test/inbox.spec.ts:115:1 › an unlock in another tab clears the item here when the page returns (12.6s)
  ✓   620 test/inbox.spec.ts:128:1 › already unlocked: no toast, no card, no dot (7.9s)
  ✓   621 test/inbox.spec.ts:137:1 › a viewer who is not an administrator sees nothing (7.9s)
  ✓   622 test/inbox.spec.ts:146:1 › paper theme: the card reads on light glass (8.6s)
  30) test/inbox.spec.ts:106:1 › the toast's own action unlocks and leaves nothing behind ──────────
        at /home/claude/worktrees/j406/apps/tracer/test/inbox.spec.ts:110:29
    test/inbox.spec.ts:106:1 › the toast's own action unlocks and leaves nothing behind ────────────

Rerun with cd apps/tracer && bun x playwright test test/inbox.spec.ts.

Nightly browser suite on dev (D373, #443). Spec: `inbox.spec.ts` Source: `c751e99309764e30958eb665708e2553c31043c4` Evidence: `/home/claude/j406-ev/runs/20261109T061806Z-c751e99/evidence` on infraternal-dev-02-std (the newest seven nights are kept) Full log: `/home/claude/j406-ev/runs/20261109T061806Z-c751e99/suite.log` ### the toast's own action unlocks and leaves nothing behind ``` Error: expect(locator).toContainText(expected) failed Locator: locator('.ui-toast:not([hidden])') Expected substring: "Host connections unlocked" Error: strict mode violation: locator('.ui-toast:not([hidden])') resolved to 2 elements: 1) <aside role="group" data-tone="ok" data-icon="true" data-open="false" data-front="true" data-stacked="true" data-hidden="false" data-choices="false" aria-label="Notification" class="ui-toast ui-overlay-surface">…</aside> aka getByText('The server restarted. Confirm your passkey once to reconnect your hosts.Unlock') 2) <aside role="group" data-tone="ok" data-icon="false" data-open="false" data-front="true" data-hidden="false" data-choices="false" data-stacked="false" aria-label="Notification" class="ui-toast ui-overlay-surface">…</aside> aka locator('aside').filter({ hasText: 'Host connections unlocked' }) Call log: - Expect "toContainText" locator('.ui-toast:not([hidden])') with timeout 5000ms - waiting for locator('.ui-toast:not([hidden])') - locator resolved to <aside role="group" data-tone="ok" data-icon="true" data-open="false" data-front="true" data-stacked="true" data-hidden="false" data-choices="false" aria-label="Notification" class="ui-toast ui-overlay-surface">…</aside> - unexpected value "The server restarted. Confirm your passkey once to reconnect your hosts.Unlock" 108 | await signIn(page, "ca=locked"); 109 | await toast(page).getByRole("button", { name: "Unlock" }).click({ timeout: 8000 }); > 110 | await expect(toast(page)).toContainText("Host connections unlocked"); | ^ 111 | await expect(card(page)).toHaveCount(0); 112 | await expect(toggle(page)).not.toHaveAttribute("data-pending", ""); 113 | }); at /home/claude/worktrees/j406/apps/tracer/test/inbox.spec.ts:110:29 ``` Log tail for this spec: ``` ✓ 615 test/inbox.spec.ts:35:3 › locked: toast, then inbox card and dot, then unlocked (desktop) (18.6s) ✓ 616 test/inbox.spec.ts:35:3 › locked: toast, then inbox card and dot, then unlocked (phone) (19.1s) ✓ 617 test/inbox.spec.ts:35:3 › locked: toast, then inbox card and dot, then unlocked (small) (18.5s) ✘ 618 test/inbox.spec.ts:106:1 › the toast's own action unlocks and leaves nothing behind (7.4s) ✓ 619 test/inbox.spec.ts:115:1 › an unlock in another tab clears the item here when the page returns (12.6s) ✓ 620 test/inbox.spec.ts:128:1 › already unlocked: no toast, no card, no dot (7.9s) ✓ 621 test/inbox.spec.ts:137:1 › a viewer who is not an administrator sees nothing (7.9s) ✓ 622 test/inbox.spec.ts:146:1 › paper theme: the card reads on light glass (8.6s) 30) test/inbox.spec.ts:106:1 › the toast's own action unlocks and leaves nothing behind ────────── at /home/claude/worktrees/j406/apps/tracer/test/inbox.spec.ts:110:29 test/inbox.spec.ts:106:1 › the toast's own action unlocks and leaves nothing behind ──────────── ``` Rerun with `cd apps/tracer && bun x playwright test test/inbox.spec.ts`. <!-- infraternal-browser-spec: inbox.spec.ts --> <!-- infraternal-browser-state: failing -->
Sign in to join this conversation.
No labels
launch-qa
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
kayg/infraternal#458
No description provided.