diff --git a/dev-packages/browser-integration-tests/suites/public-api/instrumentation/xhr/onreadystatechange/subject.js b/dev-packages/browser-integration-tests/suites/public-api/instrumentation/xhr/onreadystatechange/subject.js index a51740976b6a..db9f6cb4616a 100644 --- a/dev-packages/browser-integration-tests/suites/public-api/instrumentation/xhr/onreadystatechange/subject.js +++ b/dev-packages/browser-integration-tests/suites/public-api/instrumentation/xhr/onreadystatechange/subject.js @@ -1,6 +1,6 @@ window.calls = {}; const xhr = new XMLHttpRequest(); -xhr.open('GET', 'http://example.com'); +xhr.open('GET', 'http://sentry-test-site.example'); xhr.onreadystatechange = function wat() { window.calls[xhr.readyState] = window.calls[xhr.readyState] ? window.calls[xhr.readyState] + 1 : 1; }; diff --git a/dev-packages/browser-integration-tests/suites/public-api/instrumentation/xhr/onreadystatechange/test.ts b/dev-packages/browser-integration-tests/suites/public-api/instrumentation/xhr/onreadystatechange/test.ts index f9b1816c6f2d..5b693af2f9d4 100644 --- a/dev-packages/browser-integration-tests/suites/public-api/instrumentation/xhr/onreadystatechange/test.ts +++ b/dev-packages/browser-integration-tests/suites/public-api/instrumentation/xhr/onreadystatechange/test.ts @@ -7,7 +7,7 @@ sentryTest( async ({ getLocalTestUrl, page }) => { const url = await getLocalTestUrl({ testDir: __dirname }); - await page.route('http://example.com/', route => { + await page.route('http://sentry-test-site.example/', route => { return route.fulfill({ status: 200, contentType: 'application/json', diff --git a/dev-packages/browser-integration-tests/suites/replay/requests/subject.js b/dev-packages/browser-integration-tests/suites/replay/requests/subject.js index a58f304fc687..e3e775227709 100644 --- a/dev-packages/browser-integration-tests/suites/replay/requests/subject.js +++ b/dev-packages/browser-integration-tests/suites/replay/requests/subject.js @@ -6,11 +6,11 @@ document.getElementById('go-background').addEventListener('click', () => { }); document.getElementById('fetch').addEventListener('click', () => { - fetch('https://example.com', { method: 'POST', body: 'foo' }); + fetch('https://sentry-test-site.example', { method: 'POST', body: 'foo' }); }); document.getElementById('xhr').addEventListener('click', () => { const xhr = new XMLHttpRequest(); - xhr.open('GET', 'https://example.com'); + xhr.open('GET', 'https://sentry-test-site.example'); xhr.send(); }); diff --git a/dev-packages/browser-integration-tests/suites/replay/requests/test.ts b/dev-packages/browser-integration-tests/suites/replay/requests/test.ts index efb344382b69..fc7693bf1003 100644 --- a/dev-packages/browser-integration-tests/suites/replay/requests/test.ts +++ b/dev-packages/browser-integration-tests/suites/replay/requests/test.ts @@ -10,7 +10,7 @@ sentryTest('replay recording should contain fetch request span', async ({ getLoc sentryTest.skip(); } - await page.route('https://example.com', route => { + await page.route('https://sentry-test-site.example', route => { return route.fulfill({ status: 200, contentType: 'application/json', @@ -27,7 +27,7 @@ sentryTest('replay recording should contain fetch request span', async ({ getLoc const { performanceSpans: spans0 } = getReplayRecordingContent(req0); - await Promise.all([page.waitForResponse('https://example.com'), page.locator('#fetch').click()]); + await Promise.all([page.waitForResponse('https://sentry-test-site.example'), page.locator('#fetch').click()]); const { performanceSpans: spans1 } = getReplayRecordingContent(await reqPromise1); @@ -40,7 +40,7 @@ sentryTest('replay recording should contain XHR request span', async ({ getLocal sentryTest.skip(); } - await page.route('https://example.com', route => { + await page.route('https://sentry-test-site.example', route => { return route.fulfill({ status: 200, contentType: 'application/json', @@ -57,7 +57,7 @@ sentryTest('replay recording should contain XHR request span', async ({ getLocal const { performanceSpans: spans0 } = getReplayRecordingContent(req0); - await Promise.all([page.waitForResponse('https://example.com'), page.locator('#xhr').click()]); + await Promise.all([page.waitForResponse('https://sentry-test-site.example'), page.locator('#xhr').click()]); const { performanceSpans: spans1 } = getReplayRecordingContent(await reqPromise1); diff --git a/dev-packages/browser-integration-tests/suites/replay/slowClick/template.html b/dev-packages/browser-integration-tests/suites/replay/slowClick/template.html index a3f5d9d54882..d83848c1b70d 100644 --- a/dev-packages/browser-integration-tests/suites/replay/slowClick/template.html +++ b/dev-packages/browser-integration-tests/suites/replay/slowClick/template.html @@ -76,7 +76,7 @@