Skip to content

Commit c5f4b18

Browse files
committed
use sentry-test-site.example
1 parent f4ddd4b commit c5f4b18

File tree

68 files changed

+152
-152
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

68 files changed

+152
-152
lines changed

dev-packages/browser-integration-tests/suites/public-api/instrumentation/xhr/onreadystatechange/subject.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
window.calls = {};
22
const xhr = new XMLHttpRequest();
3-
xhr.open('GET', 'http://sentry-test-site.io');
3+
xhr.open('GET', 'http://sentry-test-site.example');
44
xhr.onreadystatechange = function wat() {
55
window.calls[xhr.readyState] = window.calls[xhr.readyState] ? window.calls[xhr.readyState] + 1 : 1;
66
};

dev-packages/browser-integration-tests/suites/public-api/instrumentation/xhr/onreadystatechange/test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ sentryTest(
77
async ({ getLocalTestUrl, page }) => {
88
const url = await getLocalTestUrl({ testDir: __dirname });
99

10-
await page.route('http://sentry-test-site.io/', route => {
10+
await page.route('http://sentry-test-site.example/', route => {
1111
return route.fulfill({
1212
status: 200,
1313
contentType: 'application/json',

dev-packages/browser-integration-tests/suites/replay/requests/subject.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@ document.getElementById('go-background').addEventListener('click', () => {
66
});
77

88
document.getElementById('fetch').addEventListener('click', () => {
9-
fetch('https://sentry-test-site.io', { method: 'POST', body: 'foo' });
9+
fetch('https://sentry-test-site.example', { method: 'POST', body: 'foo' });
1010
});
1111

1212
document.getElementById('xhr').addEventListener('click', () => {
1313
const xhr = new XMLHttpRequest();
14-
xhr.open('GET', 'https://sentry-test-site.io');
14+
xhr.open('GET', 'https://sentry-test-site.example');
1515
xhr.send();
1616
});

dev-packages/browser-integration-tests/suites/replay/requests/test.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ sentryTest('replay recording should contain fetch request span', async ({ getLoc
1010
sentryTest.skip();
1111
}
1212

13-
await page.route('https://sentry-test-site.io', route => {
13+
await page.route('https://sentry-test-site.example', route => {
1414
return route.fulfill({
1515
status: 200,
1616
contentType: 'application/json',
@@ -27,7 +27,7 @@ sentryTest('replay recording should contain fetch request span', async ({ getLoc
2727

2828
const { performanceSpans: spans0 } = getReplayRecordingContent(req0);
2929

30-
await Promise.all([page.waitForResponse('https://sentry-test-site.io'), page.locator('#fetch').click()]);
30+
await Promise.all([page.waitForResponse('https://sentry-test-site.example'), page.locator('#fetch').click()]);
3131

3232
const { performanceSpans: spans1 } = getReplayRecordingContent(await reqPromise1);
3333

@@ -40,7 +40,7 @@ sentryTest('replay recording should contain XHR request span', async ({ getLocal
4040
sentryTest.skip();
4141
}
4242

43-
await page.route('https://sentry-test-site.io', route => {
43+
await page.route('https://sentry-test-site.example', route => {
4444
return route.fulfill({
4545
status: 200,
4646
contentType: 'application/json',
@@ -57,7 +57,7 @@ sentryTest('replay recording should contain XHR request span', async ({ getLocal
5757

5858
const { performanceSpans: spans0 } = getReplayRecordingContent(req0);
5959

60-
await Promise.all([page.waitForResponse('https://sentry-test-site.io'), page.locator('#xhr').click()]);
60+
await Promise.all([page.waitForResponse('https://sentry-test-site.example'), page.locator('#xhr').click()]);
6161

6262
const { performanceSpans: spans1 } = getReplayRecordingContent(await reqPromise1);
6363

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
fetch('http://sentry-test-site.io/0').then(
2-
fetch('http://sentry-test-site.io/1').then(fetch('http://sentry-test-site.io/2')),
1+
fetch('http://sentry-test-site.example/0').then(
2+
fetch('http://sentry-test-site.example/1').then(fetch('http://sentry-test-site.example/2')),
33
);

dev-packages/browser-integration-tests/suites/tracing/browserTracingIntegration/http-timings/test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ sentryTest('should create fetch spans with http timing @firefox', async ({ brows
1010
if (shouldSkipTracingTest() || !supportedBrowsers.includes(browserName)) {
1111
sentryTest.skip();
1212
}
13-
await page.route('http://sentry-test-site.io/*', async route => {
13+
await page.route('http://sentry-test-site.example/*', async route => {
1414
const request = route.request();
1515
const postData = await request.postDataJSON();
1616

@@ -33,7 +33,7 @@ sentryTest('should create fetch spans with http timing @firefox', async ({ brows
3333
await page.pause();
3434
requestSpans?.forEach((span, index) =>
3535
expect(span).toMatchObject({
36-
description: `GET http://sentry-test-site.io/${index}`,
36+
description: `GET http://sentry-test-site.example/${index}`,
3737
parent_span_id: tracingEvent.contexts?.trace?.span_id,
3838
span_id: expect.stringMatching(/[a-f0-9]{16}/),
3939
start_timestamp: expect.any(Number),

dev-packages/browser-integration-tests/suites/tracing/browserTracingIntegration/long-animation-frame-disabled/template.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@
55
</head>
66
<body>
77
<div>Rendered Before Long Animation Frame</div>
8-
<script src="https://sentry-test-site.io/path/to/script.js"></script>
8+
<script src="https://sentry-test-site.example/path/to/script.js"></script>
99
</body>
1010
</html>

dev-packages/browser-integration-tests/suites/tracing/browserTracingIntegration/long-animation-frame-enabled/template.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@
88
<button id="clickme">
99
click me to start the long animation!
1010
</button>
11-
<script src="https://sentry-test-site.io/path/to/script.js"></script>
11+
<script src="https://sentry-test-site.example/path/to/script.js"></script>
1212
</body>
1313
</html>

dev-packages/browser-integration-tests/suites/tracing/browserTracingIntegration/long-animation-frame-enabled/test.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,17 +33,17 @@ sentryTest(
3333
expect(uiSpans?.length).toBeGreaterThanOrEqual(1);
3434

3535
const topLevelUISpan = (uiSpans || []).find(
36-
span => span.data?.['browser.script.invoker'] === 'https://sentry-test-site.io/path/to/script.js',
36+
span => span.data?.['browser.script.invoker'] === 'https://sentry-test-site.example/path/to/script.js',
3737
)!;
3838
expect(topLevelUISpan).toEqual(
3939
expect.objectContaining({
4040
op: 'ui.long-animation-frame',
4141
description: 'Main UI thread blocked',
4242
parent_span_id: eventData.contexts?.trace?.span_id,
4343
data: {
44-
'code.filepath': 'https://sentry-test-site.io/path/to/script.js',
44+
'code.filepath': 'https://sentry-test-site.example/path/to/script.js',
4545
'browser.script.source_char_position': 0,
46-
'browser.script.invoker': 'https://sentry-test-site.io/path/to/script.js',
46+
'browser.script.invoker': 'https://sentry-test-site.example/path/to/script.js',
4747
'browser.script.invoker_type': 'classic-script',
4848
[SEMANTIC_ATTRIBUTE_SENTRY_OP]: 'ui.long-animation-frame',
4949
[SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]: 'auto.ui.browser.metrics',
@@ -98,7 +98,7 @@ sentryTest(
9898
data: {
9999
'browser.script.invoker': 'BUTTON#clickme.onclick',
100100
'browser.script.invoker_type': 'event-listener',
101-
'code.filepath': 'https://sentry-test-site.io/path/to/script.js',
101+
'code.filepath': 'https://sentry-test-site.example/path/to/script.js',
102102
[SEMANTIC_ATTRIBUTE_SENTRY_OP]: 'ui.long-animation-frame',
103103
[SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]: 'auto.ui.browser.metrics',
104104
},

dev-packages/browser-integration-tests/suites/tracing/browserTracingIntegration/long-animation-frame-non-chromium/template.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@
55
</head>
66
<body>
77
<div>Rendered Before Long Task</div>
8-
<script src="https://sentry-test-site.io/path/to/script.js"></script>
8+
<script src="https://sentry-test-site.example/path/to/script.js"></script>
99
</body>
1010
</html>

dev-packages/browser-integration-tests/suites/tracing/browserTracingIntegration/long-tasks-and-animation-frame-enabled/template.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@
88
<button id="clickme">
99
click me to start the long animation!
1010
</button>
11-
<script src="https://sentry-test-site.io/path/to/script.js"></script>
11+
<script src="https://sentry-test-site.example/path/to/script.js"></script>
1212
</body>
1313
</html>

dev-packages/browser-integration-tests/suites/tracing/browserTracingIntegration/long-tasks-and-animation-frame-enabled/test.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,17 +35,17 @@ sentryTest(
3535
expect(uiSpans?.length).toBeGreaterThanOrEqual(1);
3636

3737
const topLevelUISpan = (uiSpans || []).find(
38-
span => span.data?.['browser.script.invoker'] === 'https://sentry-test-site.io/path/to/script.js',
38+
span => span.data?.['browser.script.invoker'] === 'https://sentry-test-site.example/path/to/script.js',
3939
)!;
4040
expect(topLevelUISpan).toEqual(
4141
expect.objectContaining({
4242
op: 'ui.long-animation-frame',
4343
description: 'Main UI thread blocked',
4444
parent_span_id: eventData.contexts?.trace?.span_id,
4545
data: {
46-
'code.filepath': 'https://sentry-test-site.io/path/to/script.js',
46+
'code.filepath': 'https://sentry-test-site.example/path/to/script.js',
4747
'browser.script.source_char_position': 0,
48-
'browser.script.invoker': 'https://sentry-test-site.io/path/to/script.js',
48+
'browser.script.invoker': 'https://sentry-test-site.example/path/to/script.js',
4949
'browser.script.invoker_type': 'classic-script',
5050
[SEMANTIC_ATTRIBUTE_SENTRY_OP]: 'ui.long-animation-frame',
5151
[SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]: 'auto.ui.browser.metrics',
@@ -100,7 +100,7 @@ sentryTest(
100100
data: {
101101
'browser.script.invoker': 'BUTTON#clickme.onclick',
102102
'browser.script.invoker_type': 'event-listener',
103-
'code.filepath': 'https://sentry-test-site.io/path/to/script.js',
103+
'code.filepath': 'https://sentry-test-site.example/path/to/script.js',
104104
[SEMANTIC_ATTRIBUTE_SENTRY_OP]: 'ui.long-animation-frame',
105105
[SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]: 'auto.ui.browser.metrics',
106106
},

dev-packages/browser-integration-tests/suites/tracing/browserTracingIntegration/long-tasks-disabled/template.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@
55
</head>
66
<body>
77
<div>Rendered Before Long Task</div>
8-
<script src="https://sentry-test-site.io/path/to/script.js"></script>
8+
<script src="https://sentry-test-site.example/path/to/script.js"></script>
99
</body>
1010
</html>

dev-packages/browser-integration-tests/suites/tracing/browserTracingIntegration/long-tasks-enabled/template.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@
55
</head>
66
<body>
77
<div>Rendered Before Long Task</div>
8-
<script src="https://sentry-test-site.io/path/to/script.js"></script>
8+
<script src="https://sentry-test-site.example/path/to/script.js"></script>
99
</body>
1010
</html>

dev-packages/browser-integration-tests/suites/tracing/browserTracingIntegration/long-tasks-no-animation-frame/template.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@
55
</head>
66
<body>
77
<div>Rendered Before Long Task</div>
8-
<script src="https://sentry-test-site.io/path/to/script.js"></script>
8+
<script src="https://sentry-test-site.example/path/to/script.js"></script>
99
</body>
1010
</html>

dev-packages/browser-integration-tests/suites/tracing/browserTracingIntegration/tracePropagationTargets/customTargets/init.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@ window.Sentry = Sentry;
55
Sentry.init({
66
dsn: 'https://[email protected]/1337',
77
integrations: [Sentry.browserTracingIntegration()],
8-
tracePropagationTargets: ['http://sentry-test-site.io'],
8+
tracePropagationTargets: ['http://sentry-test-site.example'],
99
tracesSampleRate: 1,
1010
});
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
fetch('http://sentry-test-site.io/0').then(
2-
fetch('http://sentry-test-site.io/1').then(fetch('http://sentry-test-site.io/2')),
1+
fetch('http://sentry-test-site.example/0').then(
2+
fetch('http://sentry-test-site.example/1').then(fetch('http://sentry-test-site.example/2')),
33
);

dev-packages/browser-integration-tests/suites/tracing/browserTracingIntegration/tracePropagationTargets/customTargets/test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ sentryTest(
1515
const requests = (
1616
await Promise.all([
1717
page.goto(url),
18-
Promise.all([0, 1, 2].map(idx => page.waitForRequest(`http://sentry-test-site.io/${idx}`))),
18+
Promise.all([0, 1, 2].map(idx => page.waitForRequest(`http://sentry-test-site.example/${idx}`))),
1919
])
2020
)[1];
2121

Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
fetch('http://sentry-test-site.io/0').then(
2-
fetch('http://sentry-test-site.io/1').then(fetch('http://sentry-test-site.io/2')),
1+
fetch('http://sentry-test-site.example/0').then(
2+
fetch('http://sentry-test-site.example/1').then(fetch('http://sentry-test-site.example/2')),
33
);

dev-packages/browser-integration-tests/suites/tracing/browserTracingIntegration/tracePropagationTargets/defaultTargetsNoMatch/test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ sentryTest(
1515
const requests = (
1616
await Promise.all([
1717
page.goto(url),
18-
Promise.all([0, 1, 2].map(idx => page.waitForRequest(`http://sentry-test-site.io/${idx}`))),
18+
Promise.all([0, 1, 2].map(idx => page.waitForRequest(`http://sentry-test-site.example/${idx}`))),
1919
])
2020
)[1];
2121

dev-packages/browser-integration-tests/suites/tracing/dsc-txn-name-update/init.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@ Sentry.init({
66
dsn: 'https://[email protected]/1337',
77
integrations: [Sentry.browserTracingIntegration({ instrumentNavigation: false, instrumentPageLoad: false })],
88
tracesSampleRate: 1,
9-
tracePropagationTargets: ['sentry-test-site.io'],
9+
tracePropagationTargets: ['sentry-test-site.example'],
1010
release: '1.1.1',
1111
});

dev-packages/browser-integration-tests/suites/tracing/dsc-txn-name-update/subject.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ btnUpdateName.addEventListener('click', () => {
2626
});
2727

2828
btnMakeRequest.addEventListener('click', () => {
29-
fetch('https://sentry-test-site.io/api');
29+
fetch('https://sentry-test-site.example/api');
3030
});
3131

3232
btnCaptureError.addEventListener('click', () => {

dev-packages/browser-integration-tests/suites/tracing/dsc-txn-name-update/test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ sentryTest('updates the DSC when the txn name is updated and high-quality', asyn
1616

1717
const url = await getLocalTestUrl({ testDir: __dirname });
1818

19-
await page.route('http://sentry-test-site.io/**/*', route => {
19+
await page.route('http://sentry-test-site.example/**/*', route => {
2020
return route.fulfill({
2121
status: 200,
2222
contentType: 'application/json',
@@ -176,7 +176,7 @@ sentryTest('updates the DSC when the txn name is updated and high-quality', asyn
176176
});
177177

178178
async function makeRequestAndGetBaggageItems(page: Page): Promise<string[]> {
179-
const requestPromise = page.waitForRequest('https://sentry-test-site.io/*');
179+
const requestPromise = page.waitForRequest('https://sentry-test-site.example/*');
180180
await page.locator('#btnMakeRequest').click();
181181
const request = await requestPromise;
182182

dev-packages/browser-integration-tests/suites/tracing/metrics/handlers-lcp/template.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
</head>
66
<body>
77
<div id="content"></div>
8-
<img src="https://sentry-test-site.io/path/to/image.png" />
8+
<img src="https://sentry-test-site.example/path/to/image.png" />
99
<button type="button">Test button</button>
1010
</body>
1111
</html>

dev-packages/browser-integration-tests/suites/tracing/metrics/pageload-resource-spans/template.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44
<meta charset="utf-8" />
55
</head>
66
<body>
7-
<img src="https://sentry-test-site.io/path/to/image.svg" />
8-
<script src="https://sentry-test-site.io/path/to/script.js"></script>
9-
<link href="https://sentry-test-site.io/path/to/style.css" type="text/css" rel="stylesheet" />
7+
<img src="https://sentry-test-site.example/path/to/image.svg" />
8+
<script src="https://sentry-test-site.example/path/to/script.js"></script>
9+
<link href="https://sentry-test-site.example/path/to/style.css" type="text/css" rel="stylesheet" />
1010
<span>Rendered</span>
1111
</body>
1212
</html>

0 commit comments

Comments
 (0)