@@ -22,8 +22,8 @@ test.describe('distributed tracing', () => {
22
22
23
23
const baggageMetaTagContent = await page . locator ( 'meta[name="baggage"]' ) . getAttribute ( 'content' ) ;
24
24
25
- // URL-encoded for parametrized 'GET /test-param/s0me-param' -> `GET /test-param/:param`
26
- expect ( baggageMetaTagContent ) . toContain ( `sentry-transaction=GET%20%2Ftest-param%2F%3Aparam ` ) ;
25
+ // Parametrization does not work in Nuxt 3.7 yet (only in newer versions)
26
+ expect ( baggageMetaTagContent ) . toContain ( `sentry-transaction=GET%20%2Ftest-param%2F${ PARAM } ` ) ; // URL-encoded for 'GET /test-param/s0me-param'
27
27
expect ( baggageMetaTagContent ) . toContain ( `sentry-trace_id=${ serverTxnEvent . contexts ?. trace ?. trace_id } ` ) ;
28
28
expect ( baggageMetaTagContent ) . toContain ( 'sentry-sampled=true' ) ;
29
29
expect ( baggageMetaTagContent ) . toContain ( 'sentry-sample_rate=1' ) ;
@@ -48,8 +48,8 @@ test.describe('distributed tracing', () => {
48
48
} ) ;
49
49
50
50
expect ( serverTxnEvent ) . toMatchObject ( {
51
- transaction : `GET /test-param/:param() ` , // parametrized
52
- transaction_info : { source : 'route ' } ,
51
+ transaction : `GET /test-param/${ PARAM } ` , // Parametrization does not work in Nuxt 3.7 yet (only in newer versions)
52
+ transaction_info : { source : 'url ' } ,
53
53
type : 'transaction' ,
54
54
contexts : {
55
55
trace : {
@@ -122,8 +122,8 @@ test.describe('distributed tracing', () => {
122
122
expect ( ssrTxnEvent ) . toEqual (
123
123
expect . objectContaining ( {
124
124
type : 'transaction' ,
125
- transaction : `GET /test-param/user/:userId() ` , // parametrized route
126
- transaction_info : { source : 'route ' } ,
125
+ transaction : `GET /test-param/user/${ PARAM } ` , // Parametrization does not work in Nuxt 3.7 yet (only in newer versions)
126
+ transaction_info : { source : 'url ' } ,
127
127
contexts : expect . objectContaining ( {
128
128
trace : expect . objectContaining ( {
129
129
op : 'http.server' ,
0 commit comments