test: few more e2e flakes (#26278)

* test: few more e2e flakes

* fix another
This commit is contained in:
Anik Dhabal Babu authored and GitHub committed 2025-12-29 19:58:15 -03:00
1 parent 7c373ddad6
commit ff9d88479c
7 files changed
+25 -21

No files matched your search

@@ -57,7 +57,7 @@ test.describe("Organization - Privacy", () => {
await secondPage.goto(`/settings/organizations/${org.slug}/members`);
await secondPage.waitForLoadState("domcontentloaded");
const userDataTable = secondPage.getByTestId("user-list-data-table").first();
const membersPrivacyWarning = secondPage.getByTestId("members-privacy-warning");
const membersPrivacyWarning = secondPage.getByTestId("members-privacy-warning").first();
await expect(userDataTable).toBeHidden();
await expect(membersPrivacyWarning).toBeVisible();
await secondContext.close();
@@ -28,7 +28,7 @@ test.describe("Teams", () => {
await test.step("Can create team", async () => {
// Click text=Create Team
await page.locator("text=Create a new Team").click();
await page.waitForURL((url) => url.pathname === "/settings/teams/new");
await page.waitForLoadState("networkidle");
// Fill input[name="name"]
await page.locator('input[name="name"]').fill(`${user.username}'s Team`);
// Click text=Continue