snapshot of https://github.com/marmelab/atomic-crm.git (main, 2026-09-18; blobs > 131072B omitted)
Some checks failed
✅ Check / 🔬 ESLint (push) Failing after 21s
✅ Check / 🏷️ Typecheck (push) Failing after 11s
✅ Check / 🔎 Test (push) Failing after 11s
✅ Check / e2e-test (push) Failing after 11s
✅ Check / 🔨 Build (push) Failing after 11s
🚀 Deploy / 🚀 Deploy (doc) (push) Failing after 12s
🚀 Deploy / 🚀 Deploy (demo) (push) Failing after 12s
🚀 Deploy / 🚀 Deploy (supabase) (push) Failing after 18s
Some checks failed
✅ Check / 🔬 ESLint (push) Failing after 21s
✅ Check / 🏷️ Typecheck (push) Failing after 11s
✅ Check / 🔎 Test (push) Failing after 11s
✅ Check / e2e-test (push) Failing after 11s
✅ Check / 🔨 Build (push) Failing after 11s
🚀 Deploy / 🚀 Deploy (doc) (push) Failing after 12s
🚀 Deploy / 🚀 Deploy (demo) (push) Failing after 12s
🚀 Deploy / 🚀 Deploy (supabase) (push) Failing after 18s
This commit is contained in:
24
.claude/scripts/playwright-mcp.sh
Executable file
24
.claude/scripts/playwright-mcp.sh
Executable file
@@ -0,0 +1,24 @@
|
||||
#!/usr/bin/env bash
|
||||
# Launch @playwright/mcp against the repo's BUNDLED Chromium (the one
|
||||
# `make install-playwright-browsers` provisions and the Playwright e2e suite already
|
||||
# uses), instead of the MCP's default `chrome` channel (/opt/google/chrome/chrome),
|
||||
# which provisioning never installs. Without this the feature-smoke reviewer's first
|
||||
# navigate fails with "Chromium distribution 'chrome' is not found" and only works if
|
||||
# someone symlinks the bundled binary by hand.
|
||||
#
|
||||
# The bundled path is version-pinned (chromium-<rev>), so resolve it dynamically via
|
||||
# playwright-core rather than hardcoding it in .mcp.json. If resolution fails (e.g.
|
||||
# playwright-core absent), fall back to the MCP default so behavior is no worse than before.
|
||||
set -euo pipefail
|
||||
|
||||
REPO="$(cd "$(dirname "$0")/../.." && pwd)"
|
||||
cd "$REPO"
|
||||
|
||||
EXE="$(node -e "console.log(require('playwright-core').chromium.executablePath())" 2>/dev/null || true)"
|
||||
|
||||
ARGS=(node_modules/@playwright/mcp/cli.js --headless --isolated)
|
||||
if [ -n "$EXE" ] && [ -f "$EXE" ]; then
|
||||
ARGS+=(--executable-path "$EXE")
|
||||
fi
|
||||
|
||||
exec node "${ARGS[@]}" "$@"
|
||||
Reference in New Issue
Block a user