File tree Expand file tree Collapse file tree
WordPress/src/androidTest/java/org/wordpress/android/e2e Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11package org .wordpress .android .e2e ;
22
33import org .junit .Before ;
4- import org .junit .Ignore ;
54import org .junit .Test ;
65import org .wordpress .android .e2e .flows .LoginFlow ;
76import org .wordpress .android .e2e .pages .ContactSupportScreen ;
@@ -18,7 +17,6 @@ public void setUp() {
1817 logoutIfNecessary ();
1918 }
2019
21- @ Ignore ("Ignored temporarily. This sometimes fail on CI while running with whole test suite." )
2220 @ Test
2321 public void e2eSendButtonEnabledWhenTextIsEntered () {
2422 try {
Original file line number Diff line number Diff line change 1717import static org .hamcrest .Matchers .not ;
1818import static org .wordpress .android .support .WPSupportUtils .populateTextField ;
1919import static org .wordpress .android .support .WPSupportUtils .sleep ;
20+ import static org .wordpress .android .support .WPSupportUtils .waitForElementToBeDisplayed ;
2021import static org .wordpress .android .support .WPSupportUtils .waitForElementToBeDisplayedWithoutFailure ;
2122
2223public class ContactSupportScreen {
@@ -67,6 +68,7 @@ public HelpAndSupportScreen goBackAndDeleteUnsentMessageIfNeeded() {
6768
6869 // Assertions:
6970 public ContactSupportScreen assertContactSupportScreenLoaded () {
71+ waitForElementToBeDisplayed (textInput );
7072 textInput .check (matches (isCompletelyDisplayed ()));
7173 sendButton .check (matches (isCompletelyDisplayed ()));
7274 return this ;
You can’t perform that action at this time.
0 commit comments