Skip to content

Commit 3f3698f

Browse files
committed
fix: update playwright tests
1 parent deef19b commit 3f3698f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

site/e2e/helpers.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1123,7 +1123,7 @@ export async function createOrganization(page: Page): Promise<{
11231123
const description = `Org description ${name}`;
11241124
await page.getByLabel("Description").fill(description);
11251125
await page.getByLabel("Icon", { exact: true }).fill("/emojis/1f957.png");
1126-
await page.getByRole("button", { name: "Submit" }).click();
1126+
await page.getByRole("button", { name: "Save" }).click();
11271127

11281128
await expectUrl(page).toHavePathName(`/organizations/${name}`);
11291129
await expect(page.getByText("Organization created.")).toBeVisible();

site/e2e/tests/organizations.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ test("create and delete organization", async ({ page }) => {
2323
await page.getByLabel("Display name").fill(`Org ${name}`);
2424
await page.getByLabel("Description").fill(`Org description ${name}`);
2525
await page.getByLabel("Icon", { exact: true }).fill("/emojis/1f957.png");
26-
await page.getByRole("button", { name: "Submit" }).click();
26+
await page.getByRole("button", { name: "Save" }).click();
2727

2828
// Expect to be redirected to the new organization
2929
await expectUrl(page).toHavePathName(`/organizations/${name}`);

0 commit comments

Comments
 (0)