browser suite: machine-pill-flicker.spec.ts fails on dev #459

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

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

Spec: machine-pill-flicker.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

machine pill stays steady through repeated immediate server closes

Error: locator.isVisible: Error: strict mode violation: locator('.ui-toast') resolved to 2 elements:
    1) <aside role="group" data-icon="true" data-open="true" data-tone="error" data-front="false" data-hidden="false" data-choices="false" data-stacked="false" aria-label="Notification" class="ui-toast ui-overlay-surface">…</aside> aka locator('aside').filter({ hasText: 'The terminal session ended.' })
    2) <aside role="group" data-icon="true" data-open="true" data-tone="error" 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: 'The connection to the server' })

Call log:
    - checking visibility of locator('.ui-toast')


  136 |     const toast = page.locator(".ui-toast");
  137 |     await expect.poll(async () => {
> 138 |       const visible = await toast.isVisible();
      |                                   ^
  139 |       const message = await toast.locator(".ui-toast-message").textContent();
  140 |       return visible && message?.includes("connection to the server ended") === true;
  141 |     }).toBe(true);
    at /home/claude/worktrees/j406/apps/tracer/test/machine-pill-flicker.spec.ts:138:35
    at /home/claude/worktrees/j406/apps/tracer/test/machine-pill-flicker.spec.ts:137:5

Log tail for this spec:

  ✓   647 test/machine-pill-flicker.spec.ts:6:1 › machine pill state stays tied to the session connection during terminal redraws (11.5s)
  ✘   648 test/machine-pill-flicker.spec.ts:68:1 › machine pill stays steady through repeated immediate server closes (12.0s)
  31) test/machine-pill-flicker.spec.ts:68:1 › machine pill stays steady through repeated immediate server closes 
        at /home/claude/worktrees/j406/apps/tracer/test/machine-pill-flicker.spec.ts:138:35
        at /home/claude/worktrees/j406/apps/tracer/test/machine-pill-flicker.spec.ts:137:5
    test/machine-pill-flicker.spec.ts:68:1 › machine pill stays steady through repeated immediate server closes 

Rerun with cd apps/tracer && bun x playwright test test/machine-pill-flicker.spec.ts.

Nightly browser suite on dev (D373, #443). Spec: `machine-pill-flicker.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` ### machine pill stays steady through repeated immediate server closes ``` Error: locator.isVisible: Error: strict mode violation: locator('.ui-toast') resolved to 2 elements: 1) <aside role="group" data-icon="true" data-open="true" data-tone="error" data-front="false" data-hidden="false" data-choices="false" data-stacked="false" aria-label="Notification" class="ui-toast ui-overlay-surface">…</aside> aka locator('aside').filter({ hasText: 'The terminal session ended.' }) 2) <aside role="group" data-icon="true" data-open="true" data-tone="error" 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: 'The connection to the server' }) Call log: - checking visibility of locator('.ui-toast') 136 | const toast = page.locator(".ui-toast"); 137 | await expect.poll(async () => { > 138 | const visible = await toast.isVisible(); | ^ 139 | const message = await toast.locator(".ui-toast-message").textContent(); 140 | return visible && message?.includes("connection to the server ended") === true; 141 | }).toBe(true); at /home/claude/worktrees/j406/apps/tracer/test/machine-pill-flicker.spec.ts:138:35 at /home/claude/worktrees/j406/apps/tracer/test/machine-pill-flicker.spec.ts:137:5 ``` Log tail for this spec: ``` ✓ 647 test/machine-pill-flicker.spec.ts:6:1 › machine pill state stays tied to the session connection during terminal redraws (11.5s) ✘ 648 test/machine-pill-flicker.spec.ts:68:1 › machine pill stays steady through repeated immediate server closes (12.0s) 31) test/machine-pill-flicker.spec.ts:68:1 › machine pill stays steady through repeated immediate server closes at /home/claude/worktrees/j406/apps/tracer/test/machine-pill-flicker.spec.ts:138:35 at /home/claude/worktrees/j406/apps/tracer/test/machine-pill-flicker.spec.ts:137:5 test/machine-pill-flicker.spec.ts:68:1 › machine pill stays steady through repeated immediate server closes ``` Rerun with `cd apps/tracer && bun x playwright test test/machine-pill-flicker.spec.ts`. <!-- infraternal-browser-spec: machine-pill-flicker.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#459
No description provided.