From cb21d0c696b044c6734bb8546458412808e78729 Mon Sep 17 00:00:00 2001 From: Ash Anand Date: Thu, 29 Aug 2024 15:29:38 -0400 Subject: [PATCH] update sentry.op in tests --- .../react-create-hash-router/tests/transactions.test.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 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 9bb80c1eff75..0c700f9fb270 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 @@ -42,7 +42,7 @@ test('Captures a pageload transaction', async ({ page }) => { expect(transactionEvent.spans).toContainEqual({ data: { 'sentry.origin': 'auto.ui.browser.metrics', - 'sentry.op': 'browser', + 'sentry.op': 'browser.domContentLoadedEvent', }, description: page.url(), op: 'browser.domContentLoadedEvent', @@ -56,7 +56,7 @@ test('Captures a pageload transaction', async ({ page }) => { expect(transactionEvent.spans).toContainEqual({ data: { 'sentry.origin': 'auto.ui.browser.metrics', - 'sentry.op': 'browser', + 'sentry.op': 'browser.connect', }, description: page.url(), op: 'browser.connect', @@ -70,7 +70,7 @@ test('Captures a pageload transaction', async ({ page }) => { expect(transactionEvent.spans).toContainEqual({ data: { 'sentry.origin': 'auto.ui.browser.metrics', - 'sentry.op': 'browser', + 'sentry.op': 'browser.request', }, description: page.url(), op: 'browser.request', @@ -84,7 +84,7 @@ test('Captures a pageload transaction', async ({ page }) => { expect(transactionEvent.spans).toContainEqual({ data: { 'sentry.origin': 'auto.ui.browser.metrics', - 'sentry.op': 'browser', + 'sentry.op': 'browser.response', }, description: page.url(), op: 'browser.response',