From 3e85df5d029c8d4fad1b79a9a835b681f938aa41 Mon Sep 17 00:00:00 2001 From: Coracle-Bot Date: Tue, 22 Sep 2026 07:12:45 +0000 Subject: [PATCH] Match US-129 thresholds exactly so the help text does not also match --- e2e/specs/settings.spec.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/e2e/specs/settings.spec.ts b/e2e/specs/settings.spec.ts index 0cf69eae..e5f650f4 100644 --- a/e2e/specs/settings.spec.ts +++ b/e2e/specs/settings.spec.ts @@ -272,14 +272,14 @@ test("US-129 raise the thresholds a stranger has to meet", async ({seed, as}) => await expect(pow).toHaveValue("16") await expect(wot).toHaveValue("3") - await expect(requestsCard(page).getByText("16 bits")).toBeVisible() - await expect(requestsCard(page).getByText("3 people")).toBeVisible() + await expect(requestsCard(page).getByText("16 bits", {exact: true})).toBeVisible() + await expect(requestsCard(page).getByText("3 people", {exact: true})).toBeVisible() await pow.fill("24") await wot.fill("1") - await expect(requestsCard(page).getByText("24 bits")).toBeVisible() - await expect(requestsCard(page).getByText("1 person")).toBeVisible() + await expect(requestsCard(page).getByText("24 bits", {exact: true})).toBeVisible() + await expect(requestsCard(page).getByText("1 person", {exact: true})).toBeVisible() await page.getByRole("button", {name: "Save Changes"}).click()