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

Commit 22e57705 authored by Pablo Gamito's avatar Pablo Gamito Committed by Android (Google) Code Review
Browse files

Merge "Fix flaky assertion"

parents b04ce6d6 cd355907
Loading
Loading
Loading
Loading
+4 −0
Original line number Original line Diff line number Diff line
@@ -107,9 +107,13 @@ class SwitchImeWindowsFromGestureNavTest(private val testSpec: FlickerTestParame
    fun imeAppWindowVisibility() {
    fun imeAppWindowVisibility() {
        testSpec.assertWm {
        testSpec.assertWm {
            isAppWindowVisible(imeTestApp.component)
            isAppWindowVisible(imeTestApp.component)
                .then()
                .isAppSnapshotStartingWindowVisibleFor(testApp.component, isOptional = true)
                .then()
                .then()
                .isAppWindowVisible(testApp.component)
                .isAppWindowVisible(testApp.component)
                .then()
                .then()
                .isAppSnapshotStartingWindowVisibleFor(imeTestApp.component, isOptional = true)
                .then()
                .isAppWindowVisible(imeTestApp.component)
                .isAppWindowVisible(imeTestApp.component)
        }
        }
    }
    }