removing no longer needed sleeps
This commit is contained in:
parent
264f49b02c
commit
7b6773f90e
|
@ -30,7 +30,6 @@ import im.vector.app.R
|
||||||
import im.vector.app.espresso.tools.waitUntilActivityVisible
|
import im.vector.app.espresso.tools.waitUntilActivityVisible
|
||||||
import im.vector.app.features.home.HomeActivity
|
import im.vector.app.features.home.HomeActivity
|
||||||
import im.vector.app.waitForView
|
import im.vector.app.waitForView
|
||||||
import java.lang.Thread.sleep
|
|
||||||
|
|
||||||
class OnboardingRobot {
|
class OnboardingRobot {
|
||||||
|
|
||||||
|
@ -55,7 +54,6 @@ class OnboardingRobot {
|
||||||
writeTo(R.id.loginServerUrlFormHomeServerUrl, homeServerUrl)
|
writeTo(R.id.loginServerUrlFormHomeServerUrl, homeServerUrl)
|
||||||
assertEnabled(R.id.loginServerUrlFormSubmit)
|
assertEnabled(R.id.loginServerUrlFormSubmit)
|
||||||
closeSoftKeyboard()
|
closeSoftKeyboard()
|
||||||
sleep(500)
|
|
||||||
clickOn(R.id.loginServerUrlFormSubmit)
|
clickOn(R.id.loginServerUrlFormSubmit)
|
||||||
onView(isRoot()).perform(waitForView(withId(R.id.loginSignupSigninSubmit)))
|
onView(isRoot()).perform(waitForView(withId(R.id.loginSignupSigninSubmit)))
|
||||||
|
|
||||||
|
@ -79,7 +77,6 @@ class OnboardingRobot {
|
||||||
assertEnabled(R.id.loginSubmit)
|
assertEnabled(R.id.loginSubmit)
|
||||||
|
|
||||||
closeSoftKeyboard()
|
closeSoftKeyboard()
|
||||||
sleep(500)
|
|
||||||
clickOn(R.id.loginSubmit)
|
clickOn(R.id.loginSubmit)
|
||||||
|
|
||||||
// Wait
|
// Wait
|
||||||
|
|
Loading…
Reference in New Issue