Description
We're installing Chromium dependency explicitly for the performance test runner, because it's the only browser we use there. Still, when those tests are being run for the first time in a fresh environment (like CI), the first thing that happens is that all other browsers are being downloaded as well:
> gutenberg@17.1.2 test:performance
> wp-scripts test-playwright --config test/performance/playwright.config.ts post-editor.spec.js
Downloading Firefox 118.0.1 (playwright build v1425) from https://playwright.azureedge.net/builds/firefox/1425/firefox-ubuntu-22.04.zip
Firefox 118.0.1 (playwright build v1425) downloaded to /home/runner/.cache/ms-playwright/firefox-1425
Downloading Webkit 17.4 (playwright build v1921) from https://playwright.azureedge.net/builds/webkit/1921/webkit-ubuntu-22.04.zip
Webkit 17.4 (playwright build v1921) downloaded to /home/runner/.cache/ms-playwright/webkit-1921
@swissspidy @kevin940726 @Mamaduka
Step-by-step reproduction instructions
Try running npm run test:performance in a fresh environment.
Description
We're installing Chromium dependency explicitly for the performance test runner, because it's the only browser we use there. Still, when those tests are being run for the first time in a fresh environment (like CI), the first thing that happens is that all other browsers are being downloaded as well:
@swissspidy @kevin940726 @Mamaduka
Step-by-step reproduction instructions
Try running
npm run test:performancein a fresh environment.