e2e-testing
This skill should be used when the user asks to "add an E2E test", "run live E2E", "run mock-LLM tests", "debug Playwright CI", "test the Docker image", or changes tests/e2e, Playwright configs, E2E w
SKILL.mdpublic/downloads/skills/open-openhands-core-e2e-testing/SKILL.md
GitHubEnd-to-End Testing
Use the correct test layer and preserve the security and production-fidelity boundaries between ordinary browser tests, mock-LLM suites, Docker image tests, and live LLM-backed QA.
Workflow
- Read
references/guide.mdbefore changing any E2E framework file or debugging an E2E failure. - Select the cheapest suite that exercises the real changed boundary.
- Keep live credentials isolated to trusted execution steps and prevent analytics or sensitive artifacts.
- Diagnose CI failures from workflow summaries and Playwright artifacts before modifying locators or timeouts.
- Follow the repository testing rules: cover behavior through real code paths, minimize cases, and mock underlying services rather than hooks.
Reference
references/guide.md— Live and mock-LLM architecture, Docker mode, local commands, CI/reporting security, artifact debugging, common failure patterns, and general testing rules.