mirror of
https://github.com/element-hq/element-android
synced 2024-11-28 04:52:00 +03:00
updating test verification interaction, there's no skip and we can press back instead
This commit is contained in:
parent
5cc96850af
commit
746191163a
1 changed files with 1 additions and 6 deletions
|
@ -182,13 +182,8 @@ class ElementRobot {
|
|||
val activity = EspressoHelper.getCurrentActivity()!!
|
||||
val popup = activity.findViewById<View>(com.tapadoo.alerter.R.id.llAlertBackground)!!
|
||||
activity.runOnUiThread { popup.performClick() }
|
||||
|
||||
waitUntilViewVisible(withId(R.id.bottomSheetFragmentContainer))
|
||||
waitUntilViewVisible(ViewMatchers.withText(R.string.action_skip))
|
||||
clickOn(R.string.action_skip)
|
||||
assertDisplayed(R.string.are_you_sure)
|
||||
clickOn(R.string.action_skip)
|
||||
waitUntilViewVisible(withId(R.id.bottomSheetFragmentContainer))
|
||||
pressBack()
|
||||
}.onFailure { Timber.w(it, "Verification popup missing") }
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue