diff --git a/vector/src/androidTest/java/im/vector/app/ui/UiAllScreensSanityTest.kt b/vector/src/androidTest/java/im/vector/app/ui/UiAllScreensSanityTest.kt index a0b8e08885..0b93e58ee2 100644 --- a/vector/src/androidTest/java/im/vector/app/ui/UiAllScreensSanityTest.kt +++ b/vector/src/androidTest/java/im/vector/app/ui/UiAllScreensSanityTest.kt @@ -277,13 +277,18 @@ class UiAllScreensSanityTest { assertDisplayed(R.id.roomProfileAvatarView) - // Room addresses + // Leave clickListItem(R.id.matrixProfileRecyclerView, 13) + clickDialogNegativeButton() + + // Advanced + // Room addresses + clickListItem(R.id.matrixProfileRecyclerView, 15) onView(isRoot()).perform(waitForView(withText(R.string.room_alias_published_alias_title))) pressBack() // Room permissions - clickListItem(R.id.matrixProfileRecyclerView, 15) + clickListItem(R.id.matrixProfileRecyclerView, 17) onView(isRoot()).perform(waitForView(withText(R.string.room_permissions_title))) clickOn(R.string.room_permissions_change_room_avatar) clickDialogNegativeButton() @@ -292,10 +297,6 @@ class UiAllScreensSanityTest { clickOn(R.string.hide_advanced) pressBack() - // Leave - clickListItem(R.id.matrixProfileRecyclerView, 17) - clickDialogNegativeButton() - // Menu share // clickMenu(R.id.roomProfileShareAction) // pressBack()