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

Commit 61dc6080 authored by Jeff Chang's avatar Jeff Chang
Browse files

Fix EnterSplitScreenByDrag#cujCompleted

Set the appExistAtStart to false for splitScreenEntered while verify
the appWindow isn't exist at start for
EnterSplitScreenByDragFromAllApps. Update the target activity name for
EnterSplitScreenByDragFromNotification.

Bug: 270770472
Test: atest EnterSplitScreenByDragFromNotification#cujCompleted
      atest EnterSplitScreenByDragFromAllApps#cujCompleted
Change-Id: I693ee343c99be387aaff00e19fa2207f396f5806
parent b6699ae7
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -79,7 +79,8 @@ class EnterSplitScreenByDragFromAllApps(flicker: FlickerTest) : SplitScreenBase(
    @IwTest(focusArea = "sysui")
    @Presubmit
    @Test
    fun cujCompleted() = flicker.splitScreenEntered(primaryApp, secondaryApp, fromOtherApp = false)
    fun cujCompleted() = flicker.splitScreenEntered(primaryApp, secondaryApp, fromOtherApp = false,
            appExistAtStart = false)

    @Presubmit
    @Test
+2 −1
Original line number Diff line number Diff line
@@ -82,7 +82,8 @@ class EnterSplitScreenByDragFromNotification(flicker: FlickerTest) : SplitScreen
    @IwTest(focusArea = "sysui")
    @Presubmit
    @Test
    fun cujCompleted() = flicker.splitScreenEntered(primaryApp, secondaryApp, fromOtherApp = false)
    fun cujCompleted() = flicker.splitScreenEntered(primaryApp, sendNotificationApp,
            fromOtherApp = false)

    @Presubmit
    @Test