Closed YusuffOzt closed 5 months ago
This is working as intended, the dependencies are not expected to be cached (also you only cache the browsers directory, not the system libraries) as they depend on the exact system you are running on. You should run npx playwright install --with-deps
for each of the jobs. One way to speedup this step is to use docker image with preinstalled deps.
Version
1.44.0
Steps to reproduce
I upgraded to pw to 1.44.0 version in my local. When the above GitHub YAML is executed, it does not transfer the Playwright dependencies installed on runs-on:ubuntu-latest to runs-on:self-hosted
Expected behavior
I expect the npm packages and Playwright installed on runs-on:ubuntu-latest to be transferred to runs-on:self-hosted
Actual behavior
Giving below warning; Error: browserType.launch: Executable doesn't exist at /home/vin-cicd/.cache/ms-playwright/chromium-1117/chrome-linux/chrome ╔═════════════════════════════════════════════════════════════════════════╗ ║ Looks like Playwright Test or Playwright was just installed or updated. ║ ║ Please run the following command to download new browsers: ║ ║ ║ ║ npx playwright install ║ ║ ║ ║ <3 Playwright Team ║ ╚═════════════════════════════════════════════════════════════════════════╝
Additional context
No response
Environment