From c572d60213945e1fdbb5f2d09f564163db2005eb Mon Sep 17 00:00:00 2001 From: Ulysse Widmer Date: Mon, 30 Mar 2020 20:46:38 +0200 Subject: [PATCH] check coverage without test --- .../java/com/h/pixeldroid/MockedServerTest.kt | 21 +++++++++---------- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/app/src/androidTest/java/com/h/pixeldroid/MockedServerTest.kt b/app/src/androidTest/java/com/h/pixeldroid/MockedServerTest.kt index ab82e259..c122e690 100644 --- a/app/src/androidTest/java/com/h/pixeldroid/MockedServerTest.kt +++ b/app/src/androidTest/java/com/h/pixeldroid/MockedServerTest.kt @@ -90,17 +90,16 @@ class MockedServerTest { onView(withId(R.id.accountNameTextView)).check(matches(withText("deerbard_photo"))) } - @Test - fun swipingDownOnHomepageShowsMorePosts() { - Thread.sleep(1000) - - val firstDesc = allOf(withId(R.id.description)) - onView(withId(R.id.view_pager)) - .perform(ViewActions.swipeUp()) - .perform(ViewActions.swipeDown()) - .perform(ViewActions.swipeDown()) - onView(firstDesc).check(matches(firstDesc)) - } +// @Test +// fun swipingDownOnHomepageShowsMorePosts() { +// Thread.sleep(1000) +// +// val firstDesc = allOf(withId(R.id.description)) +// onView(withId(R.id.view_pager)) +// .perform(ViewActions.swipeUp()) +// .perform(ViewActions.swipeDown()) +// onView(allOf(withId(R.id.description))).check(matches(firstDesc)) +// } @Test fun testNotificationsList() { ActivityScenario.launch(MainActivity::class.java).onActivity{