Skip to content

Commit

Permalink
move flaky test retries to separate PR
Browse files Browse the repository at this point in the history
  • Loading branch information
gnarea committed Dec 3, 2021
1 parent 76555db commit 15e1713
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import com.google.android.material.slider.Slider
import com.adevinta.android.barista.assertion.BaristaEnabledAssertions.assertDisabled
import com.adevinta.android.barista.assertion.BaristaEnabledAssertions.assertEnabled
import com.adevinta.android.barista.assertion.BaristaVisibilityAssertions.assertContains
import com.schibsted.spain.barista.rule.flaky.AllowFlaky
import junit.framework.TestCase.assertEquals
import kotlinx.coroutines.flow.first
import kotlinx.coroutines.runBlocking
Expand Down Expand Up @@ -39,7 +38,6 @@ class SettingsActivityTest {
}

@Test
@AllowFlaky(attempts = 3)
fun displaysVersion() {
testRule.start()
assertContains(BuildConfig.VERSION_CODE.toString())
Expand All @@ -53,7 +51,6 @@ class SettingsActivityTest {
}

@Test
@AllowFlaky(attempts = 3)
fun clearButtonDisabledWithData() {
runBlocking {
storedMessageDao.insert(StoredMessageFactory.build())
Expand Down

0 comments on commit 15e1713

Please sign in to comment.