maestro
maestro copied to clipboard
[v1.34.1] Component with position: 'absolute' is not recognised
Describe the bug Component with position: 'absolute' is not recognised.
To Reproduce Set one <View /> to position: 'absolute'
Screenshots The component with position set to 'absolute' is this dropdown with three options.
Environment information (please complete the following information):
- Maestro version [1.34.1]
- Platform: [Android Simulator API 33 ]
- Framework: [React Native 0.72.6]
- Host [Mac M1]
Additional context I don't know if this is considered a bug or is it completely understandable behaviour. If so, please forgive me and close the ticket :)
Best regards
I wonder if you found any workaround for this @wonderlul? I have the exact same issue on iOS.
This only happened for me on Android. On iOS, studio able to find the element. Also, from what I observe, this only happened to element that have absolute positioned, and also positioned outside of the parent layout. eg negative position.
I am also facing this issue with component having absolute styling. I am facing issue in IOS only. In android it is working fine for me.
I upgraded to v1.35.0 same issue continued
Is there any update for this, as I have just run into this situation myself. It occurs on both android emulator and iOS simulator and only for components that have absolute positioning.
Maestro version [1.36.0] Platform: [Android Simulator API 34 and iPhone 15 Pro Max 17.4 Simulator] Framework: [React Native 0.72.5] Host [Mac Intel]
I have the exact same error for iOS and Android.
| Label | Value |
|---|---|
| Maestro version | 1.36.0 |
| Platform | Android Emulator API 32, iPhone 14 16.2 Simulator |
| Framework | React Native 0.71.14 |
| Host | Mac Silicon M1 |
Any updates on this issue?
same issue, any updates here ?
Same
Same issue here
If it can help anyone, one workaround was to make sure the parent Touchable element had accessibility prop set to false to enable visibility of all its children, and the nested Touchable element had to hold the absolute positioning (not its child). I still hope this could be improved on the Maestro side 👍