fix(maestro): correct tap index

I initially wrote this to tap the 1st and 3rd save button but failed to account for the fact that once the first button was pressed, its text property would no longer be "Add to saved posts" which results in index=2 actually pointing to the 4th absolute position in the list.
This commit is contained in:
Harsh Shandilya 2023-05-06 12:25:08 +05:30 committed by GitHub
parent 66d638f952
commit c93d2f73a9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -6,7 +6,7 @@ appId: dev.msfjarvis.claw.android
index: 0 index: 0
- tapOn: - tapOn:
text: "Add to saved posts" text: "Add to saved posts"
index: 2 index: 1
- takeScreenshot: "HottestPosts" - takeScreenshot: "HottestPosts"
- tapOn: "Saved" - tapOn: "Saved"
- takeScreenshot: "SavedPosts" - takeScreenshot: "SavedPosts"