This commit is contained in:
Benoit Marty 2022-01-10 14:16:03 +01:00
parent 6f348813a2
commit 67c2f9ac51

View file

@ -26,7 +26,6 @@ import im.vector.app.activityIdlingResource
import im.vector.app.waitForView
import im.vector.app.withIdlingResource
import org.hamcrest.Matcher
import org.hamcrest.Matchers.not
inline fun <reified T : Activity> waitUntilActivityVisible(noinline block: (() -> Unit) = {}) {
withIdlingResource(activityIdlingResource(T::class.java), block)