Skip to content

Commit f86b129

Browse files
committed
🧼
1 parent 4246349 commit f86b129

File tree

1 file changed

+6
-9
lines changed

1 file changed

+6
-9
lines changed

site/e2e/tests/organizations.spec.ts

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,16 @@
11
import { test, expect } from "@playwright/test";
2-
import {
3-
createGroup,
4-
createOrganization,
5-
getCurrentOrgId,
6-
setupApiCalls,
7-
} from "../api";
2+
import { setupApiCalls } from "../api";
3+
import { expectUrl } from "../expectUrl";
84
import { requiresEnterpriseLicense } from "../helpers";
95
import { beforeCoderTest } from "../hooks";
10-
import { expectUrl } from "../expectUrl";
116

12-
test.beforeEach(async ({ page }) => await beforeCoderTest(page));
7+
test.beforeEach(async ({ page }) => {
8+
await beforeCoderTest(page);
9+
await setupApiCalls(page);
10+
});
1311

1412
test("create and delete organization", async ({ page, baseURL }) => {
1513
requiresEnterpriseLicense();
16-
await setupApiCalls(page);
1714

1815
// Create an organzation
1916
await page.goto(`${baseURL}/organizations/new`, {

0 commit comments

Comments
 (0)