Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
alex-tiurin committed Feb 22, 2024
1 parent f66309f commit d3590bb
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -144,8 +144,9 @@ class UltronUiObjectActionsTest: UiElementsTest() {
//longClick
@Test
fun longClick_onLongClickable() {
page.button.exists().longClick()
page.eventStatus.textContains(getTargetString(R.string.button_event_long_click))
page.button.exists().withAssertion {
page.eventStatus.textContains(getTargetString(R.string.button_event_long_click))
}.longClick()
}

@Test
Expand Down

0 comments on commit d3590bb

Please sign in to comment.