Skip to content

Commit

Permalink
tests: Try alternative BySelector to resolve test failure
Browse files Browse the repository at this point in the history
  • Loading branch information
devinbileck committed Jan 10, 2025
1 parent 13cb0fb commit c12d07c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ class NotificationTest {
val device = UiDevice.getInstance(InstrumentationRegistry.getInstrumentation())
device.openNotification()
device.wait(Until.hasObject(By.text("Bisq")), WAIT_CONDITION_TIMEOUT_MS)
val title: UiObject2 = device.getObject(By.text(bisqNotification.title!!))
val title: UiObject2 = device.getObject(By.textContains(bisqNotification.title!!))

title.click()

Expand Down

0 comments on commit c12d07c

Please sign in to comment.