Bug 1505353 - Disable org.mozilla.geckoview.test.AccessibilityTest.autoFill_navigation on debug platform for frequent failures. r=jmaher

This commit is contained in:
Natalia Csoregi 2019-01-05 05:31:00 +02:00
Родитель 257562448d
Коммит a0ea2d1303
1 изменённых файлов: 3 добавлений и 0 удалений

Просмотреть файл

@ -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 {