From a0ea2d13039738704c8be725fef8502ec06c6571 Mon Sep 17 00:00:00 2001 From: Natalia Csoregi Date: Sat, 5 Jan 2019 05:31:00 +0200 Subject: [PATCH] Bug 1505353 - Disable org.mozilla.geckoview.test.AccessibilityTest.autoFill_navigation on debug platform for frequent failures. r=jmaher --- .../java/org/mozilla/geckoview/test/AccessibilityTest.kt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/mobile/android/geckoview/src/androidTest/java/org/mozilla/geckoview/test/AccessibilityTest.kt b/mobile/android/geckoview/src/androidTest/java/org/mozilla/geckoview/test/AccessibilityTest.kt index 97b2cd5e2893..b41a4f213fd7 100644 --- a/mobile/android/geckoview/src/androidTest/java/org/mozilla/geckoview/test/AccessibilityTest.kt +++ b/mobile/android/geckoview/src/androidTest/java/org/mozilla/geckoview/test/AccessibilityTest.kt @@ -31,6 +31,7 @@ import android.widget.EditText import android.widget.FrameLayout import org.hamcrest.Matchers.* +import org.junit.Assume.assumeThat import org.junit.Test import org.junit.Before import org.junit.After @@ -739,6 +740,8 @@ class AccessibilityTest : BaseSessionTest() { @Setting(key = Setting.Key.FULL_ACCESSIBILITY_TREE, value = "true") @Test fun autoFill_navigation() { + // disable test on debug for frequently failing #Bug 1505353 + assumeThat(sessionRule.env.isDebugBuild, equalTo(false)) fun countAutoFillNodes(cond: (AccessibilityNodeInfo) -> Boolean = { it.className == "android.widget.EditText" }, id: Int = View.NO_ID): Int {