mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-27 12:53:55 +01:00
Make all UI tests pass and add more tests (#2700)
This commit is contained in:
parent
239f74942f
commit
f7e6b20cab
8 changed files with 214 additions and 60 deletions
|
|
@ -60,6 +60,7 @@ class NavigationBaseActivityTest {
|
|||
|
||||
private fun openNavigationDrawerAndNavigateTo(menuItemId: Int) {
|
||||
onView(withId(R.id.drawer_layout)).perform(DrawerActions.open())
|
||||
UITestHelper.sleep(500)
|
||||
onView(withId(R.id.navigation_view)).perform(NavigationViewActions.navigateTo(menuItemId))
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue