Skip to content

Commit 5ccf35e

Browse files
committed
Fix e2e tests
1 parent d8439e2 commit 5ccf35e

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

e2e/organizations.spec.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ test.describe("Organization Viewing", () => {
8686

8787
test("does NOT see plan section", async ({ page }) => {
8888
await page.goto("/organizations/e2e-public-org/");
89-
await expect(page.locator("section#plan")).toHaveCount(0);
89+
await expect(page.locator("section#billing")).toHaveCount(0);
9090
});
9191
});
9292

@@ -107,7 +107,7 @@ test.describe("Organization Viewing", () => {
107107

108108
test("does NOT see plan section", async ({ page }) => {
109109
await page.goto("/organizations/e2e-public-org/");
110-
await expect(page.locator("section#plan")).toHaveCount(0);
110+
await expect(page.locator("section#billing")).toHaveCount(0);
111111
});
112112

113113
test("sees only admins in member list", async ({ page }) => {
@@ -136,7 +136,7 @@ test.describe("Organization Viewing", () => {
136136

137137
test("sees plan section", async ({ page }) => {
138138
await page.goto("/organizations/e2e-public-org/");
139-
await expect(page.locator("section#plan")).toBeVisible();
139+
await expect(page.locator("section#billing")).toBeVisible();
140140
});
141141

142142
test("sees all members in user list (not just admins)", async ({
@@ -199,7 +199,7 @@ test.describe("Organization Viewing", () => {
199199

200200
test("sees plan section", async ({ page }) => {
201201
await page.goto("/organizations/e2e-public-org/");
202-
await expect(page.locator("section#plan")).toBeVisible();
202+
await expect(page.locator("section#billing")).toBeVisible();
203203
});
204204

205205
test("sees button to change plans", async ({ page }) => {
@@ -248,7 +248,7 @@ test.describe("Organization Viewing", () => {
248248

249249
test("sees plan section", async ({ page }) => {
250250
await page.goto("/organizations/e2e-public-org/");
251-
await expect(page.locator("section#plan")).toBeVisible();
251+
await expect(page.locator("section#billing")).toBeVisible();
252252
});
253253

254254
test("sees button to change plans", async ({ page }) => {

0 commit comments

Comments
 (0)