commit 836684076800157eb70eeeff308cd6edd9c4ab90
parent e68c15782222d0238cc11f0a79be56c1621142c0
Author: I Mean I'm Just Saying <imeanimjustsaying@kiwifarms.st>
Date: Tue, 10 Nov 2026 15:55:23 -0500
umtool e2e: the twin's disabled Remove is pressed with force -- Playwright waits forever for an aria-disabled button to be enabled; pressed, it writes nothing (L8b review 1)
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/umtool/e2e/block-menus.spec.ts b/umtool/e2e/block-menus.spec.ts
@@ -254,7 +254,8 @@ test("a variant twin: Remove takes the entry on screen, never its twin; a twin t
await expect(twin.locator(`[data-ws-menu-action="${a}"]`)).toHaveAttribute("aria-disabled", "true");
await expect(twin.locator(`[data-ws-menu-action="${a}"]`)).toHaveAttribute("title", "this entry has a twin — use the Cut tab");
}
- await twin.locator('[data-ws-menu-action="remove"]').click();
+ // Pressed anyway (past Playwright's own aria-disabled wait): nothing happens.
+ await twin.locator('[data-ws-menu-action="remove"]').click({ force: true });
await page.keyboard.press("Escape");
await expect(twin).toHaveCount(0);
expect(manifestText()).toBe(written);