mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-28 05:13:53 +01:00
Fix existing Espresso tests (#3450)
* Fix existing Espresso tests * Convert class to kotlin
This commit is contained in:
parent
36cafd7c39
commit
65ec071493
5 changed files with 48 additions and 13 deletions
|
|
@ -46,6 +46,7 @@ class LoginActivityTest {
|
|||
|
||||
@Test
|
||||
fun testForgotPassword() {
|
||||
UITestHelper.sleep(3000)
|
||||
Espresso.onView(ViewMatchers.withId(R.id.forgot_password))
|
||||
.perform(ViewActions.click())
|
||||
Intents.intended(CoreMatchers.allOf(IntentMatchers.hasAction(Intent.ACTION_VIEW), IntentMatchers.hasData(BuildConfig.FORGOT_PASSWORD_URL)));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue