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>
This commit is contained in:
Romit
2026-03-06 18:15:33 +05:30
committed by GitHub
co-authored by Devin AI
parent d3a410fc53
commit d526a6f801
+1 -1
View File
@@ -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();