♻️ Upgrade to next-auth v5 #3678
Annotations
4 errors and 1 notice
Run tests
@rallly/web#test:integration: command (/home/runner/work/rallly/rallly/apps/web) /tmp/yarn--1738899290288-0.3894078652017918/yarn run test:integration exited (1)
|
Run tests:
tests/authentication.spec.ts#L108
1) [chromium] › authentication.spec.ts:95:9 › existing user › shows error for invalid verification code
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: getByText('Your verification code is incorrect or has expired')
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for getByText('Your verification code is incorrect or has expired')
106 | await expect(
107 | page.getByText("Your verification code is incorrect or has expired"),
> 108 | ).toBeVisible();
| ^
109 | });
110 |
111 | test("can login with verification code", async ({ page }) => {
at /home/runner/work/rallly/rallly/apps/web/tests/authentication.spec.ts:108:9
|
Run tests:
tests/create-delete-poll.spec.ts#L34
2) [chromium] › create-delete-poll.spec.ts:24:7 › delete existing poll ───────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toHaveURL(expected)
Locator: locator(':root')
Expected string: "http://localhost:3002/login?redirectTo=%2Fpolls"
Received string: "http://localhost:3002/login?redirectTo=http%3A%2F%2Flocalhost%3A3002%2Fpolls"
Call log:
- expect.toHaveURL with timeout 5000ms
- waiting for locator(':root')
3 × locator resolved to <html lang="en" class="__className_d65c78">…</html>
- unexpected value "http://localhost:3002/poll/jlarxdipFt8I"
6 × locator resolved to <html lang="en" class="__className_d65c78">…</html>
- unexpected value "http://localhost:3002/login?redirectTo=http%3A%2F%2Flocalhost%3A3002%2Fpolls"
32 | deletePollDialog.getByRole("button", { name: "delete" }).click();
33 |
> 34 | await expect(page).toHaveURL("/login?redirectTo=%2Fpolls");
| ^
35 | });
36 | });
37 |
at /home/runner/work/rallly/rallly/apps/web/tests/create-delete-poll.spec.ts:34:24
|
Run tests
Process completed with exit code 1.
|
Run tests
2 failed
[chromium] › authentication.spec.ts:95:9 › existing user › shows error for invalid verification code
[chromium] › create-delete-poll.spec.ts:24:7 › delete existing poll ────────────────────────────
1 skipped
2 did not run
20 passed (41.9s)
|
Loading