mirror of
https://github.com/bulwarkmail/native.git
synced 2026-10-31 08:06:36 +00:00
ci: turn off the ios slide-to-type tip that swallows typed text in simulator tests
This commit is contained in:
@@ -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"
|
||||
|
||||
@@ -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.*"
|
||||
Reference in New Issue
Block a user