fix(create-pages): pass request url for createApi handler with search #631
Annotations
10 errors, 5 warnings, and 1 notice
Run pnpm exec playwright test --shard=1/4
Process completed with exit code 1.
|
Run pnpm exec playwright test --shard=1/4:
e2e/create-pages.spec.ts#L152
2) [chromium] › e2e/create-pages.spec.ts:149:5 › create-pages: PRD › api hi with search params ───
Retry #3 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
Expected: "hello world! https://localhost:49561/api/hi?foo=bar"
Received: "hello world!"
150 | const res = await fetch(`http://localhost:${port}/api/hi?foo=bar`);
151 | expect(res.status).toBe(200);
> 152 | expect(await res.text()).toBe(
| ^
153 | `hello world! https://localhost:${port}/api/hi?foo=bar`,
154 | );
155 | });
at /Users/runner/work/waku/waku/e2e/create-pages.spec.ts:152:32
|
Run pnpm exec playwright test --shard=1/4:
e2e/create-pages.spec.ts#L152
2) [chromium] › e2e/create-pages.spec.ts:149:5 › create-pages: PRD › api hi with search params ───
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
Expected: "hello world! https://localhost:49554/api/hi?foo=bar"
Received: "hello world!"
150 | const res = await fetch(`http://localhost:${port}/api/hi?foo=bar`);
151 | expect(res.status).toBe(200);
> 152 | expect(await res.text()).toBe(
| ^
153 | `hello world! https://localhost:${port}/api/hi?foo=bar`,
154 | );
155 | });
at /Users/runner/work/waku/waku/e2e/create-pages.spec.ts:152:32
|
Run pnpm exec playwright test --shard=1/4:
e2e/create-pages.spec.ts#L152
2) [chromium] › e2e/create-pages.spec.ts:149:5 › create-pages: PRD › api hi with search params ───
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
Expected: "hello world! https://localhost:49548/api/hi?foo=bar"
Received: "hello world!"
150 | const res = await fetch(`http://localhost:${port}/api/hi?foo=bar`);
151 | expect(res.status).toBe(200);
> 152 | expect(await res.text()).toBe(
| ^
153 | `hello world! https://localhost:${port}/api/hi?foo=bar`,
154 | );
155 | });
at /Users/runner/work/waku/waku/e2e/create-pages.spec.ts:152:32
|
Run pnpm exec playwright test --shard=1/4:
e2e/create-pages.spec.ts#L152
2) [chromium] › e2e/create-pages.spec.ts:149:5 › create-pages: PRD › api hi with search params ───
Error: expect(received).toBe(expected) // Object.is equality
Expected: "hello world! https://localhost:49536/api/hi?foo=bar"
Received: "hello world!"
150 | const res = await fetch(`http://localhost:${port}/api/hi?foo=bar`);
151 | expect(res.status).toBe(200);
> 152 | expect(await res.text()).toBe(
| ^
153 | `hello world! https://localhost:${port}/api/hi?foo=bar`,
154 | );
155 | });
at /Users/runner/work/waku/waku/e2e/create-pages.spec.ts:152:32
|
Run pnpm exec playwright test --shard=1/4:
e2e/create-pages.spec.ts#L152
1) [chromium] › e2e/create-pages.spec.ts:149:5 › create-pages: DEV › api hi with search params ───
Retry #3 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
Expected: "hello world! https://localhost:49432/api/hi?foo=bar"
Received: "hello world!"
150 | const res = await fetch(`http://localhost:${port}/api/hi?foo=bar`);
151 | expect(res.status).toBe(200);
> 152 | expect(await res.text()).toBe(
| ^
153 | `hello world! https://localhost:${port}/api/hi?foo=bar`,
154 | );
155 | });
at /Users/runner/work/waku/waku/e2e/create-pages.spec.ts:152:32
|
Run pnpm exec playwright test --shard=1/4:
e2e/create-pages.spec.ts#L152
1) [chromium] › e2e/create-pages.spec.ts:149:5 › create-pages: DEV › api hi with search params ───
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
Expected: "hello world! https://localhost:49426/api/hi?foo=bar"
Received: "hello world!"
150 | const res = await fetch(`http://localhost:${port}/api/hi?foo=bar`);
151 | expect(res.status).toBe(200);
> 152 | expect(await res.text()).toBe(
| ^
153 | `hello world! https://localhost:${port}/api/hi?foo=bar`,
154 | );
155 | });
at /Users/runner/work/waku/waku/e2e/create-pages.spec.ts:152:32
|
Run pnpm exec playwright test --shard=1/4:
e2e/create-pages.spec.ts#L152
1) [chromium] › e2e/create-pages.spec.ts:149:5 › create-pages: DEV › api hi with search params ───
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
Expected: "hello world! https://localhost:49420/api/hi?foo=bar"
Received: "hello world!"
150 | const res = await fetch(`http://localhost:${port}/api/hi?foo=bar`);
151 | expect(res.status).toBe(200);
> 152 | expect(await res.text()).toBe(
| ^
153 | `hello world! https://localhost:${port}/api/hi?foo=bar`,
154 | );
155 | });
at /Users/runner/work/waku/waku/e2e/create-pages.spec.ts:152:32
|
Run pnpm exec playwright test --shard=1/4:
e2e/create-pages.spec.ts#L152
1) [chromium] › e2e/create-pages.spec.ts:149:5 › create-pages: DEV › api hi with search params ───
Error: expect(received).toBe(expected) // Object.is equality
Expected: "hello world! https://localhost:49403/api/hi?foo=bar"
Received: "hello world!"
150 | const res = await fetch(`http://localhost:${port}/api/hi?foo=bar`);
151 | expect(res.status).toBe(200);
> 152 | expect(await res.text()).toBe(
| ^
153 | `hello world! https://localhost:${port}/api/hi?foo=bar`,
154 | );
155 | });
at /Users/runner/work/waku/waku/e2e/create-pages.spec.ts:152:32
|
Run pnpm exec playwright test --shard=1/4:
e2e/utils.ts#L0
stderr: Error: Not Found
at SyncPage (/Users/runner/work/_temp/broken-linksY05BLA/src/pages/dynamic-not-found/sync.tsx:5:3)
at resolveErrorDev (/Users/runner/work/_temp/broken-linksY05BLA/node_modules/.vite/waku-dev-server-main/deps_ssr/react-server-dom-webpack_client__edge.js:4899:65)
at processFullStringRow (/Users/runner/work/_temp/broken-linksY05BLA/node_modules/.vite/waku-dev-server-main/deps_ssr/react-server-dom-webpack_client__edge.js:5096:19)
at processFullBinaryRow (/Users/runner/work/_temp/broken-linksY05BLA/node_modules/.vite/waku-dev-server-main/deps_ssr/react-server-dom-webpack_client__edge.js:5084:9)
at progress (/Users/runner/work/_temp/broken-linksY05BLA/node_modules/.vite/waku-dev-server-main/deps_ssr/react-server-dom-webpack_client__edge.js:5230:80) {
environmentName: 'Server',
digest: '__WAKU_CUSTOM_ERROR__;{"status":404}'
}
|
Run pnpm exec playwright test --shard=1/4:
[chromium] › e2e/ssr-basic.spec.ts#L0
[chromium] › e2e/ssr-basic.spec.ts took 18.9s
|
Run pnpm exec playwright test --shard=1/4:
[chromium] › e2e/ssg-performance.spec.ts#L0
[chromium] › e2e/ssg-performance.spec.ts took 23.5s
|
Run pnpm exec playwright test --shard=1/4:
[chromium] › e2e/partial-build.spec.ts#L0
[chromium] › e2e/partial-build.spec.ts took 24.9s
|
Run pnpm exec playwright test --shard=1/4:
[chromium] › e2e/multi-platform.spec.ts#L0
[chromium] › e2e/multi-platform.spec.ts took 1.0m
|
Run pnpm exec playwright test --shard=1/4:
[chromium] › e2e/examples-smoke.spec.ts#L0
[chromium] › e2e/examples-smoke.spec.ts took 1.3m
|
Run pnpm exec playwright test --shard=1/4
2 failed
[chromium] › e2e/create-pages.spec.ts:149:5 › create-pages: DEV › api hi with search params ────
[chromium] › e2e/create-pages.spec.ts:149:5 › create-pages: PRD › api hi with search params ────
201 passed (11.8m)
|
Loading