commit ef616e425832c2125dce13afdca5077135e2fd15
parent b5a5506e69de7f7fef494b0d8e9328a1fe54c024
Author: I Mean I'm Just Saying <imeanimjustsaying@kiwifarms.st>
Date: Wed, 4 Nov 2026 23:15:16 -0500
umtool e2e: the slur filter spec expects a project's own word masked whole (*****), as c8e95c17 made it
post-items.spec.ts still asserted the old first-letter mask (v****) in the ls line and the card pill; the join e2e on main went red on it. 8/8 pass.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/umtool/e2e/post-items.spec.ts b/umtool/e2e/post-items.spec.ts
@@ -136,7 +136,7 @@ test("the slur filter: As published (censored) draws the placeholder pill and ne
umtool(["posts", "redact", PROJECT, "add", "here is"]);
const ls = umtool(["posts", "slurs", PROJECT, "ls"]);
expect(ls).toContain("the slur filter is ON");
- expect(ls).toMatch(/v\*{4} +\(its own\) +×1/);
+ expect(ls).toMatch(/\*{5} +\(its own\) +×1/);
expect(ls).not.toContain("video");
await page.setViewportSize({ width: 1366, height: 1000 });
await page.goto(urls.playHref(PROJECT, { bare: true, clip: "p-vid" }));
@@ -154,7 +154,7 @@ test("the slur filter: As published (censored) draws the placeholder pill and ne
await expect(page.locator("label:has([data-play-as-published])")).toContainText("As published (censored)");
// CENSORED: the word a dark pill holding its mask; the redacted phrase still bars.
await expect(card.locator("[data-post-slur]")).toHaveCount(1);
- await expect(card.locator("[data-post-slur]")).toHaveText("v****");
+ await expect(card.locator("[data-post-slur]")).toHaveText("*****");
await expect(card.locator("[data-post-blanked]")).toHaveCount(2);
const dom = await card.locator("html").evaluate((el) => el.outerHTML);
expect(dom.toLowerCase()).not.toContain("video.");