Skip to content

Commit d4301fd

Browse files
authored
chore: upgrade Playwright to ~1.56.0 for WSL2 compatibility (#18468)
Closes #18469 (added automatically)
1 parent 907d13f commit d4301fd

File tree

163 files changed

+207
-184
lines changed

Some content is hidden

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

163 files changed

+207
-184
lines changed

dev-packages/browser-integration-tests/loader-suites/loader/noOnLoad/sdkLoadedInMeanwhile/test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ sentryTest('it does not download the SDK if the SDK was loaded in the meanwhile'
1717
let cdnLoadedCount = 0;
1818
let sentryEventCount = 0;
1919

20-
await page.route('https://dsn.ingest.sentry.io/**/*', route => {
20+
await page.route(/^https:\/\/dsn\.ingest\.sentry\.io\//, route => {
2121
sentryEventCount++;
2222

2323
return route.fulfill({

dev-packages/browser-integration-tests/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
"dependencies": {
4242
"@babel/core": "^7.27.7",
4343
"@babel/preset-typescript": "^7.16.7",
44-
"@playwright/test": "~1.53.2",
44+
"@playwright/test": "~1.56.0",
4545
"@sentry-internal/rrweb": "2.34.0",
4646
"@sentry/browser": "10.30.0",
4747
"@supabase/supabase-js": "2.49.3",

dev-packages/browser-integration-tests/suites/integrations/featureFlags/featureFlags/onError/basic/test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ sentryTest('Basic test with eviction, update, and no async tasks', async ({ getL
1212
sentryTest.skip();
1313
}
1414

15-
await page.route('https://dsn.ingest.sentry.io/**/*', route => {
15+
await page.route(/^https:\/\/dsn\.ingest\.sentry\.io\//, route => {
1616
return route.fulfill({
1717
status: 200,
1818
contentType: 'application/json',

dev-packages/browser-integration-tests/suites/integrations/featureFlags/featureFlags/onError/withScope/test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ sentryTest('Flag evaluations in forked scopes are stored separately.', async ({
1212
sentryTest.skip();
1313
}
1414

15-
await page.route('https://dsn.ingest.sentry.io/**/*', route => {
15+
await page.route(/^https:\/\/dsn\.ingest\.sentry\.io\//, route => {
1616
return route.fulfill({
1717
status: 200,
1818
contentType: 'application/json',

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ sentryTest("Feature flags are added to active span's attributes on span end.", a
1414
sentryTest.skip();
1515
}
1616

17-
await page.route('https://dsn.ingest.sentry.io/**/*', route => {
17+
await page.route(/^https:\/\/dsn\.ingest\.sentry\.io\//, route => {
1818
return route.fulfill({
1919
status: 200,
2020
contentType: 'application/json',

dev-packages/browser-integration-tests/suites/integrations/featureFlags/growthbook/onError/basic/test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ sentryTest('GrowthBook onError: basic eviction/update and no async tasks', async
1212
sentryTest.skip();
1313
}
1414

15-
await page.route('https://dsn.ingest.sentry.io/**/*', route => {
15+
await page.route(/^https:\/\/dsn\.ingest\.sentry\.io\//, route => {
1616
return route.fulfill({ status: 200, contentType: 'application/json', body: JSON.stringify({ id: 'test-id' }) });
1717
});
1818

dev-packages/browser-integration-tests/suites/integrations/featureFlags/growthbook/onError/withScope/test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ sentryTest('GrowthBook onError: forked scopes are isolated', async ({ getLocalTe
1212
sentryTest.skip();
1313
}
1414

15-
await page.route('https://dsn.ingest.sentry.io/**/*', route => {
15+
await page.route(/^https:\/\/dsn\.ingest\.sentry\.io\//, route => {
1616
return route.fulfill({ status: 200, contentType: 'application/json', body: JSON.stringify({ id: 'test-id' }) });
1717
});
1818

dev-packages/browser-integration-tests/suites/integrations/featureFlags/growthbook/onSpan/test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ sentryTest(
1616
sentryTest.skip();
1717
}
1818

19-
await page.route('https://dsn.ingest.sentry.io/**/*', route => {
19+
await page.route(/^https:\/\/dsn\.ingest\.sentry\.io\//, route => {
2020
return route.fulfill({ status: 200, contentType: 'application/json', body: JSON.stringify({}) });
2121
});
2222

dev-packages/browser-integration-tests/suites/integrations/featureFlags/launchdarkly/onError/basic/test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ sentryTest('Basic test with eviction, update, and no async tasks', async ({ getL
1212
sentryTest.skip();
1313
}
1414

15-
await page.route('https://dsn.ingest.sentry.io/**/*', route => {
15+
await page.route(/^https:\/\/dsn\.ingest\.sentry\.io\//, route => {
1616
return route.fulfill({
1717
status: 200,
1818
contentType: 'application/json',

dev-packages/browser-integration-tests/suites/integrations/featureFlags/launchdarkly/onError/withScope/test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ sentryTest('Flag evaluations in forked scopes are stored separately.', async ({
1212
sentryTest.skip();
1313
}
1414

15-
await page.route('https://dsn.ingest.sentry.io/**/*', route => {
15+
await page.route(/^https:\/\/dsn\.ingest\.sentry\.io\//, route => {
1616
return route.fulfill({
1717
status: 200,
1818
contentType: 'application/json',

0 commit comments

Comments
 (0)