change error messages

This commit is contained in:
Max Peintner
2025-01-03 11:33:14 +01:00
parent f1b8235633
commit 41d8ab9bd9
7 changed files with 9 additions and 9 deletions

View File

@@ -8,5 +8,5 @@ export async function loginnameScreen(page: Page, username: string) {
export async function loginnameScreenExpect(page: Page, username: string) {
await expect(page.getByTestId(usernameTextInput)).toHaveValue(username);
await expect(page.getByTestId("error").locator("div")).toContainText("Could not find user");
await expect(page.getByTestId("error").locator("div")).toContainText("User not found in the system");
}