We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cf111cc commit 1530703Copy full SHA for 1530703
dev-packages/e2e-tests/test-applications/nextjs-15/tests/prefetch-spans.test.ts
@@ -1,7 +1,9 @@
1
import { expect, test } from '@playwright/test';
2
import { waitForTransaction } from '@sentry-internal/test-utils';
3
4
-test('Prefetch client spans should have the right op', async ({ page }) => {
+test('Prefetch client spans should have a http.request.prefetch attribute', async ({ page }) => {
5
+ test.skip(process.env.TEST_ENV === 'development', "Prefetch requests don't have the prefetch header in dev mode");
6
+
7
const pageloadTransactionPromise = waitForTransaction('nextjs-15', async transactionEvent => {
8
return transactionEvent?.transaction === '/prefetching';
9
});
0 commit comments