Skip to content
Snippets Groups Projects
Commit 29b041a3 authored by Nataniel Borges's avatar Nataniel Borges
Browse files

Wait until the nav and status bars are visible before launching the app

Currently, the test goes home after opening camera, and launches the next app before the status bar appears, making it flaky

Fixes: 327716272
Test: atest OpenAppFromIntentColdAfterCameraTest
Change-Id: I20fd043b2ea7ad989228ef83512b3ba262328159
parent 8cb30a44
No related branches found
No related tags found
No related merge requests found
......@@ -52,6 +52,7 @@ class OpenAppFromIntentColdAfterCameraTest(flicker: LegacyFlickerTest) :
// Can't use TAPL due to Recents not showing in 3 Button Nav in full screen mode
device.pressHome()
tapl.getWorkspace()
wmHelper.StateSyncBuilder().withHomeActivityVisible().waitForAndVerify()
}
teardown { testApp.exit(wmHelper) }
transitions { testApp.launchViaIntent(wmHelper) }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment