Post

Replies

Boosts

Views

Activity

Reply to XCUItest - Accessing page content when using deeply nested React Navigation navigators on iOS Using
We faced this exact same issue on React Native 0.73.7. After trying every suggested workaround (disabling accessibility props, patching the bridge, etc.) with no success, the definitive fix was upgrading to React Native 0.84.0 (New Architecture). The new Fabric rendering engine handles iOS accessibility nodes entirely differently, completely eliminating the 'blobbing' issue for our nested navigators. It works perfectly now. Note: If you upgrade, be aware of Fabric's "View Flattening" optimization. You may need to add collapsable={false} to any <View> that has a testID to ensure the C++ engine doesn't optimize the view out of the native tree before Appium can find it!
4d
Reply to XCUItest - Accessing page content when using deeply nested React Navigation navigators on iOS Using
We faced this exact same issue on React Native 0.73.7. After trying every suggested workaround (disabling accessibility props, patching the bridge, etc.) with no success, the definitive fix was upgrading to React Native 0.84.0 (New Architecture). The new Fabric rendering engine handles iOS accessibility nodes entirely differently, completely eliminating the 'blobbing' issue for our nested navigators. It works perfectly now. Note: If you upgrade, be aware of Fabric's "View Flattening" optimization. You may need to add collapsable={false} to any <View> that has a testID to ensure the C++ engine doesn't optimize the view out of the native tree before Appium can find it!
Replies
Boosts
Views
Activity
4d