local-e2e-setup
Starts the local Development infrastructure needed for Playwright E2E tests and validates it with one minimal authenticated admin smoke test. Use when setting…
от Kentico★ 20 звёзд на GitHub
Установить local-e2e-setup в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Local E2E Smoke Setup
Prepare this repository for local Playwright E2E testing, then prove the infrastructure works with the smallest meaningful admin test.
Scope
Use this for the Development app/runtime. It starts the client watchers and runs
only the authenticated admin-shell smoke test, not pnpm test:admin or the full
E2E suite.
Do not stop or replace user-owned app, watcher, or browser processes.
Procedure
Read docs/Run-Tests.md and
test/kentico-community-portal-web-e2e-tests/playwright.config.ts.Confirm the E2E package dependencies and Chromium are available. Only run
pnpm installorpnpm exec playwright install chromiumwhen they are missing; do not update packages.Check the VS Code task output for these local Development asset watchers:
pnpm: watch (Web)for Vitepnpm: watch (Admin)for webpack
Start only any watcher that is not already running. Wait for each watcher to report it is ready before testing.
Reuse an already-running
Kentico.Community.Portal.Webinstance when one is available. Otherwise letplaywright.config.tsstart it automatically. Do not run a separate build.From
test/kentico-community-portal-web-e2e-tests, run exactly:pnpm exec playwright test --project=admin-tests tests/admin/admin-signin.smoke.spec.tsThis also runs the
admin-setupdependency, which authenticates the default administrator and writes the reusable browser state.Report the command result and whether the local infrastructure is ready.
Failure Routing
- If the app cannot start or an asset fails to load, check the watcher task output and the configured local URLs before changing tests.
- If sign-in, navigation, or an assertion fails, open the same flow with the Chrome DevTools MCP server. Inspect the current accessibility snapshot and perform the login/navigation manually to distinguish an infrastructure issue from an outdated test assumption.
- Keep the validation scope to this one spec. Do not run a broader suite just to diagnose setup.
- Preserve user configuration and unrelated working-tree changes.
Success Criteria
- Both client asset watchers are ready or intentionally unnecessary for a published-app run.
- The Development app is reachable at the configured base URL.
- The setup dependency and
admin-signin.smoke.spec.tspass. - No packages, app code, or tests were changed merely to establish the local environment.
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл local-e2e-setup?
Starts the local Development infrastructure needed for Playwright E2E tests and validates it with one minimal authenticated admin smoke test. Use when setting up local E2E testing, Playwright development prerequisites, admin test infrastructure, Vite or webpack watchers, or verifying an E2E environment without running a full suite.
Как установить скилл local-e2e-setup?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл local-e2e-setup запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
AnthropicGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
claude-api
AnthropicReference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
algorithmic-art
AnthropicCreating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
mcp-integration
AnthropicThis skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…