From c93d2f73a9f2146bc6c7f927eafc009847bc1b6a Mon Sep 17 00:00:00 2001 From: Harsh Shandilya Date: Sat, 6 May 2023 12:25:08 +0530 Subject: [PATCH] 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. --- maestro/play_store_flow.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/maestro/play_store_flow.yml b/maestro/play_store_flow.yml index 71fda49f..5d68805b 100644 --- a/maestro/play_store_flow.yml +++ b/maestro/play_store_flow.yml @@ -6,7 +6,7 @@ appId: dev.msfjarvis.claw.android index: 0 - tapOn: text: "Add to saved posts" - index: 2 + index: 1 - takeScreenshot: "HottestPosts" - tapOn: "Saved" - takeScreenshot: "SavedPosts"