Skip to content

Commit b54f4c2

Browse files
committed
fix tests
1 parent 11f15bb commit b54f4c2

File tree

8 files changed

+11
-0
lines changed

8 files changed

+11
-0
lines changed

dev-packages/browser-integration-tests/suites/tracing/metrics/web-vitals-cls-standalone-spans/test.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ sentryTest('captures a "GOOD" CLS vital with its source as a standalone span', a
6969
transaction: expect.stringContaining('index.html'),
7070
'user_agent.original': expect.stringContaining('Chrome'),
7171
'sentry.pageload.span_id': expect.stringMatching(/[a-f0-9]{16}/),
72+
'client.address': '{{auto}}',
7273
},
7374
description: expect.stringContaining('body > div#content > p'),
7475
exclusive_time: 0,
@@ -137,6 +138,7 @@ sentryTest('captures a "MEH" CLS vital with its source as a standalone span', as
137138
transaction: expect.stringContaining('index.html'),
138139
'user_agent.original': expect.stringContaining('Chrome'),
139140
'sentry.pageload.span_id': expect.stringMatching(/[a-f0-9]{16}/),
141+
'client.address': '{{auto}}',
140142
},
141143
description: expect.stringContaining('body > div#content > p'),
142144
exclusive_time: 0,
@@ -203,6 +205,7 @@ sentryTest('captures a "POOR" CLS vital with its source as a standalone span.',
203205
transaction: expect.stringContaining('index.html'),
204206
'user_agent.original': expect.stringContaining('Chrome'),
205207
'sentry.pageload.span_id': expect.stringMatching(/[a-f0-9]{16}/),
208+
'client.address': '{{auto}}',
206209
},
207210
description: expect.stringContaining('body > div#content > p'),
208211
exclusive_time: 0,
@@ -270,6 +273,7 @@ sentryTest(
270273
transaction: expect.stringContaining('index.html'),
271274
'user_agent.original': expect.stringContaining('Chrome'),
272275
'sentry.pageload.span_id': expect.stringMatching(/[a-f0-9]{16}/),
276+
'client.address': '{{auto}}',
273277
},
274278
description: 'Layout shift',
275279
exclusive_time: 0,

dev-packages/browser-integration-tests/suites/tracing/metrics/web-vitals-inp-late/test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ sentryTest('should capture an INP click event span after pageload', async ({ bro
7171
'sentry.source': 'custom',
7272
transaction: 'test-url',
7373
'user_agent.original': expect.stringContaining('Chrome'),
74+
'client.address': '{{auto}}',
7475
},
7576
measurements: {
7677
inp: {

dev-packages/browser-integration-tests/suites/tracing/metrics/web-vitals-inp-parametrized-late/test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ sentryTest(
7474
'sentry.source': 'custom',
7575
transaction: 'test-route',
7676
'user_agent.original': expect.stringContaining('Chrome'),
77+
'client.address': '{{auto}}',
7778
},
7879
measurements: {
7980
inp: {

dev-packages/browser-integration-tests/suites/tracing/metrics/web-vitals-inp-parametrized/test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ sentryTest(
7070
'sentry.origin': 'auto.http.browser.inp',
7171
transaction: 'test-route',
7272
'user_agent.original': expect.stringContaining('Chrome'),
73+
'client.address': '{{auto}}',
7374
},
7475
measurements: {
7576
inp: {

dev-packages/browser-integration-tests/suites/tracing/metrics/web-vitals-inp/test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ sentryTest('should capture an INP click event span during pageload', async ({ br
6969
'sentry.origin': 'auto.http.browser.inp',
7070
transaction: 'test-url',
7171
'user_agent.original': expect.stringContaining('Chrome'),
72+
'client.address': '{{auto}}',
7273
},
7374
measurements: {
7475
inp: {

dev-packages/e2e-tests/test-applications/react-17/tests/transactions.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ test('sends an INP span', async ({ page }) => {
8383
'sentry.exclusive_time': expect.any(Number),
8484
replay_id: expect.any(String),
8585
'user_agent.original': expect.stringContaining('Chrome'),
86+
'client.address': '{{auto}}',
8687
},
8788
description: 'body > div#root > input#exception-button[type="button"]',
8889
op: 'ui.interaction.click',

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ test('sends an INP span', async ({ page }) => {
8383
'sentry.exclusive_time': expect.any(Number),
8484
replay_id: expect.any(String),
8585
'user_agent.original': expect.stringContaining('Chrome'),
86+
'client.address': '{{auto}}',
8687
},
8788
description: 'body > div#root > input#exception-button[type="button"]',
8889
op: 'ui.interaction.click',

dev-packages/e2e-tests/test-applications/react-router-7-spa/tests/transactions.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ test('sends an INP span', async ({ page }) => {
8383
'sentry.exclusive_time': expect.any(Number),
8484
replay_id: expect.any(String),
8585
'user_agent.original': expect.stringContaining('Chrome'),
86+
'client.address': '{{auto}}',
8687
},
8788
description: 'body > div#root > input#exception-button[type="button"]',
8889
op: 'ui.interaction.click',

0 commit comments

Comments
 (0)