ci: turn off the ios slide-to-type tip that swallows typed text in simulator tests

This commit is contained in:
Linus Rath
2026-10-22 01:15:24 +02:00
parent 2078388e6f
commit 3748a64b10
3 changed files with 17 additions and 0 deletions
+4
View File
@@ -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"
+1
View File
@@ -19,6 +19,7 @@ tags:
- tapOn:
id: login-server-input
- runFlow: subflows/dismiss-keyboard-tip.yaml
- inputText: ${SERVER}
- pressKey: Enter
@@ -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.*"