Skip to content

Commit 429542a

Browse files
committed
One more playwright fix
1 parent 05a981f commit 429542a

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

frontend/tests/utils/user.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,7 @@ export async function logInUser(page: Page, email: string, password: string) {
2323
await page.getByPlaceholder("Password", { exact: true }).fill(password)
2424
await page.getByRole("button", { name: "Log In" }).click()
2525
await page.waitForURL("/")
26-
await expect(
27-
page.getByText("Welcome back, nice to see you again!"),
28-
).toBeVisible()
26+
await expect(page.getByText(/Welcome back/)).toBeVisible()
2927
}
3028

3129
export async function logOutUser(page: Page) {

0 commit comments

Comments
 (0)