Skip to content

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

chore: run wsl as pwuser (#38081)

Yury Semikhatsky87e805933bac
diff --git a/tests/library/playwright.config.ts b/tests/library/playwright.config.ts
index ce8a686e08..b8d7bc04b2 100644
--- a/tests/library/playwright.config.ts
+++ b/tests/library/playwright.config.ts
@@ -81,7 +81,7 @@ if (mode === 'service2') {
if (channel === 'webkit-wsl') {
connectOptions = { wsEndpoint: 'ws://localhost:3777/' };
webServer = {
- command: 'wsl.exe -d playwright -- bash -lc \'/home/pwuser/node/bin/npx playwright run-server --port=3777\'',
+ command: 'wsl.exe -d playwright -u pwuser -- bash -lc \'/home/pwuser/node/bin/npx playwright run-server --port=3777\'',
url: 'http://localhost:3777',
};
}