Enable previously flaky IME related tests
The IME layer is sometimes present but hidden on the hierarchy. The tests should ignore this condition (skip until first assertion) to ensure the tests are no longer flaky. Test: atest FlickerTests Change-Id: Ie1c9daf006eac215d310cfbb66df96501e910b5f
This commit is contained in:
@@ -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())
|
||||
|
||||
Reference in New Issue
Block a user