mirror of
https://gitlab.shinice.net/pixeldroid/PixelDroid
synced 2025-01-11 06:35:15 +01:00
check coverage without test
This commit is contained in:
parent
5e2c6c3724
commit
c572d60213
@ -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{
|
||||
|
Loading…
Reference in New Issue
Block a user