Skip to content

Commit db010bd

Browse files
committed
update an e2e test i missed
1 parent f5955cb commit db010bd

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

dev-packages/e2e-tests/test-applications/react-create-hash-router/tests/transactions.test.ts

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@ test('Captures a pageload transaction', async ({ page }) => {
4444
'sentry.origin': 'auto.ui.browser.metrics',
4545
'sentry.op': 'browser',
4646
},
47-
description: 'domContentLoadedEvent',
48-
op: 'browser',
47+
description: page.url(),
48+
op: 'browser.domContentLoadedEvent',
4949
parent_span_id: expect.any(String),
5050
span_id: expect.any(String),
5151
start_timestamp: expect.any(Number),
@@ -58,8 +58,8 @@ test('Captures a pageload transaction', async ({ page }) => {
5858
'sentry.origin': 'auto.ui.browser.metrics',
5959
'sentry.op': 'browser',
6060
},
61-
description: 'connect',
62-
op: 'browser',
61+
description: page.url(),
62+
op: 'browser.connect',
6363
parent_span_id: expect.any(String),
6464
span_id: expect.any(String),
6565
start_timestamp: expect.any(Number),
@@ -72,8 +72,8 @@ test('Captures a pageload transaction', async ({ page }) => {
7272
'sentry.origin': 'auto.ui.browser.metrics',
7373
'sentry.op': 'browser',
7474
},
75-
description: 'request',
76-
op: 'browser',
75+
description: page.url(),
76+
op: 'browser.request',
7777
parent_span_id: expect.any(String),
7878
span_id: expect.any(String),
7979
start_timestamp: expect.any(Number),
@@ -86,8 +86,8 @@ test('Captures a pageload transaction', async ({ page }) => {
8686
'sentry.origin': 'auto.ui.browser.metrics',
8787
'sentry.op': 'browser',
8888
},
89-
description: 'response',
90-
op: 'browser',
89+
description: page.url(),
90+
op: 'browser.response',
9191
parent_span_id: expect.any(String),
9292
span_id: expect.any(String),
9393
start_timestamp: expect.any(Number),

0 commit comments

Comments
 (0)