Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
await pageload
  • Loading branch information
s1gr1d committed Sep 15, 2025
commit 4d3cdab79b54b799ddeee845acc6e2dc2b99f091
Original file line number Diff line number Diff line change
@@ -1,12 +1,6 @@
import { expect } from '@playwright/test';
import type { Event as SentryEvent } from '@sentry/core';
import { sentryTest } from '../../../../utils/fixtures';
import {
envelopeRequestParser,
getFirstSentryEnvelopeRequest,
shouldSkipTracingTest,
waitForTransactionRequest,
} from '../../../../utils/helpers';
import { envelopeRequestParser, shouldSkipTracingTest, waitForTransactionRequest } from '../../../../utils/helpers';

sentryTest(
'click-triggered navigation should produce a root navigation transaction',
Expand All @@ -18,7 +12,7 @@ sentryTest(
const url = await getLocalTestUrl({ testDir: __dirname });

await page.goto(url);
await getFirstSentryEnvelopeRequest<SentryEvent>(page);
await waitForTransactionRequest(page); // "pageload" root span

const interactionRequestPromise = waitForTransactionRequest(
page,
Expand Down
Loading