mirror of
https://github.com/mattermost/mattermost.git
synced 2026-02-03 20:40:00 -05:00
* move "e2e-tests/playwright/test" to "e2e-tests/playwright/test" and expose "ensurePluginsLoaded" * add test setup, and expose ensurePluginsLoaded and ensureServerDeployment to pw
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
|