fix(e2e): Improve locator to avoid finding multiple elements (#3076)
This commit is contained in:
1 parent
accf9faf60
commit
dafcd046d7
1 file changed
+1
-2
@@ -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();
|
||||
|
||||
Reference in new issue
Block a user