mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2024-12-25 17:12:38 +01:00
Update sanity test
This commit is contained in:
parent
0571662fe7
commit
5fb273a5c8
@ -277,8 +277,23 @@ class UiAllScreensSanityTest {
|
|||||||
|
|
||||||
assertDisplayed(R.id.roomProfileAvatarView)
|
assertDisplayed(R.id.roomProfileAvatarView)
|
||||||
|
|
||||||
// Leave
|
// Room addresses
|
||||||
clickListItem(R.id.matrixProfileRecyclerView, 13)
|
clickListItem(R.id.matrixProfileRecyclerView, 13)
|
||||||
|
onView(isRoot()).perform(waitForView(withText(R.string.room_alias_published_alias_title)))
|
||||||
|
pressBack()
|
||||||
|
|
||||||
|
// Room permissions
|
||||||
|
clickListItem(R.id.matrixProfileRecyclerView, 15)
|
||||||
|
onView(isRoot()).perform(waitForView(withText(R.string.room_permissions_title)))
|
||||||
|
clickOn(R.string.room_permissions_change_room_avatar)
|
||||||
|
clickDialogNegativeButton()
|
||||||
|
// Toggle
|
||||||
|
clickOn(R.string.show_advanced)
|
||||||
|
clickOn(R.string.hide_advanced)
|
||||||
|
pressBack()
|
||||||
|
|
||||||
|
// Leave
|
||||||
|
clickListItem(R.id.matrixProfileRecyclerView, 17)
|
||||||
clickDialogNegativeButton()
|
clickDialogNegativeButton()
|
||||||
|
|
||||||
// Menu share
|
// Menu share
|
||||||
@ -289,27 +304,12 @@ class UiAllScreensSanityTest {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private fun navigateToRoomParameters() {
|
private fun navigateToRoomParameters() {
|
||||||
// Room addresses
|
|
||||||
clickListItem(R.id.roomSettingsRecyclerView, 4)
|
|
||||||
onView(isRoot()).perform(waitForView(withText(R.string.room_alias_published_alias_title)))
|
|
||||||
pressBack()
|
|
||||||
|
|
||||||
// Room permissions
|
|
||||||
clickListItem(R.id.roomSettingsRecyclerView, 6)
|
|
||||||
onView(isRoot()).perform(waitForView(withText(R.string.room_permissions_title)))
|
|
||||||
clickOn(R.string.room_permissions_change_room_avatar)
|
|
||||||
clickDialogNegativeButton()
|
|
||||||
// Toggle
|
|
||||||
clickOn(R.string.show_advanced)
|
|
||||||
clickOn(R.string.hide_advanced)
|
|
||||||
pressBack()
|
|
||||||
|
|
||||||
// Room history readability
|
// Room history readability
|
||||||
clickListItem(R.id.roomSettingsRecyclerView, 8)
|
clickListItem(R.id.roomSettingsRecyclerView, 4)
|
||||||
pressBack()
|
pressBack()
|
||||||
|
|
||||||
// Room access
|
// Room access
|
||||||
clickListItem(R.id.roomSettingsRecyclerView, 10)
|
clickListItem(R.id.roomSettingsRecyclerView, 6)
|
||||||
pressBack()
|
pressBack()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user