ConditionWatcher
ConditionWatcher copied to clipboard
Android tool which helps to synchronise application behaviours with test thread in automation tests.
## What does this PR do? Migrate the current java classes to Kotlin and upgrade project dependencies to newer versions. As well, it's added a small convenience implementation of the...
https://jfrog.com/blog/into-the-sunset-bintray-jcenter-gocenter-and-chartcenter/ Please migrate to Maven Central.
The better approach will be to convert in kotlin and use delay so it does not block the main thread and also we could do parallel testing as well
Adnroid Studio 3.3. In my app I use Retrofit to do http request. Also I use MockWebServer to return stub response. On activity when I click button I start **async**...
Thanks for `ConditionWatcher`! It really helped get me away from littering production code with references to Idling Resources. In our project (which uses Kotlin), we've added some helper functions to...
Guys, I've added your tool to my test, I need my test waits and checks **Visibility** of 2 buttons then finishes the test. In my test: ConditionWatcher.waitForCondition(new BtnSendVerificationInstruction()); onView(withId(R.id.btnSendVerification)).perform(click());` The...
I think it makes more sense to make the interval/timeout be instruction specific then be on on the main ConditionWatcher class. We can keep defaults but I feel like its...
First, thanks for this tool! IdlingResource is a total mess. Now to business, from the documentation I was not able to understand how to get the latest activity. However, I...