mirror of
https://github.com/mattermost/mattermost.git
synced 2026-04-15 22:12:19 -04:00
* chore: upgrade playwright and test server config * add post install script * update config types * fix visual test
12 lines
409 B
Bash
Executable file
12 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
|