File tree Expand file tree Collapse file tree 3 files changed +9
-9
lines changed
dev-packages/browser-integration-tests/suites
public-api/startSpan/basic
tracing/browserTracingIntegration Expand file tree Collapse file tree 3 files changed +9
-9
lines changed Original file line number Diff line number Diff line change 11import { expect } from '@playwright/test' ;
22
3+ import {
4+ SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN ,
5+ SEMANTIC_ATTRIBUTE_SENTRY_SAMPLE_RATE ,
6+ SEMANTIC_ATTRIBUTE_SENTRY_SOURCE ,
7+ } from '@sentry/browser' ;
38import { sentryTest } from '../../../../utils/fixtures' ;
49import {
510 envelopeRequestParser ,
611 shouldSkipTracingTest ,
712 waitForTransactionRequestOnUrl ,
813} from '../../../../utils/helpers' ;
9- import {
10- SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN ,
11- SEMANTIC_ATTRIBUTE_SENTRY_SAMPLE_RATE ,
12- SEMANTIC_ATTRIBUTE_SENTRY_SOURCE ,
13- } from '@sentry/browser' ;
1414
1515sentryTest (
1616 'sends a transaction in an envelope with manual origin and custom source' ,
Original file line number Diff line number Diff line change 11import { expect } from '@playwright/test' ;
22import type { Event } from '@sentry/types' ;
33
4- import { sentryTest } from '../../../../utils/fixtures' ;
5- import { getFirstSentryEnvelopeRequest , shouldSkipTracingTest } from '../../../../utils/helpers' ;
64import {
75 SEMANTIC_ATTRIBUTE_SENTRY_OP ,
86 SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN ,
97 SEMANTIC_ATTRIBUTE_SENTRY_SAMPLE_RATE ,
108 SEMANTIC_ATTRIBUTE_SENTRY_SOURCE ,
119} from '@sentry/browser' ;
10+ import { sentryTest } from '../../../../utils/fixtures' ;
11+ import { getFirstSentryEnvelopeRequest , shouldSkipTracingTest } from '../../../../utils/helpers' ;
1212
1313sentryTest ( 'sets the source to custom when updating the transaction name' , async ( { getLocalTestPath, page } ) => {
1414 if ( shouldSkipTracingTest ( ) ) {
Original file line number Diff line number Diff line change 11import { expect } from '@playwright/test' ;
22import type { Event } from '@sentry/types' ;
33
4- import { sentryTest } from '../../../../utils/fixtures' ;
5- import { getFirstSentryEnvelopeRequest , shouldSkipTracingTest } from '../../../../utils/helpers' ;
64import {
75 SEMANTIC_ATTRIBUTE_SENTRY_OP ,
86 SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN ,
97 SEMANTIC_ATTRIBUTE_SENTRY_SAMPLE_RATE ,
108 SEMANTIC_ATTRIBUTE_SENTRY_SOURCE ,
119} from '@sentry/browser' ;
10+ import { sentryTest } from '../../../../utils/fixtures' ;
11+ import { getFirstSentryEnvelopeRequest , shouldSkipTracingTest } from '../../../../utils/helpers' ;
1212
1313sentryTest ( 'creates a pageload transaction with url as source' , async ( { getLocalTestPath, page } ) => {
1414 if ( shouldSkipTracingTest ( ) ) {
You can’t perform that action at this time.
0 commit comments