browser suite: ca-unlock.spec.ts fails on dev #452

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

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

Spec: ca-unlock.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 palette row runs the ceremony and the lock clears

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

Locator: locator('.ui-toast')
Expected substring: "Host connections unlocked"
Error: strict mode violation: locator('.ui-toast') resolved to 2 elements:
    1) <aside role="group" data-tone="ok" data-icon="true" data-open="false" data-front="false" 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-open="true" data-icon="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') with timeout 5000ms
  - waiting for locator('.ui-toast')


  75 |   await page.keyboard.press("Enter");
  76 |   await expect(page.locator("#palette")).toBeHidden();
> 77 |   await expect(page.locator(".ui-toast")).toContainText("Host connections unlocked");
     |                                           ^
  78 |   expect(await paletteLabels(page, "unlock host")).not.toContain(LABEL);
  79 |   await page.keyboard.press("Escape");
  80 |   await openSettingsHosts(page);
    at /home/claude/worktrees/j406/apps/tracer/test/ca-unlock.spec.ts:77:43

CA expiry warning 365d appears in Settings and the administrator Inbox

Error: expect(received).toBe(expected) // Object.is equality

Expected: "s-hosts"
Received: "s-terminal-hosts"

Call Log:
- Timeout 5000ms exceeded while waiting on the predicate

  148 |     await expect.poll(() => page.evaluate(() => (window as unknown as {
  149 |       __tracerClusters?: { activeWindow(): string | undefined };
> 150 |     }).__tracerClusters?.activeWindow())).toBe("s-hosts");
      |                                           ^
  151 |     await expect(row).toBeInViewport({ ratio: 0.5 });
  152 |     await expect(row).toContainText(expected);
  153 |     const settingsAlignment = await page.evaluate(() => {
    at /home/claude/worktrees/j406/apps/tracer/test/ca-unlock.spec.ts:150:43

CA expiry warning 90d appears in Settings and the administrator Inbox

Error: expect(received).toBe(expected) // Object.is equality

Expected: "s-hosts"
Received: "s-terminal-hosts"

Call Log:
- Timeout 5000ms exceeded while waiting on the predicate

  148 |     await expect.poll(() => page.evaluate(() => (window as unknown as {
  149 |       __tracerClusters?: { activeWindow(): string | undefined };
> 150 |     }).__tracerClusters?.activeWindow())).toBe("s-hosts");
      |                                           ^
  151 |     await expect(row).toBeInViewport({ ratio: 0.5 });
  152 |     await expect(row).toContainText(expected);
  153 |     const settingsAlignment = await page.evaluate(() => {
    at /home/claude/worktrees/j406/apps/tracer/test/ca-unlock.spec.ts:150:43

CA expiry warning 30d appears in Settings and the administrator Inbox

Error: expect(received).toBe(expected) // Object.is equality

Expected: "s-hosts"
Received: "s-terminal-hosts"

Call Log:
- Timeout 5000ms exceeded while waiting on the predicate

  148 |     await expect.poll(() => page.evaluate(() => (window as unknown as {
  149 |       __tracerClusters?: { activeWindow(): string | undefined };
> 150 |     }).__tracerClusters?.activeWindow())).toBe("s-hosts");
      |                                           ^
  151 |     await expect(row).toBeInViewport({ ratio: 0.5 });
  152 |     await expect(row).toContainText(expected);
  153 |     const settingsAlignment = await page.evaluate(() => {
    at /home/claude/worktrees/j406/apps/tracer/test/ca-unlock.spec.ts:150:43

CA expiry warning 7d appears in Settings and the administrator Inbox

Error: expect(received).toBe(expected) // Object.is equality

Expected: "s-hosts"
Received: "s-terminal-hosts"

Call Log:
- Timeout 5000ms exceeded while waiting on the predicate

  148 |     await expect.poll(() => page.evaluate(() => (window as unknown as {
  149 |       __tracerClusters?: { activeWindow(): string | undefined };
> 150 |     }).__tracerClusters?.activeWindow())).toBe("s-hosts");
      |                                           ^
  151 |     await expect(row).toBeInViewport({ ratio: 0.5 });
  152 |     await expect(row).toContainText(expected);
  153 |     const settingsAlignment = await page.evaluate(() => {
    at /home/claude/worktrees/j406/apps/tracer/test/ca-unlock.spec.ts:150:43

(and 2 more failing tests)

Log tail for this spec:

  ✘   234 test/ca-unlock.spec.ts:114:3 › CA expiry warning 90d appears in Settings and the administrator Inbox (12.8s)
  ✘   235 test/ca-unlock.spec.ts:114:3 › CA expiry warning 30d appears in Settings and the administrator Inbox (12.9s)
  ✘   236 test/ca-unlock.spec.ts:114:3 › CA expiry warning 7d appears in Settings and the administrator Inbox (12.8s)
  ✘   237 test/ca-unlock.spec.ts:114:3 › CA expiry warning expired appears in Settings and the administrator Inbox (12.8s)
  ✘   238 test/ca-unlock.spec.ts:114:3 › CA expiry warning unknown appears in Settings and the administrator Inbox (12.8s)
  ✓   239 test/ca-unlock.spec.ts:166:1 › CA root expiry warning stays readable in the phone Inbox (8.0s)
  ✓   240 test/ca-unlock.spec.ts:187:1 › CA expiry Inbox actions stay visible on a short phone screen (7.8s)
  ✓   241 test/ca-unlock.spec.ts:201:1 › CA expiry warnings are hidden from viewers (9.0s)
  ✓   242 test/ca-unlock.spec.ts:210:1 › the inbox line is collapsed, expands to Unlock, and unlocking clears the card (8.4s)
  10) test/ca-unlock.spec.ts:71:1 › the palette row runs the ceremony and the lock clears ──────────
        at /home/claude/worktrees/j406/apps/tracer/test/ca-unlock.spec.ts:77:43
  11) test/ca-unlock.spec.ts:114:3 › CA expiry warning 365d appears in Settings and the administrator Inbox 
        at /home/claude/worktrees/j406/apps/tracer/test/ca-unlock.spec.ts:150:43
  12) test/ca-unlock.spec.ts:114:3 › CA expiry warning 90d appears in Settings and the administrator Inbox 
        at /home/claude/worktrees/j406/apps/tracer/test/ca-unlock.spec.ts:150:43
  13) test/ca-unlock.spec.ts:114:3 › CA expiry warning 30d appears in Settings and the administrator Inbox 
        at /home/claude/worktrees/j406/apps/tracer/test/ca-unlock.spec.ts:150:43
  14) test/ca-unlock.spec.ts:114:3 › CA expiry warning 7d appears in Settings and the administrator Inbox 
        at /home/claude/worktrees/j406/apps/tracer/test/ca-unlock.spec.ts:150:43
  15) test/ca-unlock.spec.ts:114:3 › CA expiry warning expired appears in Settings and the administrator Inbox 
        at /home/claude/worktrees/j406/apps/tracer/test/ca-unlock.spec.ts:150:43
  16) test/ca-unlock.spec.ts:114:3 › CA expiry warning unknown appears in Settings and the administrator Inbox 
        at /home/claude/worktrees/j406/apps/tracer/test/ca-unlock.spec.ts:150:43
    test/ca-unlock.spec.ts:71:1 › the palette row runs the ceremony and the lock clears ────────────
    test/ca-unlock.spec.ts:114:3 › CA expiry warning 365d appears in Settings and the administrator Inbox 
    test/ca-unlock.spec.ts:114:3 › CA expiry warning 90d appears in Settings and the administrator Inbox 
    test/ca-unlock.spec.ts:114:3 › CA expiry warning 30d appears in Settings and the administrator Inbox 
    test/ca-unlock.spec.ts:114:3 › CA expiry warning 7d appears in Settings and the administrator Inbox 
    test/ca-unlock.spec.ts:114:3 › CA expiry warning expired appears in Settings and the administrator Inbox 
    test/ca-unlock.spec.ts:114:3 › CA expiry warning unknown appears in Settings and the administrator Inbox 

Rerun with cd apps/tracer && bun x playwright test test/ca-unlock.spec.ts.

Nightly browser suite on dev (D373, #443). Spec: `ca-unlock.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 palette row runs the ceremony and the lock clears ``` Error: expect(locator).toContainText(expected) failed Locator: locator('.ui-toast') Expected substring: "Host connections unlocked" Error: strict mode violation: locator('.ui-toast') resolved to 2 elements: 1) <aside role="group" data-tone="ok" data-icon="true" data-open="false" data-front="false" 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-open="true" data-icon="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') with timeout 5000ms - waiting for locator('.ui-toast') 75 | await page.keyboard.press("Enter"); 76 | await expect(page.locator("#palette")).toBeHidden(); > 77 | await expect(page.locator(".ui-toast")).toContainText("Host connections unlocked"); | ^ 78 | expect(await paletteLabels(page, "unlock host")).not.toContain(LABEL); 79 | await page.keyboard.press("Escape"); 80 | await openSettingsHosts(page); at /home/claude/worktrees/j406/apps/tracer/test/ca-unlock.spec.ts:77:43 ``` ### CA expiry warning 365d appears in Settings and the administrator Inbox ``` Error: expect(received).toBe(expected) // Object.is equality Expected: "s-hosts" Received: "s-terminal-hosts" Call Log: - Timeout 5000ms exceeded while waiting on the predicate 148 | await expect.poll(() => page.evaluate(() => (window as unknown as { 149 | __tracerClusters?: { activeWindow(): string | undefined }; > 150 | }).__tracerClusters?.activeWindow())).toBe("s-hosts"); | ^ 151 | await expect(row).toBeInViewport({ ratio: 0.5 }); 152 | await expect(row).toContainText(expected); 153 | const settingsAlignment = await page.evaluate(() => { at /home/claude/worktrees/j406/apps/tracer/test/ca-unlock.spec.ts:150:43 ``` ### CA expiry warning 90d appears in Settings and the administrator Inbox ``` Error: expect(received).toBe(expected) // Object.is equality Expected: "s-hosts" Received: "s-terminal-hosts" Call Log: - Timeout 5000ms exceeded while waiting on the predicate 148 | await expect.poll(() => page.evaluate(() => (window as unknown as { 149 | __tracerClusters?: { activeWindow(): string | undefined }; > 150 | }).__tracerClusters?.activeWindow())).toBe("s-hosts"); | ^ 151 | await expect(row).toBeInViewport({ ratio: 0.5 }); 152 | await expect(row).toContainText(expected); 153 | const settingsAlignment = await page.evaluate(() => { at /home/claude/worktrees/j406/apps/tracer/test/ca-unlock.spec.ts:150:43 ``` ### CA expiry warning 30d appears in Settings and the administrator Inbox ``` Error: expect(received).toBe(expected) // Object.is equality Expected: "s-hosts" Received: "s-terminal-hosts" Call Log: - Timeout 5000ms exceeded while waiting on the predicate 148 | await expect.poll(() => page.evaluate(() => (window as unknown as { 149 | __tracerClusters?: { activeWindow(): string | undefined }; > 150 | }).__tracerClusters?.activeWindow())).toBe("s-hosts"); | ^ 151 | await expect(row).toBeInViewport({ ratio: 0.5 }); 152 | await expect(row).toContainText(expected); 153 | const settingsAlignment = await page.evaluate(() => { at /home/claude/worktrees/j406/apps/tracer/test/ca-unlock.spec.ts:150:43 ``` ### CA expiry warning 7d appears in Settings and the administrator Inbox ``` Error: expect(received).toBe(expected) // Object.is equality Expected: "s-hosts" Received: "s-terminal-hosts" Call Log: - Timeout 5000ms exceeded while waiting on the predicate 148 | await expect.poll(() => page.evaluate(() => (window as unknown as { 149 | __tracerClusters?: { activeWindow(): string | undefined }; > 150 | }).__tracerClusters?.activeWindow())).toBe("s-hosts"); | ^ 151 | await expect(row).toBeInViewport({ ratio: 0.5 }); 152 | await expect(row).toContainText(expected); 153 | const settingsAlignment = await page.evaluate(() => { at /home/claude/worktrees/j406/apps/tracer/test/ca-unlock.spec.ts:150:43 ``` (and 2 more failing tests) Log tail for this spec: ``` ✘ 234 test/ca-unlock.spec.ts:114:3 › CA expiry warning 90d appears in Settings and the administrator Inbox (12.8s) ✘ 235 test/ca-unlock.spec.ts:114:3 › CA expiry warning 30d appears in Settings and the administrator Inbox (12.9s) ✘ 236 test/ca-unlock.spec.ts:114:3 › CA expiry warning 7d appears in Settings and the administrator Inbox (12.8s) ✘ 237 test/ca-unlock.spec.ts:114:3 › CA expiry warning expired appears in Settings and the administrator Inbox (12.8s) ✘ 238 test/ca-unlock.spec.ts:114:3 › CA expiry warning unknown appears in Settings and the administrator Inbox (12.8s) ✓ 239 test/ca-unlock.spec.ts:166:1 › CA root expiry warning stays readable in the phone Inbox (8.0s) ✓ 240 test/ca-unlock.spec.ts:187:1 › CA expiry Inbox actions stay visible on a short phone screen (7.8s) ✓ 241 test/ca-unlock.spec.ts:201:1 › CA expiry warnings are hidden from viewers (9.0s) ✓ 242 test/ca-unlock.spec.ts:210:1 › the inbox line is collapsed, expands to Unlock, and unlocking clears the card (8.4s) 10) test/ca-unlock.spec.ts:71:1 › the palette row runs the ceremony and the lock clears ────────── at /home/claude/worktrees/j406/apps/tracer/test/ca-unlock.spec.ts:77:43 11) test/ca-unlock.spec.ts:114:3 › CA expiry warning 365d appears in Settings and the administrator Inbox at /home/claude/worktrees/j406/apps/tracer/test/ca-unlock.spec.ts:150:43 12) test/ca-unlock.spec.ts:114:3 › CA expiry warning 90d appears in Settings and the administrator Inbox at /home/claude/worktrees/j406/apps/tracer/test/ca-unlock.spec.ts:150:43 13) test/ca-unlock.spec.ts:114:3 › CA expiry warning 30d appears in Settings and the administrator Inbox at /home/claude/worktrees/j406/apps/tracer/test/ca-unlock.spec.ts:150:43 14) test/ca-unlock.spec.ts:114:3 › CA expiry warning 7d appears in Settings and the administrator Inbox at /home/claude/worktrees/j406/apps/tracer/test/ca-unlock.spec.ts:150:43 15) test/ca-unlock.spec.ts:114:3 › CA expiry warning expired appears in Settings and the administrator Inbox at /home/claude/worktrees/j406/apps/tracer/test/ca-unlock.spec.ts:150:43 16) test/ca-unlock.spec.ts:114:3 › CA expiry warning unknown appears in Settings and the administrator Inbox at /home/claude/worktrees/j406/apps/tracer/test/ca-unlock.spec.ts:150:43 test/ca-unlock.spec.ts:71:1 › the palette row runs the ceremony and the lock clears ──────────── test/ca-unlock.spec.ts:114:3 › CA expiry warning 365d appears in Settings and the administrator Inbox test/ca-unlock.spec.ts:114:3 › CA expiry warning 90d appears in Settings and the administrator Inbox test/ca-unlock.spec.ts:114:3 › CA expiry warning 30d appears in Settings and the administrator Inbox test/ca-unlock.spec.ts:114:3 › CA expiry warning 7d appears in Settings and the administrator Inbox test/ca-unlock.spec.ts:114:3 › CA expiry warning expired appears in Settings and the administrator Inbox test/ca-unlock.spec.ts:114:3 › CA expiry warning unknown appears in Settings and the administrator Inbox ``` Rerun with `cd apps/tracer && bun x playwright test test/ca-unlock.spec.ts`. <!-- infraternal-browser-spec: ca-unlock.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#452
No description provided.