From db010bd165dcce891c2e27e79c0254a161aa78fc Mon Sep 17 00:00:00 2001 From: Ash Anand Date: Thu, 29 Aug 2024 15:05:14 -0400 Subject: [PATCH] update an e2e test i missed --- .../tests/transactions.test.ts | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/dev-packages/e2e-tests/test-applications/react-create-hash-router/tests/transactions.test.ts b/dev-packages/e2e-tests/test-applications/react-create-hash-router/tests/transactions.test.ts index 10442a4a2bde..9bb80c1eff75 100644 --- a/dev-packages/e2e-tests/test-applications/react-create-hash-router/tests/transactions.test.ts +++ b/dev-packages/e2e-tests/test-applications/react-create-hash-router/tests/transactions.test.ts @@ -44,8 +44,8 @@ test('Captures a pageload transaction', async ({ page }) => { 'sentry.origin': 'auto.ui.browser.metrics', 'sentry.op': 'browser', }, - description: 'domContentLoadedEvent', - op: 'browser', + description: page.url(), + op: 'browser.domContentLoadedEvent', parent_span_id: expect.any(String), span_id: expect.any(String), start_timestamp: expect.any(Number), @@ -58,8 +58,8 @@ test('Captures a pageload transaction', async ({ page }) => { 'sentry.origin': 'auto.ui.browser.metrics', 'sentry.op': 'browser', }, - description: 'connect', - op: 'browser', + description: page.url(), + op: 'browser.connect', parent_span_id: expect.any(String), span_id: expect.any(String), start_timestamp: expect.any(Number), @@ -72,8 +72,8 @@ test('Captures a pageload transaction', async ({ page }) => { 'sentry.origin': 'auto.ui.browser.metrics', 'sentry.op': 'browser', }, - description: 'request', - op: 'browser', + description: page.url(), + op: 'browser.request', parent_span_id: expect.any(String), span_id: expect.any(String), start_timestamp: expect.any(Number), @@ -86,8 +86,8 @@ test('Captures a pageload transaction', async ({ page }) => { 'sentry.origin': 'auto.ui.browser.metrics', 'sentry.op': 'browser', }, - description: 'response', - op: 'browser', + description: page.url(), + op: 'browser.response', parent_span_id: expect.any(String), span_id: expect.any(String), start_timestamp: expect.any(Number),