Skip to content

Commit

Permalink
Another flaky Espresso test encountered
Browse files Browse the repository at this point in the history
  • Loading branch information
amberin committed Mar 31, 2024
1 parent 00fd9d7 commit 0851a29
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,25 @@ import androidx.test.espresso.assertion.ViewAssertions.matches
import androidx.test.espresso.matcher.ViewMatchers.*
import com.orgzly.R
import com.orgzly.android.OrgzlyTest
import com.orgzly.android.RetryTestRule
import com.orgzly.android.espresso.util.EspressoUtils.*
import com.orgzly.android.ui.main.MainActivity
import com.orgzly.org.datetime.OrgDateTime
import org.hamcrest.Matchers.not
import org.hamcrest.Matchers.startsWith
import org.junit.After
import org.junit.Rule
import org.junit.Test
import org.junit.rules.TestRule


class NoteEventsTest : OrgzlyTest() {
private lateinit var scenario: ActivityScenario<MainActivity>

@Rule
@JvmField
val mRetryTestRule: TestRule = RetryTestRule()

private val now: String
get() = OrgDateTime(true).toString()

Expand Down

0 comments on commit 0851a29

Please sign in to comment.