File tree Expand file tree Collapse file tree 8 files changed +12
-4
lines changed
dev-packages/e2e-tests/test-applications Expand file tree Collapse file tree 8 files changed +12
-4
lines changed Original file line number Diff line number Diff line change 31
31
"devDependencies" : {
32
32
"@playwright/test" : " ~1.50.0" ,
33
33
"@sentry-internal/test-utils" : " link:../../../test-utils" ,
34
+ "@sentry/core" : " latest || *" ,
34
35
"@angular-devkit/build-angular" : " ^17.1.1" ,
35
36
"@angular/cli" : " ^17.1.1" ,
36
37
"@angular/compiler-cli" : " ^17.1.0" ,
Original file line number Diff line number Diff line change 1
1
import { expect , test } from '@playwright/test' ;
2
2
import { waitForTransaction } from '@sentry-internal/test-utils' ;
3
- import { SEMANTIC_ATTRIBUTE_SENTRY_OP , SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN } from '@sentry/angular' ;
3
+ // Cannot use @sentry /angular here due to build stuff
4
+ import { SEMANTIC_ATTRIBUTE_SENTRY_OP , SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN } from '@sentry/core' ;
4
5
5
6
test ( 'sends a pageload transaction with a parameterized URL' , async ( { page } ) => {
6
7
const transactionPromise = waitForTransaction ( 'angular-17' , async transactionEvent => {
Original file line number Diff line number Diff line change 31
31
"devDependencies" : {
32
32
"@playwright/test" : " ~1.50.0" ,
33
33
"@sentry-internal/test-utils" : " link:../../../test-utils" ,
34
+ "@sentry/core" : " latest || *" ,
34
35
"@angular-devkit/build-angular" : " ^18.0.0" ,
35
36
"@angular/cli" : " ^18.0.0" ,
36
37
"@angular/compiler-cli" : " ^18.0.0" ,
Original file line number Diff line number Diff line change 1
1
import { expect , test } from '@playwright/test' ;
2
2
import { waitForTransaction } from '@sentry-internal/test-utils' ;
3
- import { SEMANTIC_ATTRIBUTE_SENTRY_OP , SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN } from '@sentry/angular' ;
3
+ // Cannot use @sentry /angular here due to build stuff
4
+ import { SEMANTIC_ATTRIBUTE_SENTRY_OP , SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN } from '@sentry/core' ;
4
5
5
6
test ( 'sends a pageload transaction with a parameterized URL' , async ( { page } ) => {
6
7
const transactionPromise = waitForTransaction ( 'angular-18' , async transactionEvent => {
Original file line number Diff line number Diff line change 34
34
"@angular/compiler-cli" : " ^19.0.0" ,
35
35
"@playwright/test" : " ~1.50.0" ,
36
36
"@sentry-internal/test-utils" : " link:../../../test-utils" ,
37
+ "@sentry/core" : " latest || *" ,
37
38
"@types/jasmine" : " ~5.1.0" ,
38
39
"http-server" : " ^14.1.1" ,
39
40
"jasmine-core" : " ~5.4.0" ,
Original file line number Diff line number Diff line change 1
1
import { expect , test } from '@playwright/test' ;
2
2
import { waitForTransaction } from '@sentry-internal/test-utils' ;
3
- import { SEMANTIC_ATTRIBUTE_SENTRY_OP , SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN } from '@sentry/angular' ;
3
+ // Cannot use @sentry /angular here due to build stuff
4
+ import { SEMANTIC_ATTRIBUTE_SENTRY_OP , SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN } from '@sentry/core' ;
4
5
5
6
test ( 'sends a pageload transaction with a parameterized URL' , async ( { page } ) => {
6
7
const transactionPromise = waitForTransaction ( 'angular-18' , async transactionEvent => {
Original file line number Diff line number Diff line change 35
35
"@angular/compiler-cli" : " ^20.0.0" ,
36
36
"@playwright/test" : " ~1.50.0" ,
37
37
"@sentry-internal/test-utils" : " link:../../../test-utils" ,
38
+ "@sentry/core" : " latest || *" ,
38
39
"@types/jasmine" : " ~5.1.0" ,
39
40
"http-server" : " ^14.1.1" ,
40
41
"jasmine-core" : " ~5.4.0" ,
Original file line number Diff line number Diff line change 1
1
import { expect , test } from '@playwright/test' ;
2
2
import { waitForTransaction } from '@sentry-internal/test-utils' ;
3
- import { SEMANTIC_ATTRIBUTE_SENTRY_OP , SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN } from '@sentry/angular' ;
3
+ // Cannot use @sentry /angular here due to build stuff
4
+ import { SEMANTIC_ATTRIBUTE_SENTRY_OP , SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN } from '@sentry/core' ;
4
5
5
6
test ( 'sends a pageload transaction with a parameterized URL' , async ( { page } ) => {
6
7
const transactionPromise = waitForTransaction ( 'angular-20' , async transactionEvent => {
You can’t perform that action at this time.
0 commit comments