Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.
TypeScript automationchromechromiume2e-testingelectronend-to-end-testingfirefoxjavascriptplaywrighttesttest-automationtestingtesting-toolswebwebkit
chore: update CDN endpoints (#34061)
Max Schmittf7c99ee6e3bd
diff --git a/packages/playwright-core/src/server/registry/index.ts b/packages/playwright-core/src/server/registry/index.tsindex 4bb27bcaea..f12d5ceb4c 100644--- a/packages/playwright-core/src/server/registry/index.ts+++ b/packages/playwright-core/src/server/registry/index.ts@@ -37,13 +37,9 @@ const PACKAGE_PATH = path.join(__dirname, '..', '..', '..');const BIN_PATH = path.join(__dirname, '..', '..', '..', 'bin');const PLAYWRIGHT_CDN_MIRRORS = [- 'https://playwright.azureedge.net/dbazure/download/playwright', // ESRP CDN+ 'https://cdn.playwright.dev/dbazure/download/playwright', // ESRP CDN'https://playwright.download.prss.microsoft.com/dbazure/download/playwright', // Directly hit ESRP CDN-- // Old endpoints which hit the Storage Bucket directly:- 'https://playwright.azureedge.net',- 'https://playwright-akamai.azureedge.net', // Actually Edgio which will be retired Q4 2025.- 'https://playwright-verizon.azureedge.net', // Actually Edgio which will be retired Q4 2025.+ 'https://cdn.playwright.dev', // Hit the Storage Bucket directly];if (process.env.PW_TEST_CDN_THAT_SHOULD_WORK) {diff --git a/tests/installation/playwright-cdn.spec.ts b/tests/installation/playwright-cdn.spec.tsindex af0339f03b..3b472625e9 100644--- a/tests/installation/playwright-cdn.spec.ts+++ b/tests/installation/playwright-cdn.spec.ts@@ -19,11 +19,9 @@ import net from 'net';import type { AddressInfo } from 'net';const CDNS = [- 'https://playwright.azureedge.net/dbazure/download/playwright', // ESRP+ 'https://cdn.playwright.dev/dbazure/download/playwright', // ESRP'https://playwright.download.prss.microsoft.com/dbazure/download/playwright', // ESRP Fallback- 'https://playwright.azureedge.net',- 'https://playwright-akamai.azureedge.net',- 'https://playwright-verizon.azureedge.net',+ 'https://cdn.playwright.dev',];const DL_STAT_BLOCK = /^.*from url: (.*)$\n^.*to location: (.*)$\n^.*response status code: (.*)$\n^.*total bytes: (\d+)$\n^.*download complete, size: (\d+)$\n^.*SUCCESS downloading (\w+) .*$/gm;