зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1505353 - Disable org.mozilla.geckoview.test.AccessibilityTest.autoFill_navigation on debug platform for frequent failures. r=jmaher
This commit is contained in:
Родитель
257562448d
Коммит
a0ea2d1303
|
@ -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 {
|
||||
|
|
Загрузка…
Ссылка в новой задаче