Skip to content

Commit effe18f

Browse files
committed
rename in streaming app
1 parent 64b176e commit effe18f

3 files changed

Lines changed: 15 additions & 7 deletions

File tree

dev-packages/e2e-tests/test-applications/nextjs-16-cacheComponents/tests/cacheOriginLinksNesting.spec.ts renamed to dev-packages/e2e-tests/test-applications/nextjs-16-cacheComponents/tests/cacheOriginLinks-nesting.spec.ts

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import { waitForTransaction } from '@sentry-internal/test-utils';
99
// param. If Next serves the entry from the prerendered shell (Resume Data Cache) instead of the
1010
// cache handlers, there is no `cache.get` span at all — then this stays failing until Next
1111
// exposes RDC reads.
12-
test('links a cached layout hit to the trace that filled it', async ({ request }) => {
12+
test('links a cached layout hit to the trace that filled the layout entry', async ({ request }) => {
1313
test.fail();
1414

1515
const id = crypto.randomUUID();
@@ -53,7 +53,9 @@ test('links a cached layout hit to the trace that filled it', async ({ request }
5353

5454
// Inverse nesting: all layouts above are dynamic, only the leaf component is cached — the leaf
5555
// entry is the only span that carries a link.
56-
test('links a cached leaf under dynamic layouts to the trace that filled it', async ({ request }) => {
56+
test('links a cached leaf component under dynamic layouts to the trace that filled the leaf entry', async ({
57+
request,
58+
}) => {
5759
test.fail();
5860

5961
const id = crypto.randomUUID();
@@ -175,7 +177,9 @@ test('links two cached levels to different origin traces after the layout expire
175177

176178
// Routes `a` and `b` share one layout entry: a hit on `b` links to the fill trace of `a`, so the
177179
// origin is a different transaction than the serving one.
178-
test('links a shared layout hit on a sibling route to the route that filled it', async ({ request }) => {
180+
test('links a shared layout hit on a sibling route to the trace of the route that filled the entry', async ({
181+
request,
182+
}) => {
179183
test.fail();
180184

181185
const id = crypto.randomUUID();

‎dev-packages/e2e-tests/test-applications/nextjs-16-streaming-cacheComponents/tests/cacheOriginLinks-nesting.spec.ts‎

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { expect, test } from '@playwright/test';
22
import { collectStreamedSpans, getSpanOp } from '@sentry-internal/test-utils';
3-
import { CACHE_ORIGIN_LINK_ATTRIBUTES, findCacheSpan } from './cacheOriginLinkUtils';
3+
import { CACHE_ORIGIN_LINK_ATTRIBUTES, findCacheSpan } from './cacheOriginLinks-utils';
44

55
// Origin links (`sentry.link.type: 'cache_origin'` on `cache.get` hit spans, pointing at the
66
// filling `cache.put`) for `use cache` in nested layout trees under `app/(cached-nesting)/`.
@@ -10,7 +10,7 @@ import { CACHE_ORIGIN_LINK_ATTRIBUTES, findCacheSpan } from './cacheOriginLinkUt
1010
// param. If Next serves the entry from the prerendered shell (Resume Data Cache) instead of the
1111
// cache handlers, there is no `cache.get` span at all — then this stays failing until Next
1212
// exposes RDC reads.
13-
test('links a cached layout hit to the trace that filled it', async ({ request }) => {
13+
test('links a cached layout hit to the trace that filled the layout entry', async ({ request }) => {
1414
test.fail();
1515

1616
const id = crypto.randomUUID();
@@ -54,7 +54,9 @@ test('links a cached layout hit to the trace that filled it', async ({ request }
5454

5555
// Inverse nesting: all layouts above are dynamic, only the leaf component is cached — the leaf
5656
// entry is the only span that carries a link.
57-
test('links a cached leaf under dynamic layouts to the trace that filled it', async ({ request }) => {
57+
test('links a cached leaf component under dynamic layouts to the trace that filled the leaf entry', async ({
58+
request,
59+
}) => {
5860
test.fail();
5961

6062
const id = crypto.randomUUID();
@@ -180,7 +182,9 @@ test('links two cached levels to different origin traces after the layout expire
180182

181183
// Routes `a` and `b` share one layout entry: a hit on `b` links to the fill trace of `a`, so the
182184
// origin is a different transaction than the serving one.
183-
test('links a shared layout hit on a sibling route to the route that filled it', async ({ request }) => {
185+
test('links a shared layout hit on a sibling route to the trace of the route that filled the entry', async ({
186+
request,
187+
}) => {
184188
test.fail();
185189

186190
const id = crypto.randomUUID();

dev-packages/e2e-tests/test-applications/nextjs-16-streaming-cacheComponents/tests/cacheOriginLinkUtils.ts renamed to dev-packages/e2e-tests/test-applications/nextjs-16-streaming-cacheComponents/tests/cacheOriginLinks-utils.ts

File renamed without changes.

0 commit comments

Comments
 (0)