Skip to content

Commit 9d145af

Browse files
authored
Fix E2E Tests (#7998)
Addresses an MSA UX change that broke E2E tests
1 parent 2e357d6 commit 9d145af

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

samples/e2eTestUtils/src/TestUtils.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -217,6 +217,7 @@ export const SUCCESSFUL_GET_ALL_ACCOUNTS_ID = "accounts-retrieved-successfully";
217217

218218
export async function fillPassword(page: Page, screenshot: Screenshot, password: string): Promise<void> {
219219
try {
220+
await page.locator('span ::-p-text(Use your password)').setTimeout(1000).click().catch(() => {});
220221
await screenshot.takeScreenshot(page, "passwordPage");
221222
await page.locator(`${Object.values(PasswordInputSelectors).join(", ")}`).setTimeout(2000).fill(password);
222223
await screenshot.takeScreenshot(page, "loginPagePasswordFilled");

0 commit comments

Comments
 (0)