mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-11-05 06:17:34 +00:00
ci: drop the keyboard preferences, which did not take effect
Written with simctl spawn defaults write, with and without a simulator restart, they changed nothing in runs 38729704027 and 38734049940: typing still capitalized, autocorrected ("Citester" became the profile name "Forester") and predicted. Removing them saves the restart; the Claude prompt says to check typed text in the tree.
This commit is contained in:
1 parent
b3dd8b7bf8
commit
bd448facc2
1 file changed
+1
-9
@@ -27,14 +27,6 @@ if [ -n "${GITHUB_ENV:-}" ]; then
|
||||
fi
|
||||
xcrun simctl boot "$SIM_UDID"
|
||||
xcrun simctl bootstatus "$SIM_UDID" -b
|
||||
# the keyboard types exactly what it is given: no capitals, corrections or predictions;
|
||||
# the keyboard daemon reads these settings when it starts, hence the restart
|
||||
for key in KeyboardAutocapitalization KeyboardAutocorrection KeyboardPrediction; do
|
||||
xcrun simctl spawn "$SIM_UDID" defaults write com.apple.Preferences "$key" -bool false
|
||||
done
|
||||
xcrun simctl shutdown "$SIM_UDID"
|
||||
xcrun simctl boot "$SIM_UDID"
|
||||
xcrun simctl bootstatus "$SIM_UDID" -b
|
||||
open -a Simulator --args -CurrentDeviceUDID "$SIM_UDID"
|
||||
|
||||
xcrun simctl spawn "$SIM_UDID" log stream --level debug --style compact --predicate 'process == "SimpleX"' > "$UI_OUT/app.log" 2>&1 &
|
||||
@@ -121,7 +113,7 @@ sleep 5
|
||||
"$ui" type "$search_text"
|
||||
sleep 2
|
||||
"$ui" shot search-typed
|
||||
# the keyboard may still capitalize the first letter
|
||||
# the keyboard capitalizes the first letter
|
||||
expect_in_tree -iF "\"$search_text\""
|
||||
expect_in_tree -F '"Search in Directory"'
|
||||
|
||||
|
||||
Reference in new issue
Block a user