test(desktop): remove stale collapsed home chrome check (#1871)

Signed-off-by: Wes <wesbillman@users.noreply.github.com>
Co-authored-by: Pinky <44b8e82baa6e0e254e0208d68f335c283c94e7b78dd1fa10d5a49d3f13dd0435@sprout-oss.stage.blox.sqprod.co>
This commit is contained in:
Wes
2026-07-14 17:37:15 -07:00
committed by GitHub
co-authored by Pinky
parent 8ce9e79145
commit 395a3f1492
@@ -1,30 +0,0 @@
import { expect, test } from "@playwright/test";
import { waitForAnimations } from "../helpers/animations";
import { installMockBridge } from "../helpers/bridge";
test.describe("home inbox header collapsed-sidebar chrome clearance", () => {
test.use({ viewport: { width: 1280, height: 720 } });
test("inbox options clear the macOS traffic-light region when sidebar is collapsed", async ({
page,
}) => {
await installMockBridge(page);
await page.goto("/");
await expect(page.getByTestId("home-inbox-list")).toBeVisible();
await page.locator('[data-sidebar="trigger"]').click();
const inboxOptions = page.getByTestId("inbox-options-trigger");
await expect(inboxOptions).toBeVisible();
await expect
.poll(async () =>
inboxOptions.evaluate((element) =>
Math.round(element.getBoundingClientRect().left),
),
)
.toBeGreaterThanOrEqual(168);
await waitForAnimations(page);
});
});