diff --git a/packages/rn-tester/.maestro/new-arch-examples.yml b/packages/rn-tester/.maestro/new-arch-examples.yml index 478f7a5f7ec956..4126141507acef 100644 --- a/packages/rn-tester/.maestro/new-arch-examples.yml +++ b/packages/rn-tester/.maestro/new-arch-examples.yml @@ -30,3 +30,6 @@ appId: ${APP_ID} # iOS: com.meta.RNTester.localDevelopment | Android: com.facebo text: "Fire Legacy Style Event" repeat: 10 - assertVisible: "Legacy Style Event Fired 10 times" +- assertVisible: "Opacity: 1.0" +- tapOn: "Set Opacity" +- assertVisible: "Opacity: 0.8" diff --git a/packages/rn-tester/NativeComponentExample/js/MyNativeView.js b/packages/rn-tester/NativeComponentExample/js/MyNativeView.js index 00392b725d3ad4..5fe7c46c2dd6ce 100644 --- a/packages/rn-tester/NativeComponentExample/js/MyNativeView.js +++ b/packages/rn-tester/NativeComponentExample/js/MyNativeView.js @@ -166,6 +166,9 @@ export default function MyNativeView(props: {}): React.Node { Constants From Interop Layer:{' '} {UIManager.getViewManagerConfig('RNTMyLegacyNativeView').Constants.PI} + + Opacity: {opacity.toFixed(1)} +