# Widget Test Best Practices - Test invalid states and edge cases as much as possible!! - Verify correct UI rendering with snapshot tests. - Simulate clicks, inputs, and gestures to test behavior. - Check for a11y compliance (labels, keyboard navigation). - Measure render time and re-renders. - Aim for high test coverage without redundancy. - Ensure consistency across browsers and devices.