From fc73bf83344a00da0ee32716dd1b40fa31e5796a Mon Sep 17 00:00:00 2001 From: Linus Rath <139418639+rathlinus@users.noreply.github.com> Date: Mon, 2 Nov 2026 22:28:56 +0100 Subject: [PATCH] test: wait for the selection bar to close after a bulk star in the ios move flow --- .maestro/features/07-move-delete-tag.yaml | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/.maestro/features/07-move-delete-tag.yaml b/.maestro/features/07-move-delete-tag.yaml index f97e2b6a..d4be808f 100644 --- a/.maestro/features/07-move-delete-tag.yaml +++ b/.maestro/features/07-move-delete-tag.yaml @@ -81,23 +81,24 @@ tags: commands: - tapOn: "More actions.*" - tapOn: "Star|Unstar" -# A bulk action ends selection mode by itself. -- runFlow: - when: - visible: "Clear selection" - commands: - - tapOn: "Clear selection" +# A bulk action ends selection mode by itself once the server has the +# change, so the bar stays up for a moment: wait for it to go rather than +# tap Clear selection (the tap can land after the bar is gone). +- extendedWaitUntil: + notVisible: "Clear selection" + timeout: 15000 - longPressOn: id: email-row text: ".*Grüße aus München.*" +- extendedWaitUntil: + visible: "Clear selection" + timeout: 10000 - runFlow: when: notVisible: "Unstar|Star" commands: - tapOn: "More actions.*" - tapOn: "Unstar|Star" -- runFlow: - when: - visible: "Clear selection" - commands: - - tapOn: "Clear selection" +- extendedWaitUntil: + notVisible: "Clear selection" + timeout: 15000