From 490a8551aca76bf0013f377e630138f686fa0e93 Mon Sep 17 00:00:00 2001 From: Benoit Marty Date: Fri, 19 Feb 2021 12:18:14 +0100 Subject: [PATCH] Items have been reordered --- .../java/im/vector/app/ui/UiAllScreensSanityTest.kt | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) 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()