diff --git a/dev-packages/e2e-tests/test-applications/nextjs-15/app/page-with-prefetch/page.tsx b/dev-packages/e2e-tests/test-applications/nextjs-15/app/page-with-prefetch/page.tsx deleted file mode 100644 index 11fe7bf7b1da..000000000000 --- a/dev-packages/e2e-tests/test-applications/nextjs-15/app/page-with-prefetch/page.tsx +++ /dev/null @@ -1,5 +0,0 @@ -import Link from 'next/link'; - -export default function Page() { - return prefetchable page; -} diff --git a/dev-packages/e2e-tests/test-applications/nextjs-15/app/prefetchable-page/loading.tsx b/dev-packages/e2e-tests/test-applications/nextjs-15/app/prefetchable-page/loading.tsx deleted file mode 100644 index d650c6c1b5ae..000000000000 --- a/dev-packages/e2e-tests/test-applications/nextjs-15/app/prefetchable-page/loading.tsx +++ /dev/null @@ -1,5 +0,0 @@ -export const dynamic = 'force-dynamic'; - -export default function Page() { - return

loading

; -} diff --git a/dev-packages/e2e-tests/test-applications/nextjs-15/app/prefetchable-page/page.tsx b/dev-packages/e2e-tests/test-applications/nextjs-15/app/prefetchable-page/page.tsx deleted file mode 100644 index 6b929e90bde8..000000000000 --- a/dev-packages/e2e-tests/test-applications/nextjs-15/app/prefetchable-page/page.tsx +++ /dev/null @@ -1,5 +0,0 @@ -export const dynamic = 'force-dynamic'; - -export default function Page() { - return

hello

; -} diff --git a/dev-packages/e2e-tests/test-applications/nextjs-15/tests/prefetch-tracing.test.ts b/dev-packages/e2e-tests/test-applications/nextjs-15/tests/prefetch-tracing.test.ts deleted file mode 100644 index 4c1f17e1043e..000000000000 --- a/dev-packages/e2e-tests/test-applications/nextjs-15/tests/prefetch-tracing.test.ts +++ /dev/null @@ -1,13 +0,0 @@ -import { expect, test } from '@playwright/test'; -import { waitForTransaction } from '@sentry-internal/test-utils'; - -test('Should capture transactions with `http.server.prefetch` op for prefetch traces', async ({ page }) => { - const serverPrefetchTransactionPromise = waitForTransaction('nextjs-15', async transactionEvent => { - return transactionEvent?.transaction === 'GET /prefetchable-page'; - }); - - await page.goto(`/page-with-prefetch`); - - const serverPrefetchTransaction = await serverPrefetchTransactionPromise; - expect(serverPrefetchTransaction.contexts?.trace?.op).toBe('http.server.prefetch'); -});