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:
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user