diff --git a/desktop/tests/e2e/agents.spec.ts b/desktop/tests/e2e/agents.spec.ts index 66f9e4e70..0c33106bd 100644 --- a/desktop/tests/e2e/agents.spec.ts +++ b/desktop/tests/e2e/agents.spec.ts @@ -732,9 +732,11 @@ test("moves agent actions into an overflow menu in a narrow view", async ({ }); await expect(page.getByTestId("agent-defaults-button")).toBeVisible(); + // The app-wide default renders text-base at 17.142857px with Tailwind's + // 1.5 line-height ratio, which rounds to a 26px one-line scroll height. await expect( page.getByText("Set up and manage your agents.", { exact: true }), - ).toHaveJSProperty("scrollHeight", 24); + ).toHaveJSProperty("scrollHeight", 26); await page.getByTestId("agents-page-content").evaluate((element) => { (element as HTMLElement).style.width = "600px"; diff --git a/desktop/tests/e2e/onboarding.spec.ts b/desktop/tests/e2e/onboarding.spec.ts index 2ef3d5825..3ab673161 100644 --- a/desktop/tests/e2e/onboarding.spec.ts +++ b/desktop/tests/e2e/onboarding.spec.ts @@ -2020,7 +2020,7 @@ test("connected first-community profile keeps Back bottom-left and balances the ); expect(nameKeyStyles).toMatchObject({ borderRadius: "16px", - fontSize: "14px", + fontSize: "15px", }); await expect(page.getByText("Your username", { exact: true })).toBeVisible(); await expect(page.getByTestId("community-onboarding-flow")).toHaveAttribute(