Skip to content

Commit 7dfe449

Browse files
committed
search-replace all usage
1 parent 9b62707 commit 7dfe449

File tree

189 files changed

+461
-461
lines changed

Some content is hidden

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

189 files changed

+461
-461
lines changed

dev-packages/browser-integration-tests/suites/integrations/ContextLines/inline/test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { envelopeRequestParser, waitForErrorRequestOnUrl } from '../../../../uti
55

66
sentryTest(
77
'should add source context lines around stack frames from errors in Html inline JS',
8-
async ({ getLocalTestPath, page, browserName }) => {
8+
async ({ getLocalTestUrl, page, browserName }) => {
99
if (browserName === 'webkit') {
1010
// The error we're throwing in this test is thrown as "Script error." in Webkit.
1111
// We filter "Script error." out by default in `InboundFilters`.
@@ -15,7 +15,7 @@ sentryTest(
1515
sentryTest.skip();
1616
}
1717

18-
const url = await getLocalTestPath({ testDir: __dirname });
18+
const url = await getLocalTestUrl({ testDir: __dirname });
1919

2020
const eventReqPromise = waitForErrorRequestOnUrl(page, url);
2121

dev-packages/browser-integration-tests/suites/integrations/ContextLines/noAddedLines/test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ import { expect } from '@playwright/test';
33
import { sentryTest } from '../../../../utils/fixtures';
44
import { envelopeRequestParser, waitForErrorRequestOnUrl } from '../../../../utils/helpers';
55

6-
sentryTest('should not add source context lines to errors from script files', async ({ getLocalTestPath, page }) => {
7-
const url = await getLocalTestPath({ testDir: __dirname });
6+
sentryTest('should not add source context lines to errors from script files', async ({ getLocalTestUrl, page }) => {
7+
const url = await getLocalTestUrl({ testDir: __dirname });
88

99
const eventReqPromise = waitForErrorRequestOnUrl(page, url);
1010

dev-packages/browser-integration-tests/suites/integrations/ContextLines/scriptTag/test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { envelopeRequestParser, waitForErrorRequestOnUrl } from '../../../../uti
55

66
sentryTest(
77
'should add source context lines around stack frames from errors in Html script tags',
8-
async ({ getLocalTestPath, page, browserName }) => {
8+
async ({ getLocalTestUrl, page, browserName }) => {
99
if (browserName === 'webkit') {
1010
// The error we're throwing in this test is thrown as "Script error." in Webkit.
1111
// We filter "Script error." out by default in `InboundFilters`.
@@ -15,7 +15,7 @@ sentryTest(
1515
sentryTest.skip();
1616
}
1717

18-
const url = await getLocalTestPath({ testDir: __dirname });
18+
const url = await getLocalTestUrl({ testDir: __dirname });
1919

2020
const eventReqPromise = waitForErrorRequestOnUrl(page, url);
2121

dev-packages/browser-integration-tests/suites/integrations/globalHandlers/fetchStackTrace/test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ import type { Event } from '@sentry/types';
44
import { sentryTest } from '../../../../utils/fixtures';
55
import { getMultipleSentryEnvelopeRequests } from '../../../../utils/helpers';
66

7-
sentryTest('should create errors with stack traces for failing fetch calls', async ({ getLocalTestPath, page }) => {
8-
const url = await getLocalTestPath({ testDir: __dirname });
7+
sentryTest('should create errors with stack traces for failing fetch calls', async ({ getLocalTestUrl, page }) => {
8+
const url = await getLocalTestUrl({ testDir: __dirname });
99

1010
const envelopes = await getMultipleSentryEnvelopeRequests<Event>(page, 3, { url, timeout: 10000 });
1111
const errorEvent = envelopes.find(event => !event.type)!;

dev-packages/browser-integration-tests/suites/integrations/httpContext/test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ import type { Event } from '@sentry/types';
44
import { sentryTest } from '../../../utils/fixtures';
55
import { getFirstSentryEnvelopeRequest } from '../../../utils/helpers';
66

7-
sentryTest('httpContextIntegration captures user-agent and referrer', async ({ getLocalTestPath, page }) => {
8-
const url = await getLocalTestPath({ testDir: __dirname });
7+
sentryTest('httpContextIntegration captures user-agent and referrer', async ({ getLocalTestUrl, page }) => {
8+
const url = await getLocalTestUrl({ testDir: __dirname });
99

1010
const errorEventPromise = getFirstSentryEnvelopeRequest<Event>(page);
1111

dev-packages/browser-integration-tests/suites/integrations/httpclient/axios/test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ import { getFirstSentryEnvelopeRequest } from '../../../../utils/helpers';
66

77
sentryTest(
88
'should assign request and response context from a failed 500 XHR request',
9-
async ({ getLocalTestPath, page }) => {
10-
const url = await getLocalTestPath({ testDir: __dirname });
9+
async ({ getLocalTestUrl, page }) => {
10+
const url = await getLocalTestUrl({ testDir: __dirname });
1111

1212
await page.route('**/foo', route => {
1313
return route.fulfill({

dev-packages/browser-integration-tests/suites/integrations/httpclient/fetch/simple/test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ import { getFirstSentryEnvelopeRequest } from '../../../../../utils/helpers';
88
// https://github.com/microsoft/playwright/issues/10376
99
sentryTest(
1010
'should assign request and response context from a failed 500 fetch request',
11-
async ({ getLocalTestPath, page }) => {
12-
const url = await getLocalTestPath({ testDir: __dirname });
11+
async ({ getLocalTestUrl, page }) => {
12+
const url = await getLocalTestUrl({ testDir: __dirname });
1313

1414
await page.route('**/foo', route => {
1515
return route.fulfill({

dev-packages/browser-integration-tests/suites/integrations/httpclient/fetch/withAbortController/test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@ import type { Event as SentryEvent } from '@sentry/types';
33
import { sentryTest } from '../../../../../utils/fixtures';
44
import { getFirstSentryEnvelopeRequest, shouldSkipTracingTest } from '../../../../../utils/helpers';
55

6-
sentryTest('should handle aborted fetch calls', async ({ getLocalTestPath, page }) => {
6+
sentryTest('should handle aborted fetch calls', async ({ getLocalTestUrl, page }) => {
77
if (shouldSkipTracingTest()) {
88
sentryTest.skip();
99
}
1010

11-
const url = await getLocalTestPath({ testDir: __dirname });
11+
const url = await getLocalTestUrl({ testDir: __dirname });
1212

1313
await page.route('**/foo', async () => {
1414
// never fulfil this route because we abort the request as part of the test

dev-packages/browser-integration-tests/suites/integrations/httpclient/fetch/withRequest/test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ import type { Event } from '@sentry/types';
44
import { sentryTest } from '../../../../../utils/fixtures';
55
import { getFirstSentryEnvelopeRequest } from '../../../../../utils/helpers';
66

7-
sentryTest('works with a Request passed in', async ({ getLocalTestPath, page }) => {
8-
const url = await getLocalTestPath({ testDir: __dirname });
7+
sentryTest('works with a Request passed in', async ({ getLocalTestUrl, page }) => {
8+
const url = await getLocalTestUrl({ testDir: __dirname });
99

1010
await page.route('**/foo', route => {
1111
return route.fulfill({

dev-packages/browser-integration-tests/suites/integrations/httpclient/fetch/withRequestAndBodyAndOptions/test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ import { getFirstSentryEnvelopeRequest } from '../../../../../utils/helpers';
66

77
sentryTest(
88
'works with a Request (with body) & options passed in - handling used body',
9-
async ({ getLocalTestPath, page }) => {
10-
const url = await getLocalTestPath({ testDir: __dirname });
9+
async ({ getLocalTestUrl, page }) => {
10+
const url = await getLocalTestUrl({ testDir: __dirname });
1111

1212
await page.route('**/foo', route => {
1313
return route.fulfill({

0 commit comments

Comments
 (0)