1
0
mirror of https://gitlab.shinice.net/pixeldroid/PixelDroid synced 2024-12-28 07:50:41 +01:00

other merge-induced problems

This commit is contained in:
Matthieu 2020-04-03 07:43:11 +02:00
parent 5d975bb0aa
commit aedd697759

View File

@ -139,19 +139,6 @@ class MockedServerTest {
// Check that settings activity was opened.
onView(withText(R.string.signature_title)).check(matches(ViewMatchers.isDisplayed()))
}
@Test
fun testDrawerSettingsButton() {
// Open Drawer to click on navigation.
onView(withId(R.id.drawer_layout))
.check(matches(DrawerMatchers.isClosed(Gravity.LEFT))) // Left Drawer should be closed.
.perform(DrawerActions.open()); // Open Drawer
// Start the screen of your activity.
onView(withId(R.id.nav_view)).perform(NavigationViewActions.navigateTo(R.id.nav_settings))
// Check that settings activity was opened.
onView(withText(R.string.signature_title)).check(matches(ViewMatchers.isDisplayed()))
}
@Test
fun swipingLeftStopsAtProfile() {