From 7cb9fa97376542ca34bfeac4246b40cd777ba43a Mon Sep 17 00:00:00 2001 From: Nick Gerleman Date: Tue, 29 Oct 2024 17:53:16 -0700 Subject: [PATCH] Add lineHeight screenshot tests (#47270) Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/47270 Lets add some screenshot tests, along with one more example, and fixing some silly typos in test IDs. Changelog: [Internal] Reviewed By: javache Differential Revision: D65094482 fbshipit-source-id: a5f3e06c4737158bf6419364d05668c3feb1bd5e --- .../js/examples/Text/TextExample.android.js | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) diff --git a/packages/rn-tester/js/examples/Text/TextExample.android.js b/packages/rn-tester/js/examples/Text/TextExample.android.js index b9cb1a2f126..453b9c2cfe3 100644 --- a/packages/rn-tester/js/examples/Text/TextExample.android.js +++ b/packages/rn-tester/js/examples/Text/TextExample.android.js @@ -890,7 +890,7 @@ function LineHeightExample(props: {}): React.Node { }, styles.wrappedText, ]} - testID="line-height-greater-than-fonst-size"> + testID="line-height-greater-than-font-size"> Holisticly formulate inexpensive ideas before best-of-breed benefits.{' '} Continually expedite magnetic potentialities rather than client-focused interfaces. @@ -906,7 +906,7 @@ function LineHeightExample(props: {}): React.Node { }, styles.wrappedText, ]} - testID="line-height-less-than-fonst-size"> + testID="line-height-less-than-font-size"> Holisticly formulate inexpensive ideas before best-of-breed benefits.{' '} Continually expedite magnetic potentialities rather than client-focused interfaces. @@ -921,7 +921,20 @@ function LineHeightExample(props: {}): React.Node { }, styles.wrappedText, ]} - testID="line-height-single-line-less-than-fonst-size"> + testID="line-height-single-line-less-than-font-size"> + Holisticly formulate + + Holisticly formulate