File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
app/src/androidTest/java/com/mytaxi/android_demo/activities Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -118,8 +118,9 @@ public void searchDriver () {
118
118
}
119
119
120
120
onView (withId (R .id .searchContainer )).check (matches (isDisplayed ()));
121
- onView (withText (containsString ("Sarah" ))).inRoot (withDecorView (not (mMainActivity .getActivity ().getWindow ().getDecorView ()))).check (matches (isDisplayed ()));
122
121
IdlingRegistry .getInstance ().unregister (mIdlingResource1 );
122
+ onView (withText (containsString ("Sarah" ))).inRoot (withDecorView (not (mMainActivity .getActivity ().getWindow ().getDecorView ()))).check (matches (isDisplayed ()));
123
+
123
124
//Step 7: Click on the Second Name
124
125
onView (withText ("Sarah Scott" )).inRoot (withDecorView (not (mMainActivity .getActivity ().getWindow ().getDecorView ()))).perform (click ());
125
126
Original file line number Diff line number Diff line change @@ -175,7 +175,8 @@ public void checkInvalidPassword() {
175
175
//Step 1 : Enter valid username in the input field with heading username
176
176
onView (withId (R .id .edt_username )).perform (typeText (sUserName ));
177
177
178
- //Step 2: Enter invalid password string associated with username
178
+ //Step 2:
179
+ // Enter invalid password string associated with username
179
180
onView (withId (R .id .edt_password )).perform (typeText (sInvalidPassword ));
180
181
181
182
//Step 3: close the keyboard
You can’t perform that action at this time.
0 commit comments