Skip to content

Commit

Permalink
fix integration test
Browse files Browse the repository at this point in the history
  • Loading branch information
Lms24 committed Dec 12, 2024
1 parent 25021cd commit 1c71162
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { expect } from '@playwright/test';
import type { Event } from '@sentry/types';
import type { Event } from '@sentry/core';

import {
SEMANTIC_ATTRIBUTE_SENTRY_OP,
Expand All @@ -12,12 +12,12 @@ import { getFirstSentryEnvelopeRequest, shouldSkipTracingTest } from '../../../.

sentryTest(
'sets the source to custom when updating the transaction name with Sentry.updateSpanName',
async ({ getLocalTestPath, page }) => {
async ({ getLocalTestUrl, page }) => {
if (shouldSkipTracingTest()) {
sentryTest.skip();
}

const url = await getLocalTestPath({ testDir: __dirname });
const url = await getLocalTestUrl({ testDir: __dirname });

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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ import {
import { SEMANTIC_ATTRIBUTE_SENTRY_SOURCE } from '@sentry/core';
import {
descriptionForHttpMethod,
getUserUpdatedNameAndSource,
getSanitizedUrl,
getUserUpdatedNameAndSource,
parseSpanDescription,
} from '../../src/utils/parseSpanDescription';

Expand Down

0 comments on commit 1c71162

Please sign in to comment.