browser suite: addhost-pill-stream.spec.ts fails on dev #450

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

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

Spec: addhost-pill-stream.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

a failure after the prompt is explained in the pill, and Try again finishes into the system icon

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

Locator: locator('.ui-toast')
Expected pattern: not /ready|added/i
Timeout: 5000ms
Error: element(s) not found

Call log:
  - Expect "not toContainText" locator('.ui-toast') with timeout 5000ms
  - waiting for locator('.ui-toast')


  32 |   await expect(page.locator('.ui-window .ui-setup-ring[data-phase="tick"]')).toHaveCount(0);
  33 |   // The wizard's own "ready" toast would contradict the failure: it is not shown.
> 34 |   await expect(page.locator(".ui-toast")).not.toContainText(/ready|added/i);
     |                                               ^
  35 |
  36 |   await pillOf(page, "instant-fail.lab").click();
  37 |   const tip = page.getByRole("dialog", { name: "Setup of instant-fail.lab" });
    at /home/claude/worktrees/j406/apps/tracer/test/addhost-pill-stream.spec.ts:34:47

reduced motion: the failure and the retry still show, with no flight

Test timeout of 120000ms exceeded.
Error: locator.click: Test timeout of 120000ms exceeded.
Call log:
  - waiting for getByRole('dialog', { name: 'Setup of instant-fail.lab' }).getByRole('button', { name: 'Try again' })


  76 |   expect(await page.locator(".ui-setup-fly").count()).toBe(0);
  77 |   await pillOf(page, "instant-fail.lab").click();
> 78 |   await page.getByRole("dialog", { name: "Setup of instant-fail.lab" }).getByRole("button", { name: "Try again" }).click();
     |                                                                                                                    ^
  79 |   await page.waitForSelector(".ui-window .ui-setup-ring", { state: "detached", timeout: 20_000 });
  80 | });
  81 |
    at /home/claude/worktrees/j406/apps/tracer/test/addhost-pill-stream.spec.ts:78:116

review exhausted setup does not offer an enabled retry at 1440px ink

Error: expect(locator).toBeVisible() failed

Locator: getByRole('dialog', { name: 'Setup of instant-fail.lab' })
Expected: visible
Timeout: 5000ms
Error: element(s) not found

Call log:
  - Expect "toBeVisible" getByRole('dialog', { name: 'Setup of instant-fail.lab' }) with timeout 5000ms
  - waiting for getByRole('dialog', { name: 'Setup of instant-fail.lab' })


  103 |       await pillOf(page, "instant-fail.lab").click();
  104 |       const tip = page.getByRole("dialog", { name: "Setup of instant-fail.lab" });
> 105 |       await expect(tip).toBeVisible();
      |                         ^
  106 |       await expect(tip.getByRole("button", { name: "Try again", disabled: false })).toHaveCount(0);
  107 |       await expect(tip).toContainText("retry limit");
  108 |       await expect(tip).toContainText("Remove this host, then add it again");
    at /home/claude/worktrees/j406/apps/tracer/test/addhost-pill-stream.spec.ts:105:25

review exhausted setup does not offer an enabled retry at 1440px paper

Error: expect(locator).toBeVisible() failed

Locator: getByRole('dialog', { name: 'Setup of instant-fail.lab' })
Expected: visible
Timeout: 5000ms
Error: element(s) not found

Call log:
  - Expect "toBeVisible" getByRole('dialog', { name: 'Setup of instant-fail.lab' }) with timeout 5000ms
  - waiting for getByRole('dialog', { name: 'Setup of instant-fail.lab' })


  103 |       await pillOf(page, "instant-fail.lab").click();
  104 |       const tip = page.getByRole("dialog", { name: "Setup of instant-fail.lab" });
> 105 |       await expect(tip).toBeVisible();
      |                         ^
  106 |       await expect(tip.getByRole("button", { name: "Try again", disabled: false })).toHaveCount(0);
  107 |       await expect(tip).toContainText("retry limit");
  108 |       await expect(tip).toContainText("Remove this host, then add it again");
    at /home/claude/worktrees/j406/apps/tracer/test/addhost-pill-stream.spec.ts:105:25

review exhausted setup does not offer an enabled retry at 393px ink

Error: expect(locator).toBeVisible() failed

Locator: getByRole('dialog', { name: 'Setup of instant-fail.lab' })
Expected: visible
Timeout: 5000ms
Error: element(s) not found

Call log:
  - Expect "toBeVisible" getByRole('dialog', { name: 'Setup of instant-fail.lab' }) with timeout 5000ms
  - waiting for getByRole('dialog', { name: 'Setup of instant-fail.lab' })


  103 |       await pillOf(page, "instant-fail.lab").click();
  104 |       const tip = page.getByRole("dialog", { name: "Setup of instant-fail.lab" });
> 105 |       await expect(tip).toBeVisible();
      |                         ^
  106 |       await expect(tip.getByRole("button", { name: "Try again", disabled: false })).toHaveCount(0);
  107 |       await expect(tip).toContainText("retry limit");
  108 |       await expect(tip).toContainText("Remove this host, then add it again");
    at /home/claude/worktrees/j406/apps/tracer/test/addhost-pill-stream.spec.ts:105:25

(and 3 more failing tests)

Log tail for this spec:

  ✘   102 test/addhost-pill-stream.spec.ts:85:5 › review exhausted setup does not offer an enabled retry at 1440px ink (15.9s)
  ✘   103 test/addhost-pill-stream.spec.ts:85:5 › review exhausted setup does not offer an enabled retry at 1440px paper (15.9s)
  ✘   104 test/addhost-pill-stream.spec.ts:85:5 › review exhausted setup does not offer an enabled retry at 393px ink (15.9s)
  ✘   105 test/addhost-pill-stream.spec.ts:85:5 › review exhausted setup does not offer an enabled retry at 393px paper (15.9s)
  ✘   106 test/addhost-pill-stream.spec.ts:85:5 › review exhausted setup does not offer an enabled retry at 375px ink (15.9s)
  ✘   107 test/addhost-pill-stream.spec.ts:85:5 › review exhausted setup does not offer an enabled retry at 375px paper (15.9s)
  1) test/addhost-pill-stream.spec.ts:26:1 › a failure after the prompt is explained in the pill, and Try again finishes into the system icon 
        at /home/claude/worktrees/j406/apps/tracer/test/addhost-pill-stream.spec.ts:34:47
  2) test/addhost-pill-stream.spec.ts:71:1 › reduced motion: the failure and the retry still show, with no flight 
        at /home/claude/worktrees/j406/apps/tracer/test/addhost-pill-stream.spec.ts:78:116
  3) test/addhost-pill-stream.spec.ts:85:5 › review exhausted setup does not offer an enabled retry at 1440px ink 
        at /home/claude/worktrees/j406/apps/tracer/test/addhost-pill-stream.spec.ts:105:25
  4) test/addhost-pill-stream.spec.ts:85:5 › review exhausted setup does not offer an enabled retry at 1440px paper 
        at /home/claude/worktrees/j406/apps/tracer/test/addhost-pill-stream.spec.ts:105:25
  5) test/addhost-pill-stream.spec.ts:85:5 › review exhausted setup does not offer an enabled retry at 393px ink 
        at /home/claude/worktrees/j406/apps/tracer/test/addhost-pill-stream.spec.ts:105:25
  6) test/addhost-pill-stream.spec.ts:85:5 › review exhausted setup does not offer an enabled retry at 393px paper 
        at /home/claude/worktrees/j406/apps/tracer/test/addhost-pill-stream.spec.ts:105:25
  7) test/addhost-pill-stream.spec.ts:85:5 › review exhausted setup does not offer an enabled retry at 375px ink 
        at /home/claude/worktrees/j406/apps/tracer/test/addhost-pill-stream.spec.ts:105:25
  8) test/addhost-pill-stream.spec.ts:85:5 › review exhausted setup does not offer an enabled retry at 375px paper 
        at /home/claude/worktrees/j406/apps/tracer/test/addhost-pill-stream.spec.ts:105:25
    test/addhost-pill-stream.spec.ts:26:1 › a failure after the prompt is explained in the pill, and Try again finishes into the system icon 
    test/addhost-pill-stream.spec.ts:71:1 › reduced motion: the failure and the retry still show, with no flight 
    test/addhost-pill-stream.spec.ts:85:5 › review exhausted setup does not offer an enabled retry at 1440px ink 
    test/addhost-pill-stream.spec.ts:85:5 › review exhausted setup does not offer an enabled retry at 1440px paper 
    test/addhost-pill-stream.spec.ts:85:5 › review exhausted setup does not offer an enabled retry at 393px ink 
    test/addhost-pill-stream.spec.ts:85:5 › review exhausted setup does not offer an enabled retry at 393px paper 
    test/addhost-pill-stream.spec.ts:85:5 › review exhausted setup does not offer an enabled retry at 375px ink 
    test/addhost-pill-stream.spec.ts:85:5 › review exhausted setup does not offer an enabled retry at 375px paper 

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

Nightly browser suite on dev (D373, #443). Spec: `addhost-pill-stream.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` ### a failure after the prompt is explained in the pill, and Try again finishes into the system icon ``` Error: expect(locator).not.toContainText(expected) failed Locator: locator('.ui-toast') Expected pattern: not /ready|added/i Timeout: 5000ms Error: element(s) not found Call log: - Expect "not toContainText" locator('.ui-toast') with timeout 5000ms - waiting for locator('.ui-toast') 32 | await expect(page.locator('.ui-window .ui-setup-ring[data-phase="tick"]')).toHaveCount(0); 33 | // The wizard's own "ready" toast would contradict the failure: it is not shown. > 34 | await expect(page.locator(".ui-toast")).not.toContainText(/ready|added/i); | ^ 35 | 36 | await pillOf(page, "instant-fail.lab").click(); 37 | const tip = page.getByRole("dialog", { name: "Setup of instant-fail.lab" }); at /home/claude/worktrees/j406/apps/tracer/test/addhost-pill-stream.spec.ts:34:47 ``` ### reduced motion: the failure and the retry still show, with no flight ``` Test timeout of 120000ms exceeded. Error: locator.click: Test timeout of 120000ms exceeded. Call log: - waiting for getByRole('dialog', { name: 'Setup of instant-fail.lab' }).getByRole('button', { name: 'Try again' }) 76 | expect(await page.locator(".ui-setup-fly").count()).toBe(0); 77 | await pillOf(page, "instant-fail.lab").click(); > 78 | await page.getByRole("dialog", { name: "Setup of instant-fail.lab" }).getByRole("button", { name: "Try again" }).click(); | ^ 79 | await page.waitForSelector(".ui-window .ui-setup-ring", { state: "detached", timeout: 20_000 }); 80 | }); 81 | at /home/claude/worktrees/j406/apps/tracer/test/addhost-pill-stream.spec.ts:78:116 ``` ### review exhausted setup does not offer an enabled retry at 1440px ink ``` Error: expect(locator).toBeVisible() failed Locator: getByRole('dialog', { name: 'Setup of instant-fail.lab' }) Expected: visible Timeout: 5000ms Error: element(s) not found Call log: - Expect "toBeVisible" getByRole('dialog', { name: 'Setup of instant-fail.lab' }) with timeout 5000ms - waiting for getByRole('dialog', { name: 'Setup of instant-fail.lab' }) 103 | await pillOf(page, "instant-fail.lab").click(); 104 | const tip = page.getByRole("dialog", { name: "Setup of instant-fail.lab" }); > 105 | await expect(tip).toBeVisible(); | ^ 106 | await expect(tip.getByRole("button", { name: "Try again", disabled: false })).toHaveCount(0); 107 | await expect(tip).toContainText("retry limit"); 108 | await expect(tip).toContainText("Remove this host, then add it again"); at /home/claude/worktrees/j406/apps/tracer/test/addhost-pill-stream.spec.ts:105:25 ``` ### review exhausted setup does not offer an enabled retry at 1440px paper ``` Error: expect(locator).toBeVisible() failed Locator: getByRole('dialog', { name: 'Setup of instant-fail.lab' }) Expected: visible Timeout: 5000ms Error: element(s) not found Call log: - Expect "toBeVisible" getByRole('dialog', { name: 'Setup of instant-fail.lab' }) with timeout 5000ms - waiting for getByRole('dialog', { name: 'Setup of instant-fail.lab' }) 103 | await pillOf(page, "instant-fail.lab").click(); 104 | const tip = page.getByRole("dialog", { name: "Setup of instant-fail.lab" }); > 105 | await expect(tip).toBeVisible(); | ^ 106 | await expect(tip.getByRole("button", { name: "Try again", disabled: false })).toHaveCount(0); 107 | await expect(tip).toContainText("retry limit"); 108 | await expect(tip).toContainText("Remove this host, then add it again"); at /home/claude/worktrees/j406/apps/tracer/test/addhost-pill-stream.spec.ts:105:25 ``` ### review exhausted setup does not offer an enabled retry at 393px ink ``` Error: expect(locator).toBeVisible() failed Locator: getByRole('dialog', { name: 'Setup of instant-fail.lab' }) Expected: visible Timeout: 5000ms Error: element(s) not found Call log: - Expect "toBeVisible" getByRole('dialog', { name: 'Setup of instant-fail.lab' }) with timeout 5000ms - waiting for getByRole('dialog', { name: 'Setup of instant-fail.lab' }) 103 | await pillOf(page, "instant-fail.lab").click(); 104 | const tip = page.getByRole("dialog", { name: "Setup of instant-fail.lab" }); > 105 | await expect(tip).toBeVisible(); | ^ 106 | await expect(tip.getByRole("button", { name: "Try again", disabled: false })).toHaveCount(0); 107 | await expect(tip).toContainText("retry limit"); 108 | await expect(tip).toContainText("Remove this host, then add it again"); at /home/claude/worktrees/j406/apps/tracer/test/addhost-pill-stream.spec.ts:105:25 ``` (and 3 more failing tests) Log tail for this spec: ``` ✘ 102 test/addhost-pill-stream.spec.ts:85:5 › review exhausted setup does not offer an enabled retry at 1440px ink (15.9s) ✘ 103 test/addhost-pill-stream.spec.ts:85:5 › review exhausted setup does not offer an enabled retry at 1440px paper (15.9s) ✘ 104 test/addhost-pill-stream.spec.ts:85:5 › review exhausted setup does not offer an enabled retry at 393px ink (15.9s) ✘ 105 test/addhost-pill-stream.spec.ts:85:5 › review exhausted setup does not offer an enabled retry at 393px paper (15.9s) ✘ 106 test/addhost-pill-stream.spec.ts:85:5 › review exhausted setup does not offer an enabled retry at 375px ink (15.9s) ✘ 107 test/addhost-pill-stream.spec.ts:85:5 › review exhausted setup does not offer an enabled retry at 375px paper (15.9s) 1) test/addhost-pill-stream.spec.ts:26:1 › a failure after the prompt is explained in the pill, and Try again finishes into the system icon at /home/claude/worktrees/j406/apps/tracer/test/addhost-pill-stream.spec.ts:34:47 2) test/addhost-pill-stream.spec.ts:71:1 › reduced motion: the failure and the retry still show, with no flight at /home/claude/worktrees/j406/apps/tracer/test/addhost-pill-stream.spec.ts:78:116 3) test/addhost-pill-stream.spec.ts:85:5 › review exhausted setup does not offer an enabled retry at 1440px ink at /home/claude/worktrees/j406/apps/tracer/test/addhost-pill-stream.spec.ts:105:25 4) test/addhost-pill-stream.spec.ts:85:5 › review exhausted setup does not offer an enabled retry at 1440px paper at /home/claude/worktrees/j406/apps/tracer/test/addhost-pill-stream.spec.ts:105:25 5) test/addhost-pill-stream.spec.ts:85:5 › review exhausted setup does not offer an enabled retry at 393px ink at /home/claude/worktrees/j406/apps/tracer/test/addhost-pill-stream.spec.ts:105:25 6) test/addhost-pill-stream.spec.ts:85:5 › review exhausted setup does not offer an enabled retry at 393px paper at /home/claude/worktrees/j406/apps/tracer/test/addhost-pill-stream.spec.ts:105:25 7) test/addhost-pill-stream.spec.ts:85:5 › review exhausted setup does not offer an enabled retry at 375px ink at /home/claude/worktrees/j406/apps/tracer/test/addhost-pill-stream.spec.ts:105:25 8) test/addhost-pill-stream.spec.ts:85:5 › review exhausted setup does not offer an enabled retry at 375px paper at /home/claude/worktrees/j406/apps/tracer/test/addhost-pill-stream.spec.ts:105:25 test/addhost-pill-stream.spec.ts:26:1 › a failure after the prompt is explained in the pill, and Try again finishes into the system icon test/addhost-pill-stream.spec.ts:71:1 › reduced motion: the failure and the retry still show, with no flight test/addhost-pill-stream.spec.ts:85:5 › review exhausted setup does not offer an enabled retry at 1440px ink test/addhost-pill-stream.spec.ts:85:5 › review exhausted setup does not offer an enabled retry at 1440px paper test/addhost-pill-stream.spec.ts:85:5 › review exhausted setup does not offer an enabled retry at 393px ink test/addhost-pill-stream.spec.ts:85:5 › review exhausted setup does not offer an enabled retry at 393px paper test/addhost-pill-stream.spec.ts:85:5 › review exhausted setup does not offer an enabled retry at 375px ink test/addhost-pill-stream.spec.ts:85:5 › review exhausted setup does not offer an enabled retry at 375px paper ``` Rerun with `cd apps/tracer && bun x playwright test test/addhost-pill-stream.spec.ts`. <!-- infraternal-browser-spec: addhost-pill-stream.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#450
No description provided.