@@ -2,7 +2,7 @@ import { expect, test } from '@playwright/test';
2
2
import { waitForTransaction } from '@sentry-internal/test-utils' ;
3
3
4
4
test ( 'Sends an API route transaction' , async ( { baseURL } ) => {
5
- const pageloadTransactionEventPromise = waitForTransaction ( 'nestjs-basic ' , transactionEvent => {
5
+ const pageloadTransactionEventPromise = waitForTransaction ( 'nestjs-11 ' , transactionEvent => {
6
6
return (
7
7
transactionEvent ?. contexts ?. trace ?. op === 'http.server' &&
8
8
transactionEvent ?. transaction === 'GET /test-transaction'
@@ -125,7 +125,7 @@ test('Sends an API route transaction', async ({ baseURL }) => {
125
125
test ( 'API route transaction includes nest middleware span. Spans created in and after middleware are nested correctly' , async ( {
126
126
baseURL,
127
127
} ) => {
128
- const pageloadTransactionEventPromise = waitForTransaction ( 'nestjs-basic ' , transactionEvent => {
128
+ const pageloadTransactionEventPromise = waitForTransaction ( 'nestjs-11 ' , transactionEvent => {
129
129
return (
130
130
transactionEvent ?. contexts ?. trace ?. op === 'http.server' &&
131
131
transactionEvent ?. transaction === 'GET /test-middleware-instrumentation'
@@ -205,7 +205,7 @@ test('API route transaction includes nest middleware span. Spans created in and
205
205
test ( 'API route transaction includes nest guard span and span started in guard is nested correctly' , async ( {
206
206
baseURL,
207
207
} ) => {
208
- const transactionEventPromise = waitForTransaction ( 'nestjs-basic ' , transactionEvent => {
208
+ const transactionEventPromise = waitForTransaction ( 'nestjs-11 ' , transactionEvent => {
209
209
return (
210
210
transactionEvent ?. contexts ?. trace ?. op === 'http.server' &&
211
211
transactionEvent ?. transaction === 'GET /test-guard-instrumentation'
@@ -268,7 +268,7 @@ test('API route transaction includes nest guard span and span started in guard i
268
268
} ) ;
269
269
270
270
test ( 'API route transaction includes nest pipe span for valid request' , async ( { baseURL } ) => {
271
- const transactionEventPromise = waitForTransaction ( 'nestjs-basic ' , transactionEvent => {
271
+ const transactionEventPromise = waitForTransaction ( 'nestjs-11 ' , transactionEvent => {
272
272
return (
273
273
transactionEvent ?. contexts ?. trace ?. op === 'http.server' &&
274
274
transactionEvent ?. transaction === 'GET /test-pipe-instrumentation/:id' &&
@@ -305,7 +305,7 @@ test('API route transaction includes nest pipe span for valid request', async ({
305
305
} ) ;
306
306
307
307
test ( 'API route transaction includes nest pipe span for invalid request' , async ( { baseURL } ) => {
308
- const transactionEventPromise = waitForTransaction ( 'nestjs-basic ' , transactionEvent => {
308
+ const transactionEventPromise = waitForTransaction ( 'nestjs-11 ' , transactionEvent => {
309
309
return (
310
310
transactionEvent ?. contexts ?. trace ?. op === 'http.server' &&
311
311
transactionEvent ?. transaction === 'GET /test-pipe-instrumentation/:id' &&
@@ -344,7 +344,7 @@ test('API route transaction includes nest pipe span for invalid request', async
344
344
test ( 'API route transaction includes nest interceptor spans before route execution. Spans created in and after interceptor are nested correctly' , async ( {
345
345
baseURL,
346
346
} ) => {
347
- const pageloadTransactionEventPromise = waitForTransaction ( 'nestjs-basic ' , transactionEvent => {
347
+ const pageloadTransactionEventPromise = waitForTransaction ( 'nestjs-11 ' , transactionEvent => {
348
348
return (
349
349
transactionEvent ?. contexts ?. trace ?. op === 'http.server' &&
350
350
transactionEvent ?. transaction === 'GET /test-interceptor-instrumentation'
@@ -462,7 +462,7 @@ test('API route transaction includes nest interceptor spans before route executi
462
462
test ( 'API route transaction includes exactly one nest interceptor span after route execution. Spans created in controller and in interceptor are nested correctly' , async ( {
463
463
baseURL,
464
464
} ) => {
465
- const pageloadTransactionEventPromise = waitForTransaction ( 'nestjs-basic ' , transactionEvent => {
465
+ const pageloadTransactionEventPromise = waitForTransaction ( 'nestjs-11 ' , transactionEvent => {
466
466
return (
467
467
transactionEvent ?. contexts ?. trace ?. op === 'http.server' &&
468
468
transactionEvent ?. transaction === 'GET /test-interceptor-instrumentation'
@@ -544,7 +544,7 @@ test('API route transaction includes exactly one nest interceptor span after rou
544
544
test ( 'API route transaction includes nest async interceptor spans before route execution. Spans created in and after async interceptor are nested correctly' , async ( {
545
545
baseURL,
546
546
} ) => {
547
- const pageloadTransactionEventPromise = waitForTransaction ( 'nestjs-basic ' , transactionEvent => {
547
+ const pageloadTransactionEventPromise = waitForTransaction ( 'nestjs-11 ' , transactionEvent => {
548
548
return (
549
549
transactionEvent ?. contexts ?. trace ?. op === 'http.server' &&
550
550
transactionEvent ?. transaction === 'GET /test-async-interceptor-instrumentation'
@@ -629,7 +629,7 @@ test('API route transaction includes nest async interceptor spans before route e
629
629
test ( 'API route transaction includes exactly one nest async interceptor span after route execution. Spans created in controller and in async interceptor are nested correctly' , async ( {
630
630
baseURL,
631
631
} ) => {
632
- const pageloadTransactionEventPromise = waitForTransaction ( 'nestjs-basic ' , transactionEvent => {
632
+ const pageloadTransactionEventPromise = waitForTransaction ( 'nestjs-11 ' , transactionEvent => {
633
633
return (
634
634
transactionEvent ?. contexts ?. trace ?. op === 'http.server' &&
635
635
transactionEvent ?. transaction === 'GET /test-async-interceptor-instrumentation'
0 commit comments