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

Commit 0e476aa8 authored by Nataniel Borges's avatar Nataniel Borges
Browse files

Ignore flicker tests with open bugs

Some flicker tests are failing because of open bugs. Mark them as
ignored until the bugs are fixed to prevent test failures.

Test: atest FlickerTests
Change-Id: If9216bccc32d64cd32ff87fae785df200eae8b79
parent eb63fdd6
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
@@ -29,10 +29,12 @@ import android.util.Log;
import android.view.Surface;

import androidx.test.InstrumentationRegistry;
import androidx.test.filters.FlakyTest;
import androidx.test.filters.LargeTest;

import org.junit.Before;
import org.junit.FixMethodOrder;
import org.junit.Ignore;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.junit.runners.MethodSorters;
@@ -83,12 +85,16 @@ public class ChangeAppRotationTest extends FlickerTestBase {
                changeAppRotation(mTestApp, mUiDevice, mBeginRotation, mEndRotation).build());
    }

    @FlakyTest(bugId = 140855415)
    @Ignore("Waiting bug feedback")
    @Test
    public void checkVisibility_navBarWindowIsAlwaysVisible() {
        checkResults(result -> assertThat(result)
                .showsAboveAppWindow(NAVIGATION_BAR_WINDOW_TITLE).forAllEntries());
    }

    @FlakyTest(bugId = 140855415)
    @Ignore("Waiting bug feedback")
    @Test
    public void checkVisibility_statusBarWindowIsAlwaysVisible() {
        checkResults(result -> assertThat(result)
@@ -137,12 +143,16 @@ public class ChangeAppRotationTest extends FlickerTestBase {
        );
    }

    @FlakyTest(bugId = 140855415)
    @Ignore("Waiting bug feedback")
    @Test
    public void checkVisibility_navBarLayerIsAlwaysVisible() {
        checkResults(result -> LayersTraceSubject.assertThat(result)
                .showsLayer(NAVIGATION_BAR_WINDOW_TITLE).forAllEntries());
    }

    @FlakyTest(bugId = 140855415)
    @Ignore("Waiting bug feedback")
    @Test
    public void checkVisibility_statusBarLayerIsAlwaysVisible() {
        checkResults(result -> LayersTraceSubject.assertThat(result)
+3 −1
Original line number Diff line number Diff line
@@ -34,6 +34,7 @@ import androidx.test.runner.AndroidJUnit4;

import org.junit.Before;
import org.junit.FixMethodOrder;
import org.junit.Ignore;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.junit.runners.MethodSorters;
@@ -45,7 +46,8 @@ import org.junit.runners.MethodSorters;
@LargeTest
@RunWith(AndroidJUnit4.class)
@FixMethodOrder(MethodSorters.NAME_ASCENDING)
@FlakyTest(bugId = 140854698)
@FlakyTest(bugId = 140856143)
@Ignore("Waiting bug feedback")
public class ResizeSplitScreenTest extends FlickerTestBase {

    public ResizeSplitScreenTest() {
+0 −2
Original line number Diff line number Diff line
@@ -30,7 +30,6 @@ import android.graphics.Rect;
import android.view.Surface;

import androidx.test.InstrumentationRegistry;
import androidx.test.filters.FlakyTest;
import androidx.test.filters.LargeTest;

import org.junit.Before;
@@ -51,7 +50,6 @@ import java.util.Collection;
@LargeTest
@RunWith(Parameterized.class)
@FixMethodOrder(MethodSorters.NAME_ASCENDING)
@FlakyTest(bugId = 140855415)
public class SeamlessAppRotationTest extends FlickerTestBase {
    private int mBeginRotation;
    private int mEndRotation;
+2 −1
Original line number Diff line number Diff line
@@ -26,6 +26,7 @@ import androidx.test.runner.AndroidJUnit4;

import org.junit.Before;
import org.junit.FixMethodOrder;
import org.junit.Ignore;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.junit.runners.MethodSorters;
@@ -38,6 +39,7 @@ import org.junit.runners.MethodSorters;
@RunWith(AndroidJUnit4.class)
@FixMethodOrder(MethodSorters.NAME_ASCENDING)
@FlakyTest(bugId = 140856143)
@Ignore("Waiting bug feedback")
public class SplitScreenToLauncherTest extends FlickerTestBase {

    public SplitScreenToLauncherTest() {
@@ -66,7 +68,6 @@ public class SplitScreenToLauncherTest extends FlickerTestBase {
                .forAllEntries());
    }

    @FlakyTest(bugId = 79686616)
    @Test
    public void checkVisibility_appLayerBecomesInVisible() {
        checkResults(result -> LayersTraceSubject.assertThat(result)