test(e2e): share initial Settings sidebar browser proof (#16083)

Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
DottaandPaperclip authored and GitHub committed 2026-10-14 23:14:20 -05:00
1 parent 9076329149
commit 8541dfad29
1 file changed
+1 -7
+1 -7
View File
@@ -60,7 +60,7 @@ test.describe("Contextual sidebar companion", () => {
}, COLLAPSED_STORAGE_KEY);
});
test("replaces global navigation with Settings navigation", async ({ page }) => {
test("renders contextual labels at full width", async ({ page }) => {
await page.goto(`/${prefix}/company/settings`);
const contextual = page.locator('[data-contextual-sidebar="settings"]');
@@ -75,14 +75,8 @@ test.describe("Contextual sidebar companion", () => {
await expect(page.getByRole("link", { name: "Dashboard" })).toHaveCount(0);
await expect(page.getByLabel(APP_SIDEBAR_EXPANDED_MARKER)).toHaveCount(0);
});
test("renders contextual labels at full width", async ({ page }) => {
await page.goto(`/${prefix}/company/settings`);
const contextual = page.locator('[data-contextual-sidebar="settings"]');
const envLabel = contextual.getByText("Environments", { exact: true });
await expect(envLabel).toBeVisible();
const labelBox = await envLabel.boundingBox();
expect(labelBox).not.toBeNull();
expect(labelBox!.width).toBeGreaterThan(20);