adding extra sleeps in order to get the tests completing more consistently locally

This commit is contained in:
Adam Brown 2021-09-23 20:21:24 +01:00
parent d7bc32d7ca
commit 4f340f6b90
1 changed files with 4 additions and 1 deletions

View File

@ -283,6 +283,7 @@ class UiAllScreensSanityTest {
clickListItem(R.id.matrixProfileRecyclerView, 9) clickListItem(R.id.matrixProfileRecyclerView, 9)
// File tab // File tab
clickOn(R.string.uploads_files_title) clickOn(R.string.uploads_files_title)
sleep(1000)
pressBack() pressBack()
assertDisplayed(R.id.roomProfileAvatarView) assertDisplayed(R.id.roomProfileAvatarView)
@ -334,6 +335,7 @@ class UiAllScreensSanityTest {
private fun navigateToRoomPeople() { private fun navigateToRoomPeople() {
// Open first user // Open first user
clickListItem(R.id.roomSettingsRecyclerView, 1) clickListItem(R.id.roomSettingsRecyclerView, 1)
sleep(1000)
assertDisplayed(R.id.memberProfilePowerLevelView) assertDisplayed(R.id.memberProfilePowerLevelView)
// Verification // Verification
@ -342,8 +344,9 @@ class UiAllScreensSanityTest {
// Role // Role
clickListItem(R.id.matrixProfileRecyclerView, 3) clickListItem(R.id.matrixProfileRecyclerView, 3)
sleep(1000)
clickDialogNegativeButton() clickDialogNegativeButton()
sleep(1000)
clickBack() clickBack()
} }