1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-21 17:37:01 +01:00

Fix Playwright install step (#17415)

The Playwright install step run in the `test-storybook` job has been
updated to ensure that we are running the correct install command.
Previously we were using `yarn dlx`, which would use the latest version
of `Playwright` rather than the one currently installed. Instead now we
are using `yarn exec`, which will invoke the `playwright` binary from
the locally installed package. This binary has an `install` command
that completes the necessary setup, which is to install custom patched
browsers for Playwright to run.
This commit is contained in:
Mark Stacey 2023-01-25 14:22:04 -03:30 committed by GitHub
parent 3d87f65d9b
commit d2331c0e0b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -524,7 +524,7 @@ jobs:
at: .
- run:
name: Install Playwright browsers
command: yarn dlx playwright install
command: yarn exec playwright install
- run:
name: Test Storybook
command: yarn test-storybook:ci