Skip to content

Commit

Permalink
tests: 'showingCardHidesFullScreen' - flaky
Browse files Browse the repository at this point in the history
Seen on Ubuntu and Windows

Likely cause:

* https://redirect.github.com/ankidroid/Anki-Android/pull/15728
* ~ 35f475f
  • Loading branch information
david-allison authored and lukstbit committed Mar 9, 2024
1 parent b69eff1 commit 2d4985c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions AnkiDroid/src/test/java/com/ichi2/anki/ReviewerNoParamTest.kt
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,12 @@ class ReviewerNoParamTest : RobolectricTest() {
}

@Test
@Flaky(
OS.ALL,
"Hide should be called after answering a card" +
" Expected: a value greater than <2>" +
" but: <2> was equal to <2>"
)
fun showingCardHidesFullScreen() {
addNoteUsingBasicModel("Hello", "World")
val reviewer = startReviewerFullScreen()
Expand Down

0 comments on commit 2d4985c

Please sign in to comment.