User experience and browser behavior
Tests coupled to private state and implementation details often pass while a control is unusable, or fail after harmless refactors without detecting user-facing defects.
- Start from native browser semantics
- Test loading, error and interaction states
- Measure user experience on representative devices