Skip to content

Commit dafcd04

Browse files
authored
fix(e2e): Improve locator to avoid finding multiple elements (#3076)
1 parent accf9fa commit dafcd04

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

e2e-tests/admin/pages/login.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,7 @@ export class LoginPage extends BaseResourcePage {
1919
await this.page.getByRole('button', { name: 'Sign In' }).click();
2020
await expect(
2121
this.page.getByRole('navigation', {
22-
// TODO: Uncomment line below once both UIs have been refactored to use HDS side nav.
23-
// name: 'Application local navigation',
22+
name: 'Application local navigation',
2423
}),
2524
).toBeVisible();
2625
await expect(this.page.getByText(loginName)).toBeEnabled();

0 commit comments

Comments
 (0)