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: add comment to clarify /sbin
Andrey Lushnikov515665908ed7
diff --git a/src/server/validateDependencies.ts b/src/server/validateDependencies.tsindex a63e9b7161..cfe530dc64 100644--- a/src/server/validateDependencies.ts+++ b/src/server/validateDependencies.ts@@ -220,6 +220,9 @@ async function missingDLOPENLibraries(browser: BrowserDescriptor): Promise<strinconst libraries = DL_OPEN_LIBRARIES[browser.name];if (!libraries.length)return [];+ // NOTE: Using full-qualified path to `ldconfig` since `/sbin` is not part of the+ // default PATH in CRON.+ // @see https://github.com/microsoft/playwright/issues/3397const {stdout, code, error} = await spawnAsync('/sbin/ldconfig', ['-p'], {});if (code !== 0 || error)return [];