Skip to content
Snippets Groups Projects
Commit 2d37f487 authored by Louis Chang's avatar Louis Chang
Browse files

Fixes OpenActivityEmbeddingSecondaryToSplitTest flakiness

It should be optional for the app window to be invisible
before turning to visible.

Bug: 329929112
Test: OpenActivityEmbeddingSecondaryToSplitTest

Change-Id: Ib82f24afc014884d32de6694fa0d9b9279e00936
parent db65f732
No related branches found
No related tags found
No related merge requests found
......@@ -90,7 +90,10 @@ class OpenActivityEmbeddingSecondaryToSplitTest(flicker: LegacyFlickerTest) :
flicker.assertWm {
notContains(ActivityEmbeddingAppHelper.SECONDARY_ACTIVITY_COMPONENT)
.then()
.isAppWindowInvisible(ActivityEmbeddingAppHelper.SECONDARY_ACTIVITY_COMPONENT)
.isAppWindowInvisible(
ActivityEmbeddingAppHelper.SECONDARY_ACTIVITY_COMPONENT,
isOptional = true
)
.then()
.isAppWindowVisible(ActivityEmbeddingAppHelper.SECONDARY_ACTIVITY_COMPONENT)
}
......
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