Skip to content

Commit dcc693f

Browse files
committed
fix e2e test?
1 parent 7b5929a commit dcc693f

File tree

1 file changed

+3
-10
lines changed

1 file changed

+3
-10
lines changed

dev-packages/e2e-tests/test-applications/vue-3/tests/performance.test.ts

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,10 @@ test('sends a pageload transaction with a parameterized URL', async ({ page }) =
1414
contexts: {
1515
trace: {
1616
data: {
17-
params: {
18-
id: '456',
19-
},
2017
'sentry.source': 'route',
2118
'sentry.origin': 'auto.pageload.vue',
2219
'sentry.op': 'pageload',
20+
'params.id': '456',
2321
},
2422
op: 'pageload',
2523
origin: 'auto.pageload.vue',
@@ -52,23 +50,18 @@ test('sends a navigation transaction with a parameterized URL', async ({ page })
5250
contexts: {
5351
trace: {
5452
data: {
55-
params: {
56-
id: '123',
57-
},
5853
'sentry.source': 'route',
5954
'sentry.origin': 'auto.navigation.vue',
6055
'sentry.op': 'navigation',
56+
'params.id': '456',
6157
},
6258
op: 'navigation',
6359
origin: 'auto.navigation.vue',
6460
},
6561
},
6662
transaction: '/users/:id',
6763
transaction_info: {
68-
// So this is weird. The source is set to custom although the route doesn't have a name.
69-
// This also only happens during a navigation. A pageload will set the source as 'route'.
70-
// TODO: Figure out what's going on here.
71-
source: 'custom',
64+
source: 'route',
7265
},
7366
});
7467
});

0 commit comments

Comments
 (0)