textStartsWith and textContains do not work on iOS #1536
Labels
bug
Something isn't working
package: patrol
Related to the patrol package (native automation, test bundling)
platform: ios
iOS is affected
Steps to reproduce
await $.native.openApp(appId: 'com.apple.DocumentsApp');
text
argument and the files appId - it will find the element on the screen. e.g:await $.native.tap(Selector(text: 'Browse'), appId: 'com.apple.DocumentsApp');
textStartsWith
argument and the files appId - it will not find the element. e.g:await $.native.tap(Selector(textStartsWith: 'Browse'), appId: 'com.apple.DocumentsApp');
My assumption reading the logs is that it ignores the
textStartsWith
parameter and only takes thetext
parameter into consideration.I've even tried it with
textContains
and it doesn't work as well.It works perfectly on Android.
Logs
Logs
Patrol version
patrol: 2.0.7
Patrol Doctor output
Patrol Doctor output
Flutter Doctor output
Flutter Doctor output
The text was updated successfully, but these errors were encountered: