thesoftwarehouse/copilot-collections/tsh-e2e-testing
Claude Code and agent skill by thesoftwarehouse/copilot-collections
Trust tier 2
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
E2E testing patterns, verification procedures, and CI readiness checklists using Playwright. Use for writing, debugging, or reviewing end-to-end tests, fixing flaky tests, creating Page Objects, mocking external APIs.
Install
npx vskill@latest install thesoftwarehouse/copilot-collections/tsh-e2e-testingSKILL.md
E2E Testing Patterns & Practices
Page Object Pattern
Test Structure
Mocking (external APIs only)
Verification Loop
| Rule | Limit | |
|---|---|---|
| Max per test | 5 iterations → test.fixme() | |
| Max per suite | 15 iterations → stop | |
| Flaky detection | 3 pass/fail mix → investigate | |
| Stability | 3+ consecutive passes required | |
| App bug | Mark test.fixme('BUG: desc') |
Error Recovery
| Error | Action | |
|---|---|---|
| Timeout | Increase once → check selector → check if element renders | |
| Element not found | Alternative locator → check DOM → verify page loaded | |
| Network | Retry → consider mock → verify backend | |
| Flaky | Explicit waits → check race conditions → run 5x | |
| App bug | Mark test.fixme('BUG: desc') - test is skipped; CI usually still passes unless skipped tests fail the build |
CI Readiness Checklist
- [ ] Passes headless:
npx playwright test --headed=false - [ ] Uses
process.env.BASE_URL - [ ] No hardcoded credentials
- [ ] Explicit viewport
Quick Reference
Always: accessible locators, unique test data, 3+ passes, mock external APIs Never: waitForTimeout(), CSS selectors, test interdependencies, hardcoded creds
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryChecking.github/skills/tsh-e2e-testing/SKILL.md
Popularity
- Repository stars
- 266
- Repository forks
- 18
- 7-day trend score
- 28
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/thesoftwarehouse/copilot-collections/tsh-e2e-testing)