spectrum-web-components icon indicating copy to clipboard operation
spectrum-web-components copied to clipboard

[Docs] Outline sprouted attributes/children/etc that may impact snapshot testing

Open Westbrook opened this issue 4 years ago • 0 comments

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.

Westbrook avatar Aug 25 '21 19:08 Westbrook