File tree Expand file tree Collapse file tree 1 file changed +3
-19
lines changed
app/src/androidTest/java/org/wordpress/aztec/demo Expand file tree Collapse file tree 1 file changed +3
-19
lines changed Original file line number Diff line number Diff line change @@ -135,26 +135,10 @@ public void testSimpleOrderedListFormatting() {
135135 sourceText .check (matches (withText (unformattedText + "\n <ol>\n \t <li>" + formattedText + "</li>\n </ol>" )));
136136 }
137137
138- /*
139- * This test is disabled because Espresso does not click in the correct position for the link dialog's OK button.
140- * See replacement test below.
141- */
142- //@Test
143- //public void testSimpleLinkFormatting() {
144- // Enter text in visual editor with formatting
145- //aztecText.perform(typeText(unformattedText));
146- //linkButton.perform(scrollTo(), click());
147- //linkURLField.perform(replaceText(linkURLText));
148- //linkTextField.perform(replaceText(formattedText));
149- //linkOKButton.perform(click());
150-
151- // Check that HTML formatting tags were correctly added
152- //toggleHTMLView();
153- //sourceText.check(matches(withText(unformattedText + "<a href='" + linkURLText + "'>" + formattedText + "</a>")));
154- //}
155-
156138 /*
157139 * This test enters link HTML and then checks the link dialog values.
140+ * This is opposite of the steps in the other tests (which enter rich text and check the HTML),
141+ * because Espresso does not click in the correct position for the link dialog's OK button.
158142 */
159143 @ Test
160144 public void testSimpleLinkFormatting () {
@@ -283,4 +267,4 @@ public void testSimplePreformattedTextFormatting() {
283267 toggleHTMLView ();
284268 sourceText .check (matches (withText (unformattedText + "\n <pre>" + formattedText + "</pre>" )));
285269 }
286- }
270+ }
You can’t perform that action at this time.
0 commit comments