Promote stable postsubmit tests to presubmit

Tests were stable in the dashboard for a few days.

Bug: 196213706
Test: atest WMShellFlickerTests:ExpandPipOnDoubleClickTest
Test: atest WMShellFlickerTests:ExitPipWithDismissButtonTest

Change-Id: I0048a75c8330241673a6f8cee4631a6649c88c35
This commit is contained in:
Ioana Moraru
2021-09-21 14:39:53 +00:00
parent 6ff9779fe6
commit 9747441648
2 changed files with 3 additions and 3 deletions

View File

@@ -17,6 +17,7 @@
package com.android.wm.shell.flicker.pip
import android.platform.test.annotations.Postsubmit
import android.platform.test.annotations.Presubmit
import android.view.Surface
import androidx.test.filters.RequiresDevice
import com.android.server.wm.flicker.FlickerParametersRunnerFactory
@@ -62,7 +63,7 @@ class ExitPipWithDismissButtonTest(testSpec: FlickerTestParameter) : ExitPipTran
}
}
@Postsubmit
@Presubmit
@Test
override fun pipLayerBecomesInvisible() = super.pipLayerBecomesInvisible()

View File

@@ -16,7 +16,6 @@
package com.android.wm.shell.flicker.pip
import android.platform.test.annotations.Postsubmit
import android.platform.test.annotations.Presubmit
import android.view.Surface
import androidx.test.filters.FlakyTest
@@ -90,7 +89,7 @@ class ExpandPipOnDoubleClickTest(testSpec: FlickerTestParameter) : PipTransition
/**
* Checks [pipApp] window remains visible throughout the animation
*/
@Postsubmit
@Presubmit
@Test
fun pipWindowIsAlwaysVisible() {
testSpec.assertWm {