fix-e2e
Fix failing Cypress e2e tests. Use when e2e tests are failing and need to be fixed.
- License 许可
- AGPL-3.0
- 最近更新
- 2026-11-12
- Stars
- ★ 13
- Forks
- 1
01 前言 Front Matter
- name
- fix-e2e
- description
- Fix failing Cypress e2e tests. Use when e2e tests are failing and need to be fixed.
- disable-model-invocation
- true
03 SKILL.md 正文
Fix failing e2e tests
Follow these steps to diagnose and fix failing Cypress e2e tests.
1. Check diffs
Run git diff to understand what has changed and what might be causing failures.
2. Build first
Run pnpm build from the repo root before running tests. The backend serves the built frontend, so a fresh build is required.
3. Run e2e tests
pnpm --filter app e2e:headless
This runs Cypress in headless mode. The test setup script (pnpm --filter app setup-e2e) creates a test project and runs automatically as part of e2e:headless.
4. Fix and iterate
Read the Cypress error output carefully, fix the issue in the source code, rebuild with pnpm build if changes are NOT ONLY in tests, and re-run pnpm --filter app e2e:headless. Repeat until all tests pass.
Key paths
- E2e tests:
tools/app/cypress/e2e/ - Cypress config:
tools/app/cypress.config.ts
04 同仓库更多 Skills
defaultSkill
暂无简介
dynamic-skill-discovery
Discover and apply Cyberismo project skills via the MCP server. Use before acting on any task in a Cyberismo project.
release-notes
Draft the next CHANGELOG.md section for a Cyberismo CLI release by reading merged PRs since the previous tag. Use when cutting a release of @cyberismo/cli.