cypress-e2e-testing
Installation
SKILL.md
Cypress E2E Testing Skill
Purpose
This skill guides agents through running Cypress end-to-end tests for the documentation site, including understanding when Hugo starts automatically vs. manually, interpreting test results, and debugging failures.
For comprehensive testing documentation, see DOCS-TESTING.md.
Key Insight: Hugo Server Management
The test runner (run-e2e-specs.js) automatically manages Hugo.
- Port 1315 is used for testing (not 1313)
- If port 1315 is free → starts Hugo automatically
- If port 1315 is in use → checks if it's a working Hugo server and reuses it
- Hugo logs written to
/tmp/hugo_server.log
You do NOT need to start Hugo separately unless you want to keep it running between test runs for faster iteration.