πŸ”ž ADULT: WordPress/gutenberg/issues/ - HD Photos!

Skip to content

Perf tests: Playwright is downloading all the browsersΒ #56588

@WunderBart

Description

@WunderBart

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:

> [email protected] 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.

Metadata

Metadata

Assignees

Labels

[Status] In ProgressTracking issues with work in progress[Tool] WP Scripts/packages/scripts[Type] BugAn existing feature does not function as intended

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions