microsoft / react-native-windows

A framework for building native Windows apps with React.
https://microsoft.github.io/react-native-windows/
Other
16.4k stars 1.14k forks source link

Add Text Data to Composition Tree Dump Contents #13237

Open chiaramooney opened 6 months ago

chiaramooney commented 6 months ago

Currently we have Composition Tree Dump tests which dump some of the contents of a components Composition tree into a JSON object. We should add text data to the JSON dumps, so we have information on text value and styling included in our checks for visual regressions.

jonthysell commented 6 months ago

We should also have rendering verification tests (i.e. screenshot comparisons).

jonthysell commented 6 months ago

We should also decide what we capture in the text comparison (raw text, styling, etc)