Merge changes from topic "wmflicker-ime"

* changes:
  Disable test for window IME visibility when IME is shown on app launch
  Enable previously flaky IME related tests
This commit is contained in:
Nataniel Borges
2020-06-02 12:52:34 +00:00
committed by Android (Google) Code Review
2 changed files with 9 additions and 3 deletions

View File

@@ -65,4 +65,11 @@ public class CloseImeAutoOpenWindowToHomeTest extends CloseImeWindowToHomeTest {
public void checkVisibility_imeLayerBecomesInvisible() {
super.checkVisibility_imeLayerBecomesInvisible();
}
@FlakyTest(bugId = 157449248)
@Ignore("Waiting bug feedback")
@Test
public void checkVisibility_imeAppWindowBecomesInvisible() {
super.checkVisibility_imeAppWindowBecomesInvisible();
}
}

View File

@@ -24,7 +24,6 @@ import androidx.test.filters.LargeTest;
import com.android.server.wm.flicker.helpers.ImeAppHelper;
import org.junit.FixMethodOrder;
import org.junit.Ignore;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.junit.runners.MethodSorters;
@@ -62,20 +61,20 @@ public class CloseImeWindowToHomeTest extends NonRotationTestBase {
.forAllEntries());
}
@Ignore("Flaky")
@Test
public void checkVisibility_imeLayerBecomesInvisible() {
checkResults(result -> LayersTraceSubject.assertThat(result)
.skipUntilFirstAssertion()
.showsLayer(IME_WINDOW_TITLE)
.then()
.hidesLayer(IME_WINDOW_TITLE)
.forAllEntries());
}
@Ignore("Flaky")
@Test
public void checkVisibility_imeAppLayerBecomesInvisible() {
checkResults(result -> LayersTraceSubject.assertThat(result)
.skipUntilFirstAssertion()
.showsLayer(mTestApp.getPackage())
.then()
.hidesLayer(mTestApp.getPackage())