compose-lobsters/maestro/play_store_flow.yml
Harsh Shandilya c93d2f73a9
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.
2023-05-06 12:25:08 +05:30

18 lines
361 B
YAML

appId: dev.msfjarvis.claw.android
---
- launchApp
- tapOn:
text: "Add to saved posts"
index: 0
- tapOn:
text: "Add to saved posts"
index: 1
- takeScreenshot: "HottestPosts"
- tapOn: "Saved"
- takeScreenshot: "SavedPosts"
- tapOn: "Hottest"
- tapOn:
text: "Open comments"
index: 0
- waitForAnimationToEnd
- takeScreenshot: "CommentsPage"