mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-27 12:53:55 +01:00
Remove broken UI test (doubleNavigateToExploreThenReturnHome) (#2797)
* Remove unnecessary wait in LoginActivityTest * Remove very flaky doubleNavigateToExploreThenReturnHome test Can be added back once upstream issues are fixed (see #2688)
This commit is contained in:
parent
488bdd9800
commit
5a36392423
2 changed files with 0 additions and 17 deletions
|
|
@ -44,7 +44,6 @@ class LoginActivityTest {
|
|||
@Test
|
||||
fun testLogin() {
|
||||
UITestHelper.loginUser()
|
||||
UITestHelper.sleep(10000)
|
||||
Intents.intended(hasComponent(MainActivity::class.java.name))
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -42,22 +42,6 @@ class NavigationBaseActivityTest {
|
|||
openNavigationDrawerAndNavigateTo(R.id.action_login)
|
||||
}
|
||||
|
||||
/**
|
||||
* Clicks 'Explore' in the navigation drawer twice, then clicks 'home'
|
||||
* Testing to avoid regression of #2200
|
||||
*/
|
||||
@Test
|
||||
fun doubleNavigateToExploreThenReturnHome() {
|
||||
// Explore
|
||||
openNavigationDrawerAndNavigateTo(R.id.action_explore)
|
||||
|
||||
// Explore
|
||||
openNavigationDrawerAndNavigateTo(R.id.action_explore)
|
||||
|
||||
// Home
|
||||
openNavigationDrawerAndNavigateTo(R.id.action_home)
|
||||
}
|
||||
|
||||
private fun openNavigationDrawerAndNavigateTo(menuItemId: Int) {
|
||||
onView(withId(R.id.drawer_layout)).perform(DrawerActions.open())
|
||||
UITestHelper.sleep(500)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue