mirror of
https://github.com/kiwix/kiwix-android.git
synced 2025-09-21 03:02:59 -04:00
uncommented tests in HelpActivityTest, LanguageActivityTest, and NetworkTest
This commit is contained in:
parent
bb4bef5851
commit
40117c3f84
@ -85,7 +85,7 @@ public class HelpActivityTest {
|
||||
onView(withText(test)).check(matches(notNullValue()));
|
||||
|
||||
onView(withText(context.getString(R.string.help_12))).check(matches(notNullValue()));
|
||||
// onView(withText(context.getString(R.string.help_12))).perform(click());
|
||||
onView(withText(context.getString(R.string.help_12))).perform(click());
|
||||
test = context.getString(R.string.help_13)
|
||||
+ "\n"
|
||||
+ context.getString(R.string.help_14)
|
||||
|
@ -80,7 +80,7 @@ public class LanguageActivityTest {
|
||||
|
||||
// Open the Library
|
||||
openActionBarOverflowOrOptionsMenu(getInstrumentation().getTargetContext());
|
||||
// onView(withText("Get Content")).perform(click());
|
||||
onView(withText("Get Content")).perform(click());
|
||||
BaristaSleepInteractions.sleep(TEST_PAUSE_MS);
|
||||
|
||||
ViewInteraction viewPager = onView(allOf(withId(R.id.container),
|
||||
|
@ -138,8 +138,8 @@ public class NetworkTest {
|
||||
"Permission dialog was not shown, we probably already have required permissions");
|
||||
}
|
||||
|
||||
// onData(withContent("wikipedia_ab_all_2017-03")).inAdapterView(withId(R.id.library_list))
|
||||
// .perform(click());
|
||||
onData(withContent("wikipedia_ab_all_2017-03")).inAdapterView(withId(R.id.library_list))
|
||||
.perform(click());
|
||||
|
||||
try {
|
||||
onView(withId(android.R.id.button1)).perform(click());
|
||||
|
Loading…
x
Reference in New Issue
Block a user