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

Commit ffebeff2 authored by Nataniel Borges's avatar Nataniel Borges
Browse files

Promote passing OpenAppFromLockNotificationCold tests

It's <1% flaky in presubmit for the past month

Bug: 203538234
Test: atest FlickerTests
Change-Id: I5988bb21d28be5fa99f91c3d9c26fe7432654bf9
parent b6ea0ff3
Loading
Loading
Loading
Loading
+1 −18
Original line number Diff line number Diff line
@@ -16,12 +16,9 @@

package com.android.server.wm.flicker.launch

import android.platform.test.annotations.FlakyTest
import android.platform.test.annotations.Postsubmit
import android.platform.test.annotations.Presubmit
import android.platform.test.rule.SettingOverrideRule
import android.provider.Settings
import android.tools.common.datatypes.component.ComponentNameMatcher
import android.tools.device.flicker.junit.FlickerParametersRunnerFactory
import android.tools.device.flicker.legacy.FlickerBuilder
import android.tools.device.flicker.legacy.FlickerTest
@@ -67,12 +64,6 @@ open class OpenAppFromLockNotificationCold(flicker: FlickerTest) :
            }
        }

    /** {@inheritDoc} */
    @FlakyTest(bugId = 203538234)
    @Test
    override fun visibleWindowsShownMoreThanOneConsecutiveEntry() =
        super.visibleWindowsShownMoreThanOneConsecutiveEntry()

    /** {@inheritDoc} */
    @Test @Ignore("Display is off at the start") override fun navBarLayerPositionAtStartAndEnd() {}

@@ -97,14 +88,6 @@ open class OpenAppFromLockNotificationCold(flicker: FlickerTest) :
    @Ignore("Not applicable to this CUJ. Display starts locked and app is full screen at the end")
    override fun navBarWindowIsVisibleAtStartAndEnd() = super.navBarWindowIsVisibleAtStartAndEnd()

    /**
     * Checks the position of the [ComponentNameMatcher.STATUS_BAR] at the start and end of the
     * transition
     */
    @Presubmit
    @Test
    override fun statusBarLayerPositionAtEnd() = super.statusBarLayerPositionAtEnd()

    /** {@inheritDoc} */
    @Test
    @Ignore("Not applicable to this CUJ. Display starts locked and app is full screen at the end")