Skip to content

Commit 6e2adb5

Browse files
test: 💍 fix e2e test selector
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-17231
1 parent 0de4f27 commit 6e2adb5

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

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

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -133,9 +133,7 @@ test(
133133
).toBeVisible();
134134

135135
// Log back in as an admin
136-
await page.getByRole('button', { name: 'User Menu' }).click();
137-
await page.getByRole('button', { name: 'Sign Out' }).click();
138-
await expect(page.getByRole('button', { name: 'Sign In' })).toBeVisible();
136+
await loginPage.logout(email);
139137
await loginPage.login(adminLoginName, adminPassword);
140138
await expect(
141139
page.getByRole('navigation', { name: 'breadcrumbs' }).getByText('Orgs'),

0 commit comments

Comments
 (0)