Files
upstream-atomic-crm/.devcontainer/playwright/README.md
upstream-mirror 93ecc1a6f8
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
snapshot of https://github.com/marmelab/atomic-crm.git (main, 2026-09-18; blobs > 131072B omitted)
2026-09-18 01:48:50 +05:00

23 lines
781 B
Markdown

# Playwright integration
Installs Playwright system dependencies (via the `playwright-deps` feature) and
persists downloaded browsers in a named volume across container rebuilds.
## Cache folder
The browser cache lives at `PLAYWRIGHT_BROWSERS_PATH` (default
`/mount/.ms-playwright`). This single env var is the source of truth: the
volume mount target (`${containerEnv:PLAYWRIGHT_BROWSERS_PATH}`) and the
`install.sh` setup both read it.
The dev container features spec does not allow a feature `option` to drive
`containerEnv`/`mounts`, so to change the folder, override the env var in your
`devcontainer.json` — the volume mount follows automatically:
```jsonc
{
"features": { "./playwright": {} },
"containerEnv": { "PLAYWRIGHT_BROWSERS_PATH": "/custom/path" }
}
```