Skip to content

Commit

Permalink
fix microsoft component locator
Browse files Browse the repository at this point in the history
  • Loading branch information
aehnh committed Nov 26, 2024
1 parent b526f21 commit 3c5bbc8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export const socialLogin = async (page: Page, email: string, password: string) =
await page.getByPlaceholder('Password').fill(password);
await expect(page.getByPlaceholder('Password')).toHaveValue(password);

await page.getByRole('button', { name: 'Sign in' }).click();
await page.getByTestId('textButtonContainer').getByRole('button', { name: 'Sign in' }).click();
await expect(page.getByRole('heading', { level: 1 })).toHaveText('Stay signed in?');

await page.getByRole('button', { name: 'No' }).click();
Expand Down

0 comments on commit 3c5bbc8

Please sign in to comment.