Skip to content

Commit

Permalink
test(Windows): previewWorksAfterSort is flaky
Browse files Browse the repository at this point in the history
```
CardBrowserTest > previewWorksAfterSort FAILED
    java.lang.IllegalStateException: Card '1596783600440' not found
        at com.ichi2.anki.CardBrowser.getPropertiesForCardId(CardBrowser.kt:2662)
        at com.ichi2.anki.CardBrowserTest.previewWorksAfterSort(CardBrowserTest.kt:358)
```

https://github.com/ankidroid/Anki-Android/actions/runs/4318941121/jobs/7537826151
  • Loading branch information
david-allison committed Mar 3, 2023
1 parent b76d1de commit 07bcf08
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions AnkiDroid/src/test/java/com/ichi2/anki/CardBrowserTest.kt
Original file line number Diff line number Diff line change
Expand Up @@ -348,6 +348,7 @@ class CardBrowserTest : RobolectricTest() {
}

@Test
@Flaky(os = OS.WINDOWS, "IllegalStateException: Card '1596783600440' not found")
fun previewWorksAfterSort() {
// #7286
val cid1 = addNoteUsingBasicModel("Hello", "World").cards()[0].id
Expand Down

0 comments on commit 07bcf08

Please sign in to comment.