Fixes : #4273 Add link to user guide in About (#4882)

* user guide added in about

* test added

* unit test added
This commit is contained in:
RISHAV GUPTA 2022-03-20 07:50:25 +05:30 committed by GitHub
parent 1078c70525
commit 6ea3198d65
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 32 additions and 0 deletions

View file

@ -104,6 +104,15 @@ class AboutActivityTest {
IntentMatchers.hasData(Urls.CREDITS_URL)))
}
@Test
@Ignore("Fix Failing Test")
fun testLaunchUserGuide() {
Espresso.onView(ViewMatchers.withId(R.id.about_user_guide)).perform(ViewActions.click())
Intents.intended(CoreMatchers.allOf(IntentMatchers.hasAction(Intent.ACTION_VIEW),
IntentMatchers.hasData(Urls.USER_GUIDE_URL)))
}
@Test
@Ignore("Fix Failing Test")
fun testLaunchAboutFaq() {