chore: fixes to tests

This commit is contained in:
Stefan Benz
2024-11-15 13:34:06 +01:00
parent 7e4285b0bd
commit 96f1db9a84
4 changed files with 8 additions and 17 deletions

View File

@@ -19,6 +19,7 @@ export async function loginWithPasskey(page: Page, authenticatorId: string, user
}
export async function loginScreenExpect(page: Page, fullName: string) {
await expect(page).toHaveURL(/signedin.*/)
await expect(page.getByRole('heading')).toContainText(fullName);
}