From f181c73a56406ce062c3d4dc171e73f7c5fe8c0d Mon Sep 17 00:00:00 2001 From: Linus Rath <139418639+rathlinus@users.noreply.github.com> Date: Thu, 22 Oct 2026 12:56:58 +0200 Subject: [PATCH] ci: tap the ios push notification in notification center, not the fading banner --- .maestro/subflows/tap-notification.yaml | 28 +++++++++++++------------ 1 file changed, 15 insertions(+), 13 deletions(-) diff --git a/.maestro/subflows/tap-notification.yaml b/.maestro/subflows/tap-notification.yaml index 823388ee..f72069dc 100644 --- a/.maestro/subflows/tap-notification.yaml +++ b/.maestro/subflows/tap-notification.yaml @@ -1,16 +1,18 @@ -# Tap the notification matching TEXT: the banner while it shows, else the -# entry in Notification Center (pulled down from the top left). +# Tap the notification matching TEXT in Notification Center. The banner +# 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. appId: org.bulwarkmail.mobile --- -- runFlow: - when: - notVisible: ${TEXT} - commands: - - swipe: - start: 20%,1% - end: 20%,60% - duration: 500 - - extendedWaitUntil: - visible: ${TEXT} - timeout: 10000 +- extendedWaitUntil: + notVisible: ${TEXT} + timeout: 15000 + optional: true +- swipe: + start: 20%,1% + end: 20%,60% + duration: 500 +- extendedWaitUntil: + visible: ${TEXT} + timeout: 10000 - tapOn: ${TEXT}