From d526a6f80159b12533b6e8f9b8f13a8da7d2094c Mon Sep 17 00:00:00 2001 From: Romit <85230081+romitg2@users.noreply.github.com> Date: Fri, 6 Mar 2026 18:15:33 +0530 Subject: [PATCH] fix: create user with team in teams page E2E test (#28313) The 'should render the /teams page' test was failing because PR #27650 introduced a showHeader flag that hides the 'Teams' heading for users without teams. Other tests in the file were updated to create users with hasTeam: true, but this test was missed. Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> --- apps/web/playwright/teams.e2e.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/web/playwright/teams.e2e.ts b/apps/web/playwright/teams.e2e.ts index 4d2ad0a6d8..3d0208da25 100644 --- a/apps/web/playwright/teams.e2e.ts +++ b/apps/web/playwright/teams.e2e.ts @@ -18,7 +18,7 @@ test.describe.configure({ mode: "parallel" }); test.describe("Teams tests", () => { test("should render the /teams page", async ({ page, users, context }) => { - const user = await users.create(); + const user = await users.create(undefined, { hasTeam: true }); await user.apiLogin();