Skip to content

Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.

chore: allow PW_VERSION_OVERRIDE in tests (#27861)

Dmitry Gozmanf62082881877
diff --git a/tests/library/playwright.config.ts b/tests/library/playwright.config.ts
index 00fcfe03ec..fcaac7f726 100644
--- a/tests/library/playwright.config.ts
+++ b/tests/library/playwright.config.ts
@@ -68,7 +68,7 @@ if (mode === 'service') {
};
}
if (mode === 'service2') {
- process.env.PW_VERSION_OVERRIDE = '1.37';
+ process.env.PW_VERSION_OVERRIDE = process.env.PW_VERSION_OVERRIDE || '1.39';
connectOptions = {
wsEndpoint: `${process.env.PLAYWRIGHT_SERVICE_URL}?cap=${JSON.stringify({ os, runId })}`,
timeout: 3 * 60 * 1000,