mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2025-03-27 16:29:00 +03:00
Stabilisation
Hide keyboard before entering text
This commit is contained in:
parent
6ac401db9b
commit
f79784bc8c
2 changed files with 2 additions and 2 deletions
vector/src/androidTest/java/im/vector/app
|
@ -96,7 +96,7 @@ class RegistrationTest {
|
||||||
|
|
||||||
// Ensure password
|
// Ensure password
|
||||||
onView((withId(R.id.passwordField)))
|
onView((withId(R.id.passwordField)))
|
||||||
.perform(typeText(password))
|
.perform(closeSoftKeyboard(), typeText(password))
|
||||||
|
|
||||||
// Submit
|
// Submit
|
||||||
onView(withId(R.id.loginSubmit))
|
onView(withId(R.id.loginSubmit))
|
||||||
|
|
|
@ -84,7 +84,7 @@ abstract class VerificationTestBase {
|
||||||
.check(ViewAssertions.matches(CoreMatchers.not(ViewMatchers.isEnabled())))
|
.check(ViewAssertions.matches(CoreMatchers.not(ViewMatchers.isEnabled())))
|
||||||
|
|
||||||
Espresso.onView((ViewMatchers.withId(R.id.passwordField)))
|
Espresso.onView((ViewMatchers.withId(R.id.passwordField)))
|
||||||
.perform(ViewActions.typeText(password))
|
.perform(ViewActions.closeSoftKeyboard(), ViewActions.typeText(password))
|
||||||
|
|
||||||
Espresso.onView(ViewMatchers.withId(R.id.loginSubmit))
|
Espresso.onView(ViewMatchers.withId(R.id.loginSubmit))
|
||||||
.check(ViewAssertions.matches(ViewMatchers.isEnabled()))
|
.check(ViewAssertions.matches(ViewMatchers.isEnabled()))
|
||||||
|
|
Loading…
Add table
Reference in a new issue