mirror of
https://github.com/bitwarden/android.git
synced 2024-11-27 12:00:19 +03:00
Remove waitForIdle calls from account switcher tests (#598)
This commit is contained in:
parent
96a9a41836
commit
70308c84be
1 changed files with 0 additions and 4 deletions
|
@ -25,7 +25,6 @@ fun ComposeContentTestRule.assertSwitcherIsDisplayed(
|
|||
accountSummaries: List<AccountSummary>,
|
||||
isAddAccountButtonVisible: Boolean = true,
|
||||
) {
|
||||
this.waitForIdle()
|
||||
accountSummaries.forEach { accountSummary ->
|
||||
this.onNodeWithText(accountSummary.email).assertIsDisplayed()
|
||||
}
|
||||
|
@ -44,7 +43,6 @@ fun ComposeContentTestRule.assertSwitcherIsDisplayed(
|
|||
fun ComposeContentTestRule.assertSwitcherIsNotDisplayed(
|
||||
accountSummaries: List<AccountSummary>,
|
||||
) {
|
||||
this.waitForIdle()
|
||||
accountSummaries.forEach { accountSummary ->
|
||||
this.onNodeWithText(accountSummary.email).assertDoesNotExist()
|
||||
}
|
||||
|
@ -58,7 +56,6 @@ fun ComposeContentTestRule.assertSwitcherIsNotDisplayed(
|
|||
fun ComposeContentTestRule.assertLockOrLogoutDialogIsDisplayed(
|
||||
accountSummary: AccountSummary,
|
||||
) {
|
||||
this.waitForIdle()
|
||||
this
|
||||
.onNode(isDialog())
|
||||
.assertIsDisplayed()
|
||||
|
@ -87,7 +84,6 @@ fun ComposeContentTestRule.assertLockOrLogoutDialogIsDisplayed(
|
|||
fun ComposeContentTestRule.assertLogoutConfirmationDialogIsDisplayed(
|
||||
accountSummary: AccountSummary,
|
||||
) {
|
||||
this.waitForIdle()
|
||||
this
|
||||
.onNode(isDialog())
|
||||
.assertIsDisplayed()
|
||||
|
|
Loading…
Reference in a new issue