Skip to content

Commit 5104f8e

Browse files
david-allisonmikehardy
authored andcommitted
test: ignore flaky tests
CardBrowserTest > FindReplace - replaces text based on regular expression FAILED androidx.test.espresso.NoMatchingViewException: No views in hierarchy found matching: an instance of android.widget.TextView and view.getText() with or without transformation to match: is "⁨1⁩ note updated." If the target view is not part of the view hierarchy, you may need to use Espresso.onData to load it from one of the following AdapterViews:androidx.appcompat.widget.AppCompatSpinner{37dd5091 VFED..CL. ......ID 56,0-232,64 #7f0a04e6 app:id/toolbar_spinner} Follow on from PR 18093 (4c5bf71)
1 parent d9c0a06 commit 5104f8e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

AnkiDroid/src/test/java/com/ichi2/anki/CardBrowserTest.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1425,6 +1425,7 @@ class CardBrowserTest : RobolectricTest() {
14251425
}
14261426

14271427
@Test
1428+
@Flaky(OS.ALL)
14281429
fun `FindReplace - replaces text based on regular expression`() {
14291430
val note0 = createFindReplaceTestNote("A", "kart", "ki1logram")
14301431
val note1 = createFindReplaceTestNote("B", "pink", "chicken")

0 commit comments

Comments
 (0)