Skip to content

Commit 76be537

Browse files
test: set ConnectHardwareKeyboard to 0 and reboot simulator
1 parent 649a723 commit 76be537

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/swiftui-auth.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,10 @@ jobs:
4949
- name: Disable iOS Simulator hardware keyboard
5050
# needed for SecureFields otherwise the UI flow tests will fail
5151
run: |
52-
defaults delete com.apple.iphonesimulator ConnectHardwareKeyboard || true
52+
/usr/libexec/PlistBuddy -c "Set :ConnectHardwareKeyboard 0" ~/Library/Preferences/com.apple.iphonesimulator.plist || true
53+
killall Simulator || true
54+
xcrun simctl boot "iPhone 16 Plus" || true
55+
sleep 10
5356
- name: Run Integration Tests
5457
run: |
5558
cd ./samples/swiftui/FirebaseSwiftUIExample

0 commit comments

Comments
 (0)