Skip to content

Commit caa5ef5

Browse files
committed
fix(e2e): Make locator explicit to avoid conflict when an ID has ok
1 parent 345f33c commit caa5ef5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

e2e-tests/admin/tests/auth-method-oidc-vault.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ test(
8484
// Set auth method as primary
8585
await page.getByText('Manage', { exact: true }).click();
8686
await page.getByRole('button', { name: 'Make Primary' }).click();
87-
await page.getByRole('button', { name: 'OK' }).click();
87+
await page.getByRole('button', { name: 'OK', exact: true }).click();
8888
await expect(
8989
page.getByRole('alert').getByText('Success', { exact: true }),
9090
).toBeVisible();

0 commit comments

Comments
 (0)