From 3575ed9450cfd7143ab7561b31f2837de4bd6cae Mon Sep 17 00:00:00 2001 From: Linus Rath <139418639+rathlinus@users.noreply.github.com> Date: Thu, 22 Oct 2026 13:04:59 +0200 Subject: [PATCH] ci: tap the ios notification again until the app opens --- .maestro/subflows/tap-notification.yaml | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/.maestro/subflows/tap-notification.yaml b/.maestro/subflows/tap-notification.yaml index f72069dc..f9d56aad 100644 --- a/.maestro/subflows/tap-notification.yaml +++ b/.maestro/subflows/tap-notification.yaml @@ -2,6 +2,8 @@ # goes away after a few seconds, often between Maestro finding it and # tapping it (the tap then lands on whatever is below): wait until it is # gone, pull Notification Center down from the top left, and tap there. +# A tap while the pull-down still moves does nothing, so tap until the +# notification is gone (the app opened). appId: org.bulwarkmail.mobile --- - extendedWaitUntil: @@ -15,4 +17,13 @@ appId: org.bulwarkmail.mobile - extendedWaitUntil: visible: ${TEXT} timeout: 10000 -- tapOn: ${TEXT} +- waitForAnimationToEnd: + timeout: 3000 +- repeat: + while: + visible: ${TEXT} + times: 3 + commands: + - tapOn: ${TEXT} + - waitForAnimationToEnd: + timeout: 4000