Skip to content

Commit a4186d6

Browse files
committed
use existing textInput element
1 parent 3164088 commit a4186d6

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

WordPress/src/androidTest/java/org/wordpress/android/e2e/pages/ContactSupportScreen.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,6 @@ public class ContactSupportScreen {
4040
)
4141
));
4242

43-
static ViewInteraction inputTextField = onView(withId(R.id.message_composer_input_text));
44-
4543
// Actions:
4644
public ContactSupportScreen setMessageText(String text) {
4745
populateTextField(textInput, text);
@@ -70,7 +68,7 @@ public HelpAndSupportScreen goBackAndDeleteUnsentMessageIfNeeded() {
7068

7169
// Assertions:
7270
public ContactSupportScreen assertContactSupportScreenLoaded() {
73-
waitForElementToBeDisplayed(inputTextField);
71+
waitForElementToBeDisplayed(textInput);
7472
textInput.check(matches(isCompletelyDisplayed()));
7573
sendButton.check(matches(isCompletelyDisplayed()));
7674
return this;

0 commit comments

Comments
 (0)