diff --git a/scripts/run_adminfront_ci_tests.sh b/scripts/run_adminfront_ci_tests.sh index 8d0c8ed7..2237686d 100755 --- a/scripts/run_adminfront_ci_tests.sh +++ b/scripts/run_adminfront_ci_tests.sh @@ -6,18 +6,8 @@ job_name="${1:-adminfront-tests}" mkdir -p reports rm -rf adminfront/node_modules -PLAYWRIGHT_BROWSERS_PATH="${HOME}/.cache/ms-playwright" -PLAYWRIGHT_CHROMIUM_COMPLETE="${PLAYWRIGHT_BROWSERS_PATH}/chromium-1208/INSTALLATION_COMPLETE" -PLAYWRIGHT_FIREFOX_COMPLETE="${PLAYWRIGHT_BROWSERS_PATH}/firefox-1509/INSTALLATION_COMPLETE" -PLAYWRIGHT_WEBKIT_COMPLETE="${PLAYWRIGHT_BROWSERS_PATH}/webkit-2248/INSTALLATION_COMPLETE" - -if [ -f "$PLAYWRIGHT_CHROMIUM_COMPLETE" ] && [ -f "$PLAYWRIGHT_FIREFOX_COMPLETE" ] && [ -f "$PLAYWRIGHT_WEBKIT_COMPLETE" ]; then - playwright_install_cmd=(sh -c 'echo "Playwright browsers already installed"') - playwright_install_desc="Playwright browsers already installed" -else - playwright_install_cmd=(npx playwright install) - playwright_install_desc="npx playwright install" -fi +playwright_install_cmd=(npx playwright install --with-deps) +playwright_install_desc="npx playwright install --with-deps" set +e (