component testing

What UI behavior is actually worth testing?

I understand unit testing business logic, since it covers code we wrote ourselves. Testing a custom, self-contained componentโ€”such as a data tableโ€”also seems worthwhile because its behavior is…