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 e989c13bf900..971d4f31521b 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 @@ -10,7 +10,7 @@ test('Captures a pageload transaction', async ({ page }) => { const transactionEvent = await transactionEventPromise; expect(transactionEvent.contexts?.trace).toEqual({ - data: { + data: expect.objectContaining({ deviceMemory: expect.any(String), effectiveConnectionType: expect.any(String), hardwareConcurrency: expect.any(String), @@ -19,7 +19,7 @@ test('Captures a pageload transaction', async ({ page }) => { 'sentry.origin': 'auto.pageload.react.reactrouter_v6', 'sentry.sample_rate': 1, 'sentry.source': 'route', - }, + }), op: 'pageload', span_id: expect.any(String), trace_id: expect.any(String), @@ -119,7 +119,7 @@ test('Captures a navigation transaction', async ({ page }) => { const transactionEvent = await transactionEventPromise; expect(transactionEvent.contexts?.trace).toEqual({ - data: { + data: expect.objectContaining({ deviceMemory: expect.any(String), effectiveConnectionType: expect.any(String), hardwareConcurrency: expect.any(String), @@ -128,7 +128,7 @@ test('Captures a navigation transaction', async ({ page }) => { 'sentry.origin': 'auto.navigation.react.reactrouter_v6', 'sentry.sample_rate': 1, 'sentry.source': 'route', - }, + }), op: 'navigation', span_id: expect.any(String), trace_id: expect.any(String),