From 6530526f15660f6ba117eeba97971ed38019b747 Mon Sep 17 00:00:00 2001 From: Lorenzo Mattei Date: Wed, 15 Nov 2023 23:42:56 +0100 Subject: [PATCH] Update key set up flow --- .maestro/sync_tests/03_recover_account.yaml | 33 +++++++++++---------- .maestro/sync_tests/04_sync_data.yaml | 33 +++++++++++---------- 2 files changed, 34 insertions(+), 32 deletions(-) diff --git a/.maestro/sync_tests/03_recover_account.yaml b/.maestro/sync_tests/03_recover_account.yaml index 1e4a054c40..1cd62c3a81 100644 --- a/.maestro/sync_tests/03_recover_account.yaml +++ b/.maestro/sync_tests/03_recover_account.yaml @@ -19,27 +19,28 @@ tags: - tapOn: id: searchEntry - inputText: ${CODE} -- tapOn: - id: searchEntry -- doubleTapOn: - id: searchEntry -- runFlow: - when: - visible: - text: "Select All" + +- evalScript: ${output.counter = 0} +- repeat: + while: + true: ${output.counter < 3} + notVisible: Select All commands: - - tapOn: "Select All" + - longPressOn: + id: "searchEntry" + - evalScript: ${output.counter = output.counter + 1} +- tapOn: 'Select All' - tapOn: Cut -- tapOn: - id: searchEntry -- runFlow: - when: - notVisible: - text: "Paste" +- evalScript: ${output.counter = 0} +- repeat: + while: + true: ${output.counter < 3} + notVisible: Paste commands: - tapOn: - id: searchEntry + id: "searchEntry" + - evalScript: ${output.counter = output.counter + 1} - tapOn: Paste - tapOn: Cancel diff --git a/.maestro/sync_tests/04_sync_data.yaml b/.maestro/sync_tests/04_sync_data.yaml index e9f948d4e0..79f2f68cea 100644 --- a/.maestro/sync_tests/04_sync_data.yaml +++ b/.maestro/sync_tests/04_sync_data.yaml @@ -56,27 +56,28 @@ tags: - tapOn: id: searchEntry - inputText: ${CODE} -- tapOn: - id: searchEntry -- doubleTapOn: - id: searchEntry -- runFlow: - when: - visible: - text: "Select All" + +- evalScript: ${output.counter = 0} +- repeat: + while: + true: ${output.counter < 3} + notVisible: Select All commands: - - tapOn: "Select All" + - longPressOn: + id: "searchEntry" + - evalScript: ${output.counter = output.counter + 1} +- tapOn: 'Select All' - tapOn: Cut -- tapOn: - id: searchEntry -- runFlow: - when: - notVisible: - text: "Paste" +- evalScript: ${output.counter = 0} +- repeat: + while: + true: ${output.counter < 3} + notVisible: Paste commands: - tapOn: - id: searchEntry + id: "searchEntry" + - evalScript: ${output.counter = output.counter + 1} - tapOn: Paste - tapOn: Cancel