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 1
1
import { expect } from '@playwright/test' ;
2
2
3
+ import {
4
+ SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN ,
5
+ SEMANTIC_ATTRIBUTE_SENTRY_SAMPLE_RATE ,
6
+ SEMANTIC_ATTRIBUTE_SENTRY_SOURCE ,
7
+ } from '@sentry/browser' ;
3
8
import { sentryTest } from '../../../../utils/fixtures' ;
4
9
import {
5
10
envelopeRequestParser ,
6
11
shouldSkipTracingTest ,
7
12
waitForTransactionRequestOnUrl ,
8
13
} 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' ;
14
14
15
15
sentryTest (
16
16
'sends a transaction in an envelope with manual origin and custom source' ,
Original file line number Diff line number Diff line change 1
1
import { expect } from '@playwright/test' ;
2
2
import type { Event } from '@sentry/types' ;
3
3
4
- import { sentryTest } from '../../../../utils/fixtures' ;
5
- import { getFirstSentryEnvelopeRequest , shouldSkipTracingTest } from '../../../../utils/helpers' ;
6
4
import {
7
5
SEMANTIC_ATTRIBUTE_SENTRY_OP ,
8
6
SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN ,
9
7
SEMANTIC_ATTRIBUTE_SENTRY_SAMPLE_RATE ,
10
8
SEMANTIC_ATTRIBUTE_SENTRY_SOURCE ,
11
9
} from '@sentry/browser' ;
10
+ import { sentryTest } from '../../../../utils/fixtures' ;
11
+ import { getFirstSentryEnvelopeRequest , shouldSkipTracingTest } from '../../../../utils/helpers' ;
12
12
13
13
sentryTest ( 'sets the source to custom when updating the transaction name' , async ( { getLocalTestPath, page } ) => {
14
14
if ( shouldSkipTracingTest ( ) ) {
Original file line number Diff line number Diff line change 1
1
import { expect } from '@playwright/test' ;
2
2
import type { Event } from '@sentry/types' ;
3
3
4
- import { sentryTest } from '../../../../utils/fixtures' ;
5
- import { getFirstSentryEnvelopeRequest , shouldSkipTracingTest } from '../../../../utils/helpers' ;
6
4
import {
7
5
SEMANTIC_ATTRIBUTE_SENTRY_OP ,
8
6
SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN ,
9
7
SEMANTIC_ATTRIBUTE_SENTRY_SAMPLE_RATE ,
10
8
SEMANTIC_ATTRIBUTE_SENTRY_SOURCE ,
11
9
} from '@sentry/browser' ;
10
+ import { sentryTest } from '../../../../utils/fixtures' ;
11
+ import { getFirstSentryEnvelopeRequest , shouldSkipTracingTest } from '../../../../utils/helpers' ;
12
12
13
13
sentryTest ( 'creates a pageload transaction with url as source' , async ( { getLocalTestPath, page } ) => {
14
14
if ( shouldSkipTracingTest ( ) ) {
You can’t perform that action at this time.
0 commit comments