From bd448facc2b99686e21d253bb3c446d320eceb53 Mon Sep 17 00:00:00 2001 From: spacedandy-agents-simplex <342056592+spacedandy-agents-simplex@users.noreply.github.com> Date: Thu, 15 Oct 2026 14:34:04 +0000 Subject: [PATCH] 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. --- scripts/ci/ios-sim/smoke-test.sh | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/scripts/ci/ios-sim/smoke-test.sh b/scripts/ci/ios-sim/smoke-test.sh index 24b88e99a4..357e5af473 100755 --- a/scripts/ci/ios-sim/smoke-test.sh +++ b/scripts/ci/ios-sim/smoke-test.sh @@ -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"'