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

Commit 82dba3b4 authored by Chilun Huang's avatar Chilun Huang Committed by Android (Google) Code Review
Browse files

Merge "Add FlakyTest annotation on correct test"

parents 4f53c172 33cea00d
Loading
Loading
Loading
Loading
+13 −12
Original line number Diff line number Diff line
@@ -85,7 +85,18 @@ class DragDividerToResize(flicker: FlickerTest) : SplitScreenBase(flicker) {
    @Test
    fun splitScreenDividerKeepVisible() = flicker.layerKeepVisible(SPLIT_SCREEN_DIVIDER_COMPONENT)

    @Presubmit @Test fun primaryAppLayerKeepVisible() = flicker.layerKeepVisible(primaryApp)
    @Presubmit
    @Test
    fun primaryAppLayerKeepVisible() {
        Assume.assumeFalse(isShellTransitionsEnabled)
        flicker.layerKeepVisible(primaryApp)
    }

    @FlakyTest(bugId = 263213649)
    @Test fun primaryAppLayerKeepVisible_ShellTransit() {
        Assume.assumeTrue(isShellTransitionsEnabled)
        flicker.layerKeepVisible(primaryApp)
    }

    @Presubmit
    @Test
@@ -99,17 +110,7 @@ class DragDividerToResize(flicker: FlickerTest) : SplitScreenBase(flicker) {
        }
    }

    @Presubmit
    @Test fun primaryAppWindowKeepVisible() {
        Assume.assumeFalse(isShellTransitionsEnabled)
        flicker.appWindowKeepVisible(primaryApp)
    }

    @FlakyTest(bugId = 263213649)
    @Test fun primaryAppWindowKeepVisible_ShellTransit() {
        Assume.assumeTrue(isShellTransitionsEnabled)
        flicker.appWindowKeepVisible(primaryApp)
    }
    @Presubmit @Test fun primaryAppWindowKeepVisible() = flicker.appWindowKeepVisible(primaryApp)

    @Presubmit
    @Test