diff --git a/scripts/run_adminfront_ci_tests.sh b/scripts/run_adminfront_ci_tests.sh index 0a06997a..8d0c8ed7 100755 --- a/scripts/run_adminfront_ci_tests.sh +++ b/scripts/run_adminfront_ci_tests.sh @@ -80,7 +80,8 @@ port="${PORT:-5180}" echo "==> adminfront using PORT=$port" ( cd adminfront - PORT="$port" PLAYWRIGHT_WORKERS="${PLAYWRIGHT_WORKERS:-1}" npm test + PORT="$port" PLAYWRIGHT_WORKERS="${PLAYWRIGHT_WORKERS:-1}" \ + node ./node_modules/playwright/cli.js test ) 2>&1 | tee reports/adminfront-test.log test_exit_code=${PIPESTATUS[0]} set -e @@ -97,7 +98,7 @@ if [ "$test_exit_code" -ne 0 ]; then echo "1. \`cd adminfront\`" echo "2. \`npm ci --ignore-scripts\`" echo "3. \`${playwright_install_desc}\`" - echo "4. \`npm test\`" + echo "4. \`node ./node_modules/playwright/cli.js test\`" echo echo "## Log Tail (last 200 lines)" echo '```text'