browser suite: mesh-rename.spec.ts fails on dev #460

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

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

Spec: mesh-rename.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 duplicate name is refused in plain words and the old name comes back; no permission says so

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

Locator: locator('.ui-toast:not([hidden])')
Expected substring: "you are not allowed to rename hosts"
Error: strict mode violation: locator('.ui-toast:not([hidden])') 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: 'Could not rename build-01: another host is already called nix-cache.' })
    2) <aside role="group" data-icon="true" data-tone="error" 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: 'Could not rename build-01: you are not allowed to rename hosts.' })

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


  124 |   await page.keyboard.type("build-02");
  125 |   await page.keyboard.press("Enter");
> 126 |   await expect(toast(page)).toContainText("you are not allowed to rename hosts");
      |                             ^
  127 |   await expect(hostName(page, "build-01")).toHaveText("build-01");
  128 | });
  129 |
    at /home/claude/worktrees/j406/apps/tracer/test/mesh-rename.spec.ts:126:29

Log tail for this spec:

  ✓   657 test/mesh-rename.spec.ts:52:1 › double click on a card's name opens the field; Enter saves it through mesh.node.rename and the card follows (7.2s)
  ✓   658 test/mesh-rename.spec.ts:70:1 › Escape cancels, an unchanged or empty name sends nothing, a click elsewhere saves (7.3s)
  ✓   659 test/mesh-rename.spec.ts:93:1 › a single click and a drag keep their meaning: no field opens, and the card moves (7.8s)
  ✘   660 test/mesh-rename.spec.ts:109:1 › a duplicate name is refused in plain words and the old name comes back; no permission says so (7.6s)
  ✓   661 test/mesh-rename.spec.ts:130:1 › the Views tree renames a Mesh host the same way, and a single click still flies to it (7.6s)
  ✓   662 test/mesh-rename.spec.ts:157:1 › the palette finds 'rename <host>' and opens the field on that card (8.6s)
  ✓   663 test/mesh-rename.spec.ts:176:3 › touch › a double tap on a card's name opens the field, and the name does not zoom the page (8.5s)
  ✓   664 test/mesh-rename.spec.ts:201:3 › touch › phone 393x852: the open field never sits under the status dot, for short, usual and long names (11.2s)
  ✓   665 test/mesh-rename.spec.ts:228:3 › touch › in the Views tree the first tap flies and the sidebar waits for the second (8.7s)
  ✓   666 test/mesh-rename.spec.ts:248:3 › touch › a single tap on a name in the tree still closes the sidebar, a moment later (8.9s)
  ✓   667 test/mesh-rename.spec.ts:333:1 › desktop: the open field never sits under the status dot, for short, usual and long names (9.2s)
  ✓   668 test/mesh-rename.spec.ts:352:1 › paper theme: the field reads on light (7.2s)
  32) test/mesh-rename.spec.ts:109:1 › a duplicate name is refused in plain words and the old name comes back; no permission says so 
        at /home/claude/worktrees/j406/apps/tracer/test/mesh-rename.spec.ts:126:29
    test/mesh-rename.spec.ts:109:1 › a duplicate name is refused in plain words and the old name comes back; no permission says so 

Rerun with cd apps/tracer && bun x playwright test test/mesh-rename.spec.ts.

Nightly browser suite on dev (D373, #443). Spec: `mesh-rename.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 duplicate name is refused in plain words and the old name comes back; no permission says so ``` Error: expect(locator).toContainText(expected) failed Locator: locator('.ui-toast:not([hidden])') Expected substring: "you are not allowed to rename hosts" Error: strict mode violation: locator('.ui-toast:not([hidden])') 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: 'Could not rename build-01: another host is already called nix-cache.' }) 2) <aside role="group" data-icon="true" data-tone="error" 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: 'Could not rename build-01: you are not allowed to rename hosts.' }) Call log: - Expect "toContainText" locator('.ui-toast:not([hidden])') with timeout 5000ms - waiting for locator('.ui-toast:not([hidden])') 124 | await page.keyboard.type("build-02"); 125 | await page.keyboard.press("Enter"); > 126 | await expect(toast(page)).toContainText("you are not allowed to rename hosts"); | ^ 127 | await expect(hostName(page, "build-01")).toHaveText("build-01"); 128 | }); 129 | at /home/claude/worktrees/j406/apps/tracer/test/mesh-rename.spec.ts:126:29 ``` Log tail for this spec: ``` ✓ 657 test/mesh-rename.spec.ts:52:1 › double click on a card's name opens the field; Enter saves it through mesh.node.rename and the card follows (7.2s) ✓ 658 test/mesh-rename.spec.ts:70:1 › Escape cancels, an unchanged or empty name sends nothing, a click elsewhere saves (7.3s) ✓ 659 test/mesh-rename.spec.ts:93:1 › a single click and a drag keep their meaning: no field opens, and the card moves (7.8s) ✘ 660 test/mesh-rename.spec.ts:109:1 › a duplicate name is refused in plain words and the old name comes back; no permission says so (7.6s) ✓ 661 test/mesh-rename.spec.ts:130:1 › the Views tree renames a Mesh host the same way, and a single click still flies to it (7.6s) ✓ 662 test/mesh-rename.spec.ts:157:1 › the palette finds 'rename <host>' and opens the field on that card (8.6s) ✓ 663 test/mesh-rename.spec.ts:176:3 › touch › a double tap on a card's name opens the field, and the name does not zoom the page (8.5s) ✓ 664 test/mesh-rename.spec.ts:201:3 › touch › phone 393x852: the open field never sits under the status dot, for short, usual and long names (11.2s) ✓ 665 test/mesh-rename.spec.ts:228:3 › touch › in the Views tree the first tap flies and the sidebar waits for the second (8.7s) ✓ 666 test/mesh-rename.spec.ts:248:3 › touch › a single tap on a name in the tree still closes the sidebar, a moment later (8.9s) ✓ 667 test/mesh-rename.spec.ts:333:1 › desktop: the open field never sits under the status dot, for short, usual and long names (9.2s) ✓ 668 test/mesh-rename.spec.ts:352:1 › paper theme: the field reads on light (7.2s) 32) test/mesh-rename.spec.ts:109:1 › a duplicate name is refused in plain words and the old name comes back; no permission says so at /home/claude/worktrees/j406/apps/tracer/test/mesh-rename.spec.ts:126:29 test/mesh-rename.spec.ts:109:1 › a duplicate name is refused in plain words and the old name comes back; no permission says so ``` Rerun with `cd apps/tracer && bun x playwright test test/mesh-rename.spec.ts`. <!-- infraternal-browser-spec: mesh-rename.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#460
No description provided.