Skip to content

Commit a3b59d3

Browse files
committed
fix: update selectors
1 parent dcd3e79 commit a3b59d3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

site/e2e/tests/organizationGroups.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ test("change quota settings", async ({ page }) => {
8484

8585
// Go to settings
8686
await page.goto(`/organizations/${org.name}/groups/${group.name}`);
87-
await page.getByRole("button", { name: "Settings" }).click();
87+
await page.getByRole("button", { name: "Settings", exact: true }).click();
8888
expectUrl(page).toHavePathName(
8989
`/organizations/${org.name}/groups/${group.name}/settings`,
9090
);
@@ -99,6 +99,6 @@ test("change quota settings", async ({ page }) => {
9999
);
100100

101101
// ...and that setting should persist if we go back
102-
await page.getByRole("button", { name: "Settings" }).click();
102+
await page.getByRole("button", { name: "Settings", exact: true }).click();
103103
await expect(page.getByLabel("Quota Allowance")).toHaveValue("100");
104104
});

0 commit comments

Comments
 (0)