Loading libs/WindowManager/Shell/tests/flicker/Android.bp +2 −0 Original line number Diff line number Diff line Loading @@ -69,6 +69,8 @@ java_defaults { "launcher-helper-lib", "platform-test-annotations", "platform-test-rules", "systemui-helper", "systemui-tapl", "wm-flicker-common-app-helpers", "wm-flicker-common-assertions", "wm-shell-flicker-utils", Loading libs/WindowManager/Shell/tests/flicker/bubble/src/com/android/wm/shell/flicker/bubble/OpenActivityFromBubbleOnLockscreenTest.kt +2 −6 Original line number Diff line number Diff line Loading @@ -16,6 +16,7 @@ package com.android.wm.shell.flicker.bubble import android.platform.systemui_tapl.ui.Root import android.platform.test.annotations.Postsubmit import android.tools.flicker.junit.FlickerParametersRunnerFactory import android.tools.flicker.FlickerBuilder Loading Loading @@ -79,12 +80,7 @@ class OpenActivityFromBubbleOnLockscreenTest(flicker: FlickerTest) : device.wait(Until.findObject(By.text("BubbleChat")), FIND_OBJECT_TIMEOUT) notification?.click() ?: error("Notification not found") instrumentation.uiAutomation.syncInputTransactions() val showBubble = device.wait( Until.findObject(By.res(SYSTEM_UI_PACKAGE, BUBBLE_RES_NAME)), FIND_OBJECT_TIMEOUT ) showBubble?.click() ?: error("Bubble notify not found") Root.get().bubble.click() instrumentation.uiAutomation.syncInputTransactions() val cancelAllBtn = waitAndGetCancelAllBtn() cancelAllBtn?.click() ?: error("Cancel widget not found") Loading Loading
libs/WindowManager/Shell/tests/flicker/Android.bp +2 −0 Original line number Diff line number Diff line Loading @@ -69,6 +69,8 @@ java_defaults { "launcher-helper-lib", "platform-test-annotations", "platform-test-rules", "systemui-helper", "systemui-tapl", "wm-flicker-common-app-helpers", "wm-flicker-common-assertions", "wm-shell-flicker-utils", Loading
libs/WindowManager/Shell/tests/flicker/bubble/src/com/android/wm/shell/flicker/bubble/OpenActivityFromBubbleOnLockscreenTest.kt +2 −6 Original line number Diff line number Diff line Loading @@ -16,6 +16,7 @@ package com.android.wm.shell.flicker.bubble import android.platform.systemui_tapl.ui.Root import android.platform.test.annotations.Postsubmit import android.tools.flicker.junit.FlickerParametersRunnerFactory import android.tools.flicker.FlickerBuilder Loading Loading @@ -79,12 +80,7 @@ class OpenActivityFromBubbleOnLockscreenTest(flicker: FlickerTest) : device.wait(Until.findObject(By.text("BubbleChat")), FIND_OBJECT_TIMEOUT) notification?.click() ?: error("Notification not found") instrumentation.uiAutomation.syncInputTransactions() val showBubble = device.wait( Until.findObject(By.res(SYSTEM_UI_PACKAGE, BUBBLE_RES_NAME)), FIND_OBJECT_TIMEOUT ) showBubble?.click() ?: error("Bubble notify not found") Root.get().bubble.click() instrumentation.uiAutomation.syncInputTransactions() val cancelAllBtn = waitAndGetCancelAllBtn() cancelAllBtn?.click() ?: error("Cancel widget not found") Loading