Files
Saturnino AbrilandGitHub f28feee14d E2E/Playwright: Upgrade playwright/dependencies and test server config (#26464)
* chore: upgrade playwright and test server config

* add post install script

* update config types

* fix visual test
2024-03-19 08:09:25 +08:00

13 lines
409 B
Bash
Executable File

#!/bin/bash
if [ -n "$PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD" ]; then
echo "Skipped browsers download for Playwright"
exit 0
fi
# Install needed Playwright browsers only -- chromium and firefox only for these are the ones being used by the tests.
# May add more browsers in the future.
# https://playwright.dev/docs/library#browser-downloads
npx playwright install chromium
npx playwright install firefox