mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-13 06:32:03 +00:00
Merge remote-tracking branch 'origin/main' into release/v1.47.5
This commit is contained in:
commit
6994cb5ce8
6 files changed
+63
-17
No files matched your search
+2
-1
@@ -118,7 +118,8 @@ test.describe("login page", () => {
|
||||
await page.getByTestId("login-password-submit").click();
|
||||
|
||||
expect((await answer).status()).toBe(401);
|
||||
await expect(page.getByText("Invalid credentials")).toBeVisible();
|
||||
// The page says it in its own words, not the server's.
|
||||
await expect(page.getByText("Login failed")).toBeVisible();
|
||||
await expect(page).toHaveURL(/\/auth\/login/);
|
||||
expect(
|
||||
(await context.cookies()).some((c) => c.name === SESSION_COOKIE),
|
||||
|
||||
Reference in new issue
Block a user