Claude-skill-registry-data markdowntown-testing
Use this when running or adding tests (compile/lint/unit/E2E), updating test utilities, or working with Playwright/visual testing in markdowntown.
install
source · Clone the upstream repo
git clone https://github.com/majiayu000/claude-skill-registry-data
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/majiayu000/claude-skill-registry-data "$T" && mkdir -p ~/.claude/skills && cp -r "$T/data/markdowntown-testing" ~/.claude/skills/majiayu000-claude-skill-registry-data-markdowntown-testing && rm -rf "$T"
manifest:
data/markdowntown-testing/SKILL.mdsource content
Testing + Playwright E2E
When to use
- Adding or updating unit/integration tests.
- Running the required CI checks before commit.
- Designing or debugging Playwright/E2E flows.
Required checks (default workflow)
npm run compilenpm run lintnpm run test:unit
E2E + visual tests
runs Vitest E2E withnpm run test:e2e
.vitest.e2e.config.ts
runs Playwright visual tests (npm run test:visual
).playwright-visual.config.ts- Set
if you need a non-default host.E2E_BASE_URL
Workflow guidance
- Prefer small, focused unit tests in
for components and lib helpers.__tests__ - When adding a new user flow, update the E2E narratives so behavior stays aligned.
- If a test fails due to output changes, update snapshots/fixtures and document why.
References
- codex/skills/markdowntown-testing/references/tests.md
- codex/skills/markdowntown-testing/references/playwright.md
Guardrails
- Keep tests deterministic; avoid time-based flakiness where possible.
- Always record refactors/bugs discovered as follow-up bd tasks.