Skip to content

Commit b816eb6

Browse files
committed
Removes: click on before every input event in login flow
1 parent 28814c2 commit b816eb6

File tree

1 file changed

+0
-5
lines changed
  • WordPress/src/androidTest/java/org/wordpress/android/e2e/flows

1 file changed

+0
-5
lines changed

WordPress/src/androidTest/java/org/wordpress/android/e2e/flows/LoginFlow.java

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@ public LoginFlow chooseContinueWithWpCom() {
3838
public LoginFlow enterEmailAddress(String emailAddress) {
3939
// Email Address Screen – Fill it in and click "Continue"
4040
// See LoginEmailFragment
41-
clickOn(R.id.input);
4241
populateTextField(R.id.input, emailAddress);
4342
clickOn(R.id.login_continue_button);
4443
return this;
@@ -47,7 +46,6 @@ public LoginFlow enterEmailAddress(String emailAddress) {
4746
public LoginFlow enterPassword(String password) {
4847
// Password Screen – Fill it in and click "Continue"
4948
// See LoginEmailPasswordFragment
50-
clickOn(R.id.input);
5149
populateTextField(R.id.input, password);
5250
clickOn(R.id.bottom_button);
5351
return this;
@@ -106,9 +104,7 @@ public LoginFlow enterUsernameAndPassword(String username, String password) {
106104
Matchers.instanceOf(EditText.class)));
107105
ViewInteraction passwordElement = onView(allOf(isDescendantOfA(withId(R.id.login_password_row)),
108106
Matchers.instanceOf(EditText.class)));
109-
clickOn(usernameElement);
110107
populateTextField(usernameElement, username + "\n");
111-
clickOn(passwordElement);
112108
populateTextField(passwordElement, password + "\n");
113109
clickOn(R.id.bottom_button);
114110
return this;
@@ -124,7 +120,6 @@ public LoginFlow chooseEnterYourSiteAddress() {
124120
public LoginFlow enterSiteAddress(String siteAddress) {
125121
// Site Address Screen – Fill it in and click "Continue"
126122
// See LoginSiteAddressFragment
127-
clickOn(R.id.input);
128123
populateTextField(R.id.input, siteAddress);
129124
clickOn(R.id.bottom_button);
130125
return this;

0 commit comments

Comments
 (0)