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
test: fix service tests (#31130)
Max Schmittd50a2bb0c6c4
diff --git a/tests/library/playwright.config.ts b/tests/library/playwright.config.tsindex b5e3ef44f1..9ab64c22be 100644--- a/tests/library/playwright.config.ts+++ b/tests/library/playwright.config.ts@@ -56,7 +56,7 @@ const os: 'linux' | 'windows' = (process.env.PLAYWRIGHT_SERVICE_OS as 'linux' |const runId = process.env.PLAYWRIGHT_SERVICE_RUN_ID || new Date().toISOString(); // name the test runlet connectOptions: any;-let webServer: any;+let webServer: Config['webServer'];if (mode === 'service') {connectOptions = { wsEndpoint: 'ws://localhost:3333/' };@@ -64,6 +64,7 @@ if (mode === 'service') {command: 'npx playwright run-server --port=3333',url: 'http://localhost:3333',reuseExistingServer: !process.env.CI,+ env: { PWTEST_UNDER_TEST: '1' }};}if (mode === 'service2') {