From 707730bea4c8c26577c0756a087c4def7cfb8efc Mon Sep 17 00:00:00 2001 From: Mauro Romito Date: Fri, 8 Mar 2024 15:06:19 +0100 Subject: [PATCH] disabled tests --- .../WysiwygUITests/WysiwygUITests+Autocorrection.swift | 4 ++-- .../Components/WysiwygComposerView/WysiwygTextView.swift | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/platforms/ios/example/WysiwygUITests/WysiwygUITests+Autocorrection.swift b/platforms/ios/example/WysiwygUITests/WysiwygUITests+Autocorrection.swift index 1116826f4..f0f4d11df 100644 --- a/platforms/ios/example/WysiwygUITests/WysiwygUITests+Autocorrection.swift +++ b/platforms/ios/example/WysiwygUITests/WysiwygUITests+Autocorrection.swift @@ -42,12 +42,12 @@ extension WysiwygUITests { XCTAssertTrue(image(.autocorrectionIndicator).exists) } - func testRichTextModeNonLeadingCommand() throws { + func disable_testRichTextModeNonLeadingCommand() throws { textView.typeTextCharByChar("text /not_a_command") XCTAssertTrue(image(.autocorrectionIndicator).exists) } - func testPlainTextModeNonLeadingCommand() throws { + func disable_testPlainTextModeNonLeadingCommand() throws { waitForButtonToExistAndTap(.plainRichButton) textView.typeTextCharByChar("text /not_a_command") XCTAssertTrue(image(.autocorrectionIndicator).exists) diff --git a/platforms/ios/lib/WysiwygComposer/Sources/WysiwygComposer/Components/WysiwygComposerView/WysiwygTextView.swift b/platforms/ios/lib/WysiwygComposer/Sources/WysiwygComposer/Components/WysiwygComposerView/WysiwygTextView.swift index edbd30b83..3aa4cc610 100644 --- a/platforms/ios/lib/WysiwygComposer/Sources/WysiwygComposer/Components/WysiwygComposerView/WysiwygTextView.swift +++ b/platforms/ios/lib/WysiwygComposer/Sources/WysiwygComposer/Components/WysiwygComposerView/WysiwygTextView.swift @@ -137,7 +137,7 @@ public class WysiwygTextView: UITextView { } didSet { // Disabled until we fix the predictive text issue - //toggleAutocorrectionIfNeeded() + // toggleAutocorrectionIfNeeded() delegate?.textViewDidChange?(self) } }