Skip to content
This repository has been archived by the owner on Sep 27, 2024. It is now read-only.

Commit

Permalink
disabled a test that only works on device
Browse files Browse the repository at this point in the history
also removed the forcing software keyboard, since now it's automatically forced on 15.4 every run.
  • Loading branch information
Velin92 committed Jul 16, 2024
1 parent e959232 commit 04c7f47
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 20 deletions.
19 changes: 0 additions & 19 deletions platforms/ios/example/Wysiwyg.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,6 @@
isa = PBXNativeTarget;
buildConfigurationList = A6472CD12886CF840021A0E8 /* Build configuration list for PBXNativeTarget "WysiwygUITests" */;
buildPhases = (
A75C6AD32C3ECA450096D3A4 /* Force software keyboard on simulator */,
A6472CBD2886CF840021A0E8 /* Sources */,
A6472CBE2886CF840021A0E8 /* Frameworks */,
A6472CBF2886CF840021A0E8 /* Resources */,
Expand Down Expand Up @@ -396,24 +395,6 @@
shellPath = /bin/sh;
shellScript = "export PATH=\"$PATH:/opt/homebrew/bin\"\nif which swiftformat >/dev/null; then\n swiftformat $PROJECT_DIR\n swiftformat ../lib/WysiwygComposer\nelse\n echo \"warning: SwiftFormat not installed, download from https://github.com/nicklockwood/SwiftFormat\"\nfi\n";
};
A75C6AD32C3ECA450096D3A4 /* Force software keyboard on simulator */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
);
inputFileListPaths = (
);
inputPaths = (
);
name = "Force software keyboard on simulator";
outputFileListPaths = (
);
outputPaths = (
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "external_kb_connected=false\n\nosascript -e 'quit app \"Simulator\"'\n\nSIMUS_KEYBOARD=$(/usr/libexec/PlistBuddy -c \"Print :DevicePreferences\" ~/Library/Preferences/com.apple.iphonesimulator.plist | perl -lne 'print $1 if /^ (\\S*) =/')\n\necho \"$SIMUS_KEYBOARD\" | while read -r a; do /usr/libexec/PlistBuddy -c \"Set :DevicePreferences:$a:ConnectHardwareKeyboard $external_kb_connected\" ~/Library/Preferences/com.apple.iphonesimulator.plist || /usr/libexec/PlistBuddy -c \"Add :DevicePreferences:$a:ConnectHardwareKeyboard bool $external_kb_connected\" ~/Library/Preferences/com.apple.iphonesimulator.plist; done\n";
};
/* End PBXShellScriptBuildPhase section */

/* Begin PBXSourcesBuildPhase section */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,8 @@ extension WysiwygUITests {
)
}

func testDotAfterInlinePredictiveText() {
// This test only works on a real device, but not on simulator
func disabled_testDotAfterInlinePredictiveText() {
sleep(1)
setupKeyboard(.englishQWERTY)

Expand Down

0 comments on commit 04c7f47

Please sign in to comment.