fix(e2e): Improve locator to avoid finding multiple elements (#3076)

This commit is contained in:
Michael Li authored and GitHub committed 2025-11-18 17:00:45 -05:00
1 parent accf9faf60
commit dafcd046d7
1 file changed
+1 -2
+1 -2
View File
@@ -19,8 +19,7 @@ export class LoginPage extends BaseResourcePage {
await this.page.getByRole('button', { name: 'Sign In' }).click();
await expect(
this.page.getByRole('navigation', {
// TODO: Uncomment line below once both UIs have been refactored to use HDS side nav.
// name: 'Application local navigation',
name: 'Application local navigation',
}),
).toBeVisible();
await expect(this.page.getByText(loginName)).toBeEnabled();