diff --git a/desktop/tests/e2e/agents.spec.ts b/desktop/tests/e2e/agents.spec.ts index 3cbe097c0..87129a11b 100644 --- a/desktop/tests/e2e/agents.spec.ts +++ b/desktop/tests/e2e/agents.spec.ts @@ -723,9 +723,11 @@ test("moves agent actions into an overflow menu in a narrow view", async ({ }); await expect(page.getByTestId("agent-defaults-button")).toBeVisible(); + // One line of the page description: text-base is Body 14 on the + // consolidated ramp, whose line-height is 1.25rem (20px). await expect( page.getByText("Set up and manage your agents.", { exact: true }), - ).toHaveJSProperty("scrollHeight", 24); + ).toHaveJSProperty("scrollHeight", 20); await page.getByTestId("agents-page-content").evaluate((element) => { (element as HTMLElement).style.width = "600px";