Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -66,78 +66,6 @@ class MainActivityTest {
)
appCompatEditText2.perform(pressImeActionButton())

// val appCompatEditText3 = onView(
// allOf(
// withId(R.id.edLocationName2),
// childAtPosition(
// allOf(
// withId(R.id.form_layout),
// childAtPosition(
// withClassName(`is`("android.support.constraint.ConstraintLayout")),
// 0
// )
// ),
// 5
// ),
// isDisplayed()
// )
// )
// appCompatEditText3.perform(replaceText("Mexico"), closeSoftKeyboard())
//
// val appCompatEditText4 = onView(
// allOf(
// withId(R.id.edLocationName2), withText("Mexico"),
// childAtPosition(
// allOf(
// withId(R.id.form_layout),
// childAtPosition(
// withClassName(`is`("android.support.constraint.ConstraintLayout")),
// 0
// )
// ),
// 5
// ),
// isDisplayed()
// )
// )
// appCompatEditText4.perform(pressImeActionButton())
//
// val appCompatEditText5 = onView(
// allOf(
// withId(R.id.edLocationName3),
// childAtPosition(
// allOf(
// withId(R.id.form_layout),
// childAtPosition(
// withClassName(`is`("android.support.constraint.ConstraintLayout")),
// 0
// )
// ),
// 7
// ),
// isDisplayed()
// )
// )
// appCompatEditText5.perform(replaceText("USA"), closeSoftKeyboard())
//
//
// val button2 = onView(
// allOf(
// withId(R.id.btGoToMap),
// childAtPosition(
// allOf(
// withId(R.id.form_layout),
// childAtPosition(
// IsInstanceOf.instanceOf(android.view.ViewGroup::class.java),
// 0
// )
// ),
// 8
// ),
// isDisplayed()
// )
// )
// button2.check(matches(isDisplayed()))
}

private fun childAtPosition(
Expand All @@ -157,4 +85,4 @@ class MainActivityTest {
}
}
}
}