user-interaction-testing
Installation
SKILL.md
User Interaction Testing Skill
Use this skill when writing automated tests that simulate user-facing interactions such as input handling, menu navigation, button clicks, and full user journeys.
Why Interaction Testing Matters
Unit tests verify that individual functions return correct values. Interaction tests verify that the user can actually accomplish tasks through the UI. A system where every function passes unit tests can still be unusable if:
- Buttons don't respond to clicks
- Navigation flow skips a required screen
- Input is consumed by the wrong UI element
- State isn't properly carried between screens
Mocking External Systems
During user flow tests, external systems should be mocked to keep tests fast, deterministic, and isolated.