[Maestro version 1.30.3] scrollUntilVisible doesn't work
Describe the bug In our flow we try to scroll to a text that has round brackets in it. The console says it was executed but it wasn't. When trying to scroll to an element that doesn't have round brackets it works perfectly.
EDIT: It has nothing to do with brackets. Also happens with other texts
- scrollUntilVisible:
element:
text: ABC (X Y Z)
- Maestro version [e.g. v1.30.3]
- Framework: Native iOS
- iOS Simulator - iPhone 14 Pro - iOS 16.4
This is due to the fact that text is in fact a regular expression. If you escape the brackets it should work: ABC \(X Y Z\)
This is due to the fact that text is in fact a regular expression. If you escape the brackets it should work:
ABC \(X Y Z\)
Sadly escaping doesn't work
This also happened to a colleague of mine at a completely different app with a Text that doesn't even include brackets:
- scrollUntilVisible:
element:
text: "Unsere Datenschutzbestimmungen"
So it really seems like it is very buggy right now
This guy has the same problem: #1275
i have same probleme
i use a scrollView and each items display only a , no text i added testID with a specific id, but it don't work. it press anywhere
This code working for me. My Maestor Version : 1.34.1
- scrollUntilVisible:
element:
text: "Your text"
direction: DOWN
timeout: 25000
speed: 40
visibilityPercentage: 100
centerElement: true