Skip to content

Commit 4579ff1

Browse files
committed
fix jest test
1 parent b570f50 commit 4579ff1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

site/src/pages/ManagementSettingsPage/OrganizationSettingsPage.test.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ describe("OrganizationSettingsPage", () => {
6060
);
6161
await renderPage();
6262
const form = screen.getByTestId("org-settings-form");
63-
expect(within(form).getByRole("textbox", { name: "Name" })).toHaveValue(
63+
expect(within(form).getByRole("textbox", { name: "Slug" })).toHaveValue(
6464
MockDefaultOrganization.name,
6565
);
6666
});
@@ -82,7 +82,7 @@ describe("OrganizationSettingsPage", () => {
8282
);
8383
await renderPage();
8484
const form = screen.getByTestId("org-settings-form");
85-
expect(within(form).getByRole("textbox", { name: "Name" })).toHaveValue(
85+
expect(within(form).getByRole("textbox", { name: "Slug" })).toHaveValue(
8686
MockOrganization2.name,
8787
);
8888
});

0 commit comments

Comments
 (0)