From 3748a64b10600462b9247b4bca86bb0e2e8100c0 Mon Sep 17 00:00:00 2001 From: Linus Rath <139418639+rathlinus@users.noreply.github.com> Date: Thu, 22 Oct 2026 01:15:24 +0200 Subject: [PATCH] ci: turn off the ios slide-to-type tip that swallows typed text in simulator tests --- .github/workflows/e2e-ios.yml | 4 ++++ .maestro/signed-in.yaml | 1 + .maestro/subflows/dismiss-keyboard-tip.yaml | 12 ++++++++++++ 3 files changed, 17 insertions(+) create mode 100644 .maestro/subflows/dismiss-keyboard-tip.yaml diff --git a/.github/workflows/e2e-ios.yml b/.github/workflows/e2e-ios.yml index 1fc8e006..c2ad2070 100644 --- a/.github/workflows/e2e-ios.yml +++ b/.github/workflows/e2e-ios.yml @@ -128,6 +128,10 @@ jobs: fi xcrun simctl boot "$UDID" xcrun simctl bootstatus "$UDID" -b + # A fresh simulator shows the slide-to-type tip over the keyboard the + # first time a text field gets focus, and typed text goes nowhere. + xcrun simctl spawn "$UDID" defaults write com.apple.keyboard.preferences DidShowContinuousPathIntroduction -bool true + xcrun simctl spawn "$UDID" defaults write com.apple.keyboard.preferences KeyboardContinuousPathEnabled -bool false xcrun simctl install "$UDID" "$APP" echo "UDID=$UDID" >> "$GITHUB_ENV" xcrun simctl list devices | grep "$UDID" diff --git a/.maestro/signed-in.yaml b/.maestro/signed-in.yaml index 2997457d..1f8ff7b1 100644 --- a/.maestro/signed-in.yaml +++ b/.maestro/signed-in.yaml @@ -19,6 +19,7 @@ tags: - tapOn: id: login-server-input +- runFlow: subflows/dismiss-keyboard-tip.yaml - inputText: ${SERVER} - pressKey: Enter diff --git a/.maestro/subflows/dismiss-keyboard-tip.yaml b/.maestro/subflows/dismiss-keyboard-tip.yaml new file mode 100644 index 00000000..ae0e82a2 --- /dev/null +++ b/.maestro/subflows/dismiss-keyboard-tip.yaml @@ -0,0 +1,12 @@ +# iOS shows a one-time slide-to-type tip over the keyboard on a fresh +# simulator. The workflow turns it off, but dismiss it if it still shows up. +appId: org.bulwarkmail.mobile +--- +- runFlow: + when: + visible: "Speed up your typing by sliding.*" + commands: + # The sign-in screen has its own Continue button; take the tip's. + - tapOn: + text: "Continue" + below: "Speed up your typing by sliding.*"