Skip to content

Instantly share code, notes, and snippets.


Darran Kelinske Emeritus-DarranKelinske

View GitHub Profile
Emeritus-DarranKelinske / gist:3ed580732dc36cebdb7bc9059e4a5efe
Created Jan 26, 2017
idling resource that waits for child count to be greater than 0
View gist:3ed580732dc36cebdb7bc9059e4a5efe
public QuestionOptionIdlingResource(ViewInteraction viewInteraction, long timeout) {
this.timeout = timeout;
startTime = System.currentTimeMillis();
viewInteraction.check(new ViewAssertion() {
public void check(View view, NoMatchingViewException noViewFoundException) {
questionView = (LinearLayout) view;