spectrum-web-components
spectrum-web-components copied to clipboard
[Docs] Outline sprouted attributes/children/etc that may impact snapshot testing
Code of conduct
- [X] I agree to follow this project's code of conduct.
Description of issue
When snapshot testing attributes like dir or data-js-focus-visible that are sprouted by the element onto its host can cause trouble at test time. Find the right place/practice to document these things in a way that can support developers being more successful when choosing to leverage this testing technique in consuming applications.