Skip to content

Commit 1c71162

Browse files
committed
fix integration test
1 parent 25021cd commit 1c71162

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

dev-packages/browser-integration-tests/suites/tracing/browserTracingIntegration/pageload-updateSpanName/test.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { expect } from '@playwright/test';
2-
import type { Event } from '@sentry/types';
2+
import type { Event } from '@sentry/core';
33

44
import {
55
SEMANTIC_ATTRIBUTE_SENTRY_OP,
@@ -12,12 +12,12 @@ import { getFirstSentryEnvelopeRequest, shouldSkipTracingTest } from '../../../.
1212

1313
sentryTest(
1414
'sets the source to custom when updating the transaction name with Sentry.updateSpanName',
15-
async ({ getLocalTestPath, page }) => {
15+
async ({ getLocalTestUrl, page }) => {
1616
if (shouldSkipTracingTest()) {
1717
sentryTest.skip();
1818
}
1919

20-
const url = await getLocalTestPath({ testDir: __dirname });
20+
const url = await getLocalTestUrl({ testDir: __dirname });
2121

2222
const eventData = await getFirstSentryEnvelopeRequest<Event>(page, url);
2323

packages/opentelemetry/test/utils/parseSpanDescription.test.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ import {
1818
import { SEMANTIC_ATTRIBUTE_SENTRY_SOURCE } from '@sentry/core';
1919
import {
2020
descriptionForHttpMethod,
21-
getUserUpdatedNameAndSource,
2221
getSanitizedUrl,
22+
getUserUpdatedNameAndSource,
2323
parseSpanDescription,
2424
} from '../../src/utils/parseSpanDescription';
2525

0 commit comments

Comments
 (0)