ViewActions.closeSoftKeyboard())
Espresso.onView(ViewMatchers.withId(R.id.loginSubmitButton)).perform(ViewActions.click())
Espresso.onView(ViewMatchers.withText(“Main"))
.check(ViewAssertions.matches(ViewMatchers.isDisplayed()))
} est
test_login_doThis() {
presso.onView(ViewMatchers.withId(R.id.loginUsernameEditText))
perform(ViewActions.typeText("
[email protected]"), ViewActions.closeSoftKeyboard())
presso.onView(ViewMatchers.withId(R.id.loginPasswordEditText))
perform(ViewActions.typeText("007"), ViewActions.closeSoftKeyboard())
presso.onView(ViewMatchers.withId(R.id.loginSubmitButton)).perform(ViewActions.click())
presso.onView(ViewMatchers.withText(“Main"))
check(ViewAssertions.matches(ViewMatchers.isDisplayed()))
st
est_login_withSomething() {
resso.onView(ViewMatchers.withId(R.id.loginUsernameEditText))
erform(ViewActions.typeText("
[email protected]"), ViewActions.closeSoftKeyboard())
resso.onView(ViewMatchers.withId(R.id.loginPasswordEditText))
erform(ViewActions.typeText("007"), ViewActions.closeSoftKeyboard())
resso.onView(ViewMatchers.withId(R.id.loginUsernameEditText))
erform(ViewActions.typeText("
[email protected]"), ViewActions.closeSoftKeyboard())
resso.onView(ViewMatchers.withId(R.id.loginPasswordEditText))
erform(ViewActions.typeText("007"), ViewActions.closeSoftKeyboard())
resso.onView(ViewMatchers.withId(R.id.loginSubmitButton)).perform(ViewActions.click())
resso.onView(ViewMatchers.withText(“Main"))
heck(ViewAssertions.matches(ViewMatchers.isDisplayed()))
@Test
fun test_login_doOther() {
Espresso.onView(ViewMatchers.withId(R.id.loginUsernameEditText))
.perform(ViewActions.typeText("
[email protected]"), ViewActions.closeSoftKeyboard())
Espresso.onView(ViewMatchers.withId(R.id.loginPasswordEditText))
.perform(ViewActions.typeText("007"), ViewActions.closeSoftKeyboard())
Espresso.onView(ViewMatchers.withId(R.id.loginUsernameEditText))
.perform(ViewActions.typeText("
[email protected]"), ViewActions.closeSoftKeyboard())
Espresso.onView(ViewMatchers.withId(R.id.loginPasswordEditText))
.perform(ViewActions.typeText("007"), ViewActions.closeSoftKeyboard())
Espresso.onView(ViewMatchers.withId(R.id.loginSubmitButton)).perform(ViewActions.click())
Espresso.onView(ViewMatchers.withText(“Main"))
.check(ViewAssertions.matches(ViewMatchers.isDisplayed()))
} @Test
fun test_login_doMore() {
Espresso.onView(ViewMatchers.withId(R.id.loginUsernameEditText))
.perform(ViewActions.typeText("
[email protected]"), ViewActions.closeSoftKeyboard())
Espresso.onView(ViewMatchers.withId(R.id.loginPasswordEditText))
.perform(ViewActions.typeText("007"), ViewActions.closeSoftKeyboard())
Espresso.onView(ViewMatchers.withId(R.id.loginUsernameEditText))
.perform(ViewActions.typeText("
[email protected]"), ViewActions.closeSoftKeyboard())
Espresso.onView(ViewMatchers.withId(R.id.loginPasswordEditText))
.perform(ViewActions.typeText("007"), ViewActions.closeSoftKeyboard())
Espresso.onView(ViewMatchers.withId(R.id.loginSubmitButton)).perform(ViewActions.click(
Espresso.onView(ViewMatchers.withText(“Main"))
.check(ViewAssertions.matches(ViewMatchers.isDisplayed()))
@Test
fun test_login_doOther() {
Espresso.onView(ViewMatchers.withId(R.id.loginUsernameEditText))
.perform(ViewActions.typeText("
[email protected]"), ViewActions.closeSoftKeybo
Espresso.onView(ViewMatchers.withId(R.id.loginPasswordEditText))
.perform(ViewActions.typeText("007"), ViewActions.closeSoftKeyboard())
Espresso.onView(ViewMatchers.withId(R.id.loginUsernameEditText))
.perform(ViewActions.typeText("
[email protected]"), ViewActions.closeSoftKeybo
Espresso.onView(ViewMatchers.withId(R.id.loginPasswordEditText))
.perform(ViewActions.typeText("007"), ViewActions.closeSoftKeyboard())
Espresso.onView(ViewMatchers.withId(R.id.loginSubmitButton)).perform(ViewAction
Espresso.onView(ViewMatchers.withText(“Main"))
.check(ViewAssertions.matches(ViewMatchers.isDisplayed()))
} @Test
fun test_login_doOther() {
Espresso.onView(ViewMatchers.withId(R.id.loginUsernameEditText))
.perform(ViewActions.typeText("
[email protected]"), ViewActions.closeSoftKeyboard())
Espresso.onView(ViewMatchers.withId(R.id.loginPasswordEditText))
.perform(ViewActions.typeText("007"), ViewActions.closeSoftKeyboard())
Espresso.onView(ViewMatchers.withId(R.id.loginUsernameEditText))
.perform(ViewActions.typeText("
[email protected]"), ViewActions.closeSoftKeyboard())
Espresso.onView(ViewMatchers.withId(R.id.loginPasswordEditText))
.perform(ViewActions.typeText("007"), ViewActions.closeSoftKeyboard())
Espresso.onView(ViewMatchers.withId(R.id.loginSubmitButton)).perform(ViewActions.click())
Espresso.onView(ViewMatchers.withText(“Main"))
.check(ViewAssertions.matches(ViewMatchers.isDisplayed()))
} @Test
fun test_login_doOther() {
Espresso.onView(ViewMatchers.withId(R.id.loginUsernameEditText))
.perform(ViewActions.typeText("
[email protected]"), ViewActions.closeSoftKeyboard())
Espresso.onView(ViewMatchers.withId(R.id.loginPasswordEditText))
.perform(ViewActions.typeText("007"), ViewActions.closeSoftKeyboard())
Espresso.onView(ViewMatchers.withId(R.id.loginUsernameEditText))
.perform(ViewActions.typeText("
[email protected]"), ViewActions.closeSoftKeyboard())
Espresso.onView(ViewMatchers.withId(R.id.loginPasswordEditText))
.perform(ViewActions.typeText("007"), ViewActions.closeSoftKeyboard())
Espresso.onView(ViewMatchers.withId(R.id.loginSubmitButton)).perform(ViewActions.click())
Espresso.onView(ViewMatchers.withText(“Main"))
.check(ViewAssertions.matches(ViewMatchers.isDisplayed()))
} @Test
fun test_login_doOther() {
Espresso.onView(ViewMatchers.withId(R.id.loginUsernameEditText))
.perform(ViewActions.typeText("
[email protected]"), ViewActions.closeSoftKeyboard())
Espresso.onView(ViewMatchers.withId(R.id.loginPasswordEditText))
.perform(ViewActions.typeText("007"), ViewActions.closeSoftKeyboard())
Espresso.onView(ViewMatchers.withId(R.id.loginUsernameEditText))
.perform(ViewActions.typeText("
[email protected]"), ViewActions.closeSoftKeyboard())
Espresso.onView(ViewMatchers.withId(R.id.loginPasswordEditText))
.perform(ViewActions.typeText("007"), ViewActions.closeSoftKeyboard())
Espresso.onView(ViewMatchers.withId(R.id.loginSubmitButton)).perform(ViewActions.click())
Espresso.onView(ViewMatchers.withText(“Main"))
.check(ViewAssertions.matches(ViewMatchers.isDisplayed()))
} oOther() {
ew(ViewMatchers.withId(R.id.loginUsernameEditText))
wActions.typeText("
[email protected]"), ViewActions.closeSoftKeyboard())
ew(ViewMatchers.withId(R.id.loginPasswordEditText))
wActions.typeText("007"), ViewActions.closeSoftKeyboard())
ew(ViewMatchers.withId(R.id.loginUsernameEditText))
wActions.typeText("
[email protected]"), ViewActions.closeSoftKeyboard())
ew(ViewMatchers.withId(R.id.loginPasswordEditText))
wActions.typeText("007"), ViewActions.closeSoftKeyboard())
ew(ViewMatchers.withId(R.id.loginSubmitButton)).perform(ViewActions.click())
ew(ViewMatchers.withText(“Main"))
Assertions.matches(ViewMatchers.isDisplayed()))
@Test
fun test_login_doOther() {
Espresso.onView(ViewMatchers.withId(R.id.loginUsernameEditText))
.perform(ViewActions.typeText("
[email protected]"), ViewActions.closeSoftKeyboard())
Espresso.onView(ViewMatchers.withId(R.id.loginPasswordEditText))
.perform(ViewActions.typeText("007"), ViewActions.closeSoftKeyboard())
Espresso.onView(ViewMatchers.withId(R.id.loginUsernameEditText))
.perform(ViewActions.typeText("
[email protected]"), ViewActions.closeSoftKeyboard())
Espresso.onView(ViewMatchers.withId(R.id.loginPasswordEditText))
.perform(ViewActions.typeText("007"), ViewActions.closeSoftKeyboard())
Espresso.onView(ViewMatchers.withId(R.id.loginSubmitButton)).perform(ViewActions.click())
Espresso.onView(ViewMatchers.withText(“Main"))
.check(ViewAssertions.matches(ViewMatchers.isDisplayed()))
} @Test
fun test_login_doOther() {
Espresso.onView(ViewMatchers.withId(R.id.loginUsernameEditText))
.perform(ViewActions.typeText("
[email protected]"), ViewActions.closeSoftKeyboard
Espresso.onView(ViewMatchers.withId(R.id.loginPasswordEditText))
.perform(ViewActions.typeText("007"), ViewActions.closeSoftKeyboard())
Espresso.onView(ViewMatchers.withId(R.id.loginUsernameEditText))
.perform(ViewActions.typeText("
[email protected]"), ViewActions.closeSoftKeyboard
Espresso.onView(ViewMatchers.withId(R.id.loginPasswordEditText))
.perform(ViewActions.typeText("007"), ViewActions.closeSoftKeyboard())
Espresso.onView(ViewMatchers.withId(R.id.loginSubmitButton)).perform(ViewActions.c
Espresso.onView(ViewMatchers.withText(“Main"))
.check(ViewAssertions.matches(ViewMatchers.isDisplayed()))
}