Enable TextInput-textStyles E2E Test against RNTester

Summary:
We fixed the previous layout issue when it wasn't in a ScrollView (I think text caching problem?) Let's enable for more than just Catalyst, and re-enable this test for iOS!

Changelog: [Internal]

Reviewed By: GijsWeterings

Differential Revision: D72683455

fbshipit-source-id: 538f8e23226c07510d382e45eb29f1710822849e
This commit is contained in:
Nick Gerleman
2025-04-11 21:08:16 -07:00
committed by Facebook GitHub Bot
parent e4ae7be1a2
commit f9aed5a747
@@ -70,13 +70,6 @@ const styles = StyleSheet.create({
focusedUncontrolled: {
margin: -2,
},
screenshotArea: {
position: 'absolute',
top: -5,
left: 120,
right: -5,
bottom: -5,
},
wrappedText: {
maxWidth: 300,
},
@@ -781,8 +774,7 @@ function TextStylesContainer({examples}: TextStylesContainerProps) {
onPress={() => setOffset((offset + 1) % MAX_CYCLES)}>
Cycle {offset + 1}/{MAX_CYCLES}
</RNTesterButton>
<View>
<View testID="styles-screenshot-area" style={styles.screenshotArea} />
<View testID="text-styles">
{examples.map(({name, multiline, textStyles}) => (
<WithLabel label={name} key={name}>
{multiline ? (