Align integration assertions with typography defaults

Co-authored-by: Princess Donut <b238ea756dee4d98afa5883fc7f1de61eeabe65bf700e3a5a5a80db5e42e2c2b@buzz.block.builderlab.xyz>
Signed-off-by: Princess Donut <b238ea756dee4d98afa5883fc7f1de61eeabe65bf700e3a5a5a80db5e42e2c2b@buzz.block.builderlab.xyz>
This commit is contained in:
Princess Donut
2026-08-12 14:28:36 +01:00
parent 6166fa1cd7
commit 086af9424d
2 changed files with 4 additions and 2 deletions
+3 -1
View File
@@ -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";
+1 -1
View File
@@ -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(