test(e2e): Add Nuxt source maps test #55433
build.yml
on: pull_request
Get CI Metadata
/
Get Metadata
6s
Check PR branches
5s
Matrix: job_bundler_plugin_integration_tests
Matrix: job_node_integration_tests
Matrix: job_node_unit_tests
Lint
1m 12s
Circular Dependency Check
1m 41s
Browser Unit Tests
2m 26s
Bun Unit Tests
52s
Deno Unit Tests
1m 9s
Cloudflare Integration Tests
4m 58s
Bun Integration Tests
50s
Deno Integration Tests
57s
Check for faulty .d.ts files
36s
Matrix: job_browser_loader_tests
Matrix: job_browser_playwright_tests
Matrix: job_optional_e2e_tests
Matrix: job_e2e_tests
All required jobs passed or were skipped
3s
Annotations
13 errors and 3 notices
|
E2E nextjs-orpc Test (optional)
Process completed with exit code 1.
|
|
[chromium] › tests/orpc-tracing.test.ts:56:1 › should trace orpc client component:
../../_temp/test-application/tests/orpc-tracing.test.ts#L74
2) [chromium] › tests/orpc-tracing.test.ts:56:1 › should trace orpc client component ─────────────
Error: expect(received).toMatchObject(expected)
- Expected - 1
+ Received + 1
@@ -1,11 +1,11 @@
Object {
"data": Object {
"sentry.op": "navigation",
"sentry.origin": "auto.navigation.nextjs.app_router_instrumentation",
"sentry.previous_trace": Any<String>,
- "sentry.source": "url",
+ "sentry.source": "route",
},
"op": "navigation",
"origin": "auto.navigation.nextjs.app_router_instrumentation",
"span_id": Any<String>,
"trace_id": Any<String>,
72 | const orpcTx = await orpcTxPromise;
73 |
> 74 | expect(navigationTx.contexts?.trace).toMatchObject({
| ^
75 | span_id: expect.any(String),
76 | trace_id: expect.any(String),
77 | data: {
at /home/runner/work/_temp/test-application/tests/orpc-tracing.test.ts:74:40
|
|
[chromium] › tests/orpc-tracing.test.ts:4:1 › should trace orpc server component:
../../_temp/test-application/tests/orpc-tracing.test.ts#L17
1) [chromium] › tests/orpc-tracing.test.ts:4:1 › should trace orpc server component ──────────────
Error: expect(received).toMatchObject(expected)
- Expected - 1
+ Received + 1
@@ -1,10 +1,10 @@
Object {
"data": Object {
"sentry.op": "pageload",
"sentry.origin": "auto.pageload.nextjs.app_router_instrumentation",
- "sentry.source": "url",
+ "sentry.source": "route",
},
"op": "pageload",
"origin": "auto.pageload.nextjs.app_router_instrumentation",
"parent_span_id": Any<String>,
"span_id": Any<String>,
15 | const orpcTx = await orpcTxPromise;
16 |
> 17 | expect(pageloadTx.contexts?.trace).toMatchObject({
| ^
18 | parent_span_id: expect.any(String),
19 | span_id: expect.any(String),
20 | trace_id: expect.any(String),
at /home/runner/work/_temp/test-application/tests/orpc-tracing.test.ts:17:38
|
|
[chromium] › tests/parameterized-routes.test.ts:122:5 › should create a nested parameterized transaction when the `app` directory is used.:
../../_temp/test-application/tests/parameterized-routes.test.ts#L0
10) [chromium] › tests/parameterized-routes.test.ts:122:5 › should create a nested parameterized transaction when the `app` directory is used.
Test timeout of 30000ms exceeded.
|
|
[chromium] › tests/parameterized-routes.test.ts:83:5 › should create a partially parameterized transaction when the `app` directory is used:
../../_temp/test-application/tests/parameterized-routes.test.ts#L0
9) [chromium] › tests/parameterized-routes.test.ts:83:5 › should create a partially parameterized transaction when the `app` directory is used
Test timeout of 30000ms exceeded.
|
|
[chromium] › tests/parameterized-routes.test.ts:43:5 › should create a transaction named after the static route when the `app` directory is used:
../../_temp/test-application/tests/parameterized-routes.test.ts#L0
8) [chromium] › tests/parameterized-routes.test.ts:43:5 › should create a transaction named after the static route when the `app` directory is used
Test timeout of 30000ms exceeded.
|
|
[chromium] › tests/parameterized-routes.test.ts:4:5 › should create a parameterized transaction when the `app` directory is used:
../../_temp/test-application/tests/parameterized-routes.test.ts#L0
7) [chromium] › tests/parameterized-routes.test.ts:4:5 › should create a parameterized transaction when the `app` directory is used
Test timeout of 30000ms exceeded.
|
|
[chromium] › tests/isr-routes.test.ts:74:5 › ISR route should be identified correctly in the route manifest:
../../_temp/test-application/tests/isr-routes.test.ts#L0
6) [chromium] › tests/isr-routes.test.ts:74:5 › ISR route should be identified correctly in the route manifest
Test timeout of 30000ms exceeded.
|
|
[chromium] › tests/isr-routes.test.ts:44:5 › should create unique transactions for ISR pages on each visit:
../../_temp/test-application/tests/isr-routes.test.ts#L0
5) [chromium] › tests/isr-routes.test.ts:44:5 › should create unique transactions for ISR pages on each visit
Test timeout of 30000ms exceeded.
|
|
[chromium] › tests/isr-routes.test.ts:28:5 › should remove meta tags for different ISR dynamic route values:
../../_temp/test-application/tests/isr-routes.test.ts#L31
4) [chromium] › tests/isr-routes.test.ts:28:5 › should remove meta tags for different ISR dynamic route values
Error: expect(locator).toHaveText(expected) failed
Locator: locator('#isr-product-id')
Expected: "phone"
Timeout: 10000ms
Error: element(s) not found
Call log:
- Expect "toHaveText" with timeout 10000ms
- waiting for locator('#isr-product-id')
29 | // Test with 'phone' (one of the pre-generated static params)
30 | await page.goto('/isr-test/phone');
> 31 | await expect(page.locator('#isr-product-id')).toHaveText('phone');
| ^
32 |
33 | await expect(page.locator('meta[name="sentry-trace"]')).toHaveCount(0);
34 | await expect(page.locator('meta[name="baggage"]')).toHaveCount(0);
at /home/runner/work/_temp/test-application/tests/isr-routes.test.ts:31:49
|
|
[chromium] › tests/isr-routes.test.ts:16:5 › should remove sentry-trace and baggage meta tags on ISR static route:
../../_temp/test-application/tests/isr-routes.test.ts#L21
3) [chromium] › tests/isr-routes.test.ts:16:5 › should remove sentry-trace and baggage meta tags on ISR static route
Error: expect(locator).toHaveText(expected) failed
Locator: locator('#isr-static-marker')
Expected: "static-isr"
Timeout: 10000ms
Error: element(s) not found
Call log:
- Expect "toHaveText" with timeout 10000ms
- waiting for locator('#isr-static-marker')
19 |
20 | // Wait for page to be fully loaded
> 21 | await expect(page.locator('#isr-static-marker')).toHaveText('static-isr');
| ^
22 |
23 | // Check that sentry-trace and baggage meta tags are removed for ISR pages
24 | await expect(page.locator('meta[name="sentry-trace"]')).toHaveCount(0);
at /home/runner/work/_temp/test-application/tests/isr-routes.test.ts:21:52
|
|
[chromium] › tests/isr-routes.test.ts:4:5 › should remove sentry-trace and baggage meta tags on ISR dynamic route page load:
../../_temp/test-application/tests/isr-routes.test.ts#L9
2) [chromium] › tests/isr-routes.test.ts:4:5 › should remove sentry-trace and baggage meta tags on ISR dynamic route page load
Error: expect(locator).toHaveText(expected) failed
Locator: locator('#isr-product-id')
Expected: "laptop"
Timeout: 10000ms
Error: element(s) not found
Call log:
- Expect "toHaveText" with timeout 10000ms
- waiting for locator('#isr-product-id')
7 |
8 | // Wait for page to be fully loaded
> 9 | await expect(page.locator('#isr-product-id')).toHaveText('laptop');
| ^
10 |
11 | // Check that sentry-trace and baggage meta tags are removed for ISR pages
12 | await expect(page.locator('meta[name="sentry-trace"]')).toHaveCount(0);
at /home/runner/work/_temp/test-application/tests/isr-routes.test.ts:9:49
|
|
[chromium] › tests/cloudflare-runtime.test.ts:5:7 › Cloudflare Runtime › Should report cloudflare as the runtime in API route error events:
../../_temp/test-application/tests/cloudflare-runtime.test.ts#L0
1) [chromium] › tests/cloudflare-runtime.test.ts:5:7 › Cloudflare Runtime › Should report cloudflare as the runtime in API route error events
Test timeout of 30000ms exceeded.
|
|
🎭 Playwright Run Summary
15 skipped
12 passed (23.7s)
|
|
🎭 Playwright Run Summary
2 failed
[chromium] › tests/orpc-tracing.test.ts:4:1 › should trace orpc server component ───────────────
[chromium] › tests/orpc-tracing.test.ts:56:1 › should trace orpc client component ──────────────
1 passed (7.9s)
|
|
🎭 Playwright Run Summary
12 failed
[chromium] › tests/cloudflare-runtime.test.ts:5:7 › Cloudflare Runtime › Should report cloudflare as the runtime in API route error events
[chromium] › tests/isr-routes.test.ts:4:5 › should remove sentry-trace and baggage meta tags on ISR dynamic route page load
[chromium] › tests/isr-routes.test.ts:16:5 › should remove sentry-trace and baggage meta tags on ISR static route
[chromium] › tests/isr-routes.test.ts:28:5 › should remove meta tags for different ISR dynamic route values
[chromium] › tests/isr-routes.test.ts:44:5 › should create unique transactions for ISR pages on each visit
[chromium] › tests/isr-routes.test.ts:74:5 › ISR route should be identified correctly in the route manifest
[chromium] › tests/parameterized-routes.test.ts:4:5 › should create a parameterized transaction when the `app` directory is used
[chromium] › tests/parameterized-routes.test.ts:43:5 › should create a transaction named after the static route when the `app` directory is used
[chromium] › tests/parameterized-routes.test.ts:83:5 › should create a partially parameterized transaction when the `app` directory is used
[chromium] › tests/parameterized-routes.test.ts:122:5 › should create a nested parameterized transaction when the `app` directory is used.
[chromium] › tests/prefetch-spans.test.ts:5:5 › Prefetch client spans should have a http.request.prefetch attribute
[chromium] › tests/streaming-rsc-error.test.ts:4:5 › Should capture errors for crashing streaming promises in server components when `Sentry.captureRequestError` is added to the `onRequestError` hook
15 skipped
|