chore: correct error message lockout policy

This commit is contained in:
Stefan Benz
2025-04-01 09:58:24 +02:00
parent e91be075b7
commit dd12b7971e

View File

@@ -29,7 +29,7 @@ export async function passwordScreen(page: Page, password: string) {
export async function passwordScreenExpect(page: Page, password: string) { export async function passwordScreenExpect(page: Page, password: string) {
await expect(page.getByTestId(passwordField)).toHaveValue(password); await expect(page.getByTestId(passwordField)).toHaveValue(password);
await expect(page.getByTestId("error").locator("div")).toContainText("Could not verify password"); await expect(page.getByTestId("error").locator("div")).toContainText("Failed to authenticate.");
} }
export async function changePasswordScreenExpect( export async function changePasswordScreenExpect(