Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5750eecb authored by Kyunglyul Hyun's avatar Kyunglyul Hyun Committed by Automerger Merge Worker
Browse files

Merge "Deflake test by waiting for idle before click" into main am: 6dc54f99 am: 2b1b51c6

parents bc795ca7 2b1b51c6
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -119,6 +119,11 @@ class Opp(val context: Context) : OppImplBase(), Closeable {
        uiDevice
            .wait(Until.findObject(By.text(INCOMING_FILE_TITLE)), INCOMING_FILE_WAIT_TIMEOUT)
            .click()
        uiDevice.wait(
            Until.hasObject(By.text(INCOMING_FILE_ACCEPT_BTN)),
            INCOMING_FILE_WAIT_TIMEOUT
        )
        uiDevice.waitForIdle()
        uiDevice
            .wait(Until.findObject(By.text(INCOMING_FILE_ACCEPT_BTN)), INCOMING_FILE_WAIT_TIMEOUT)
            .click()