google/EarlGrey

Simple waiting API

Open

#150 opened on Jun 21, 2016

View on GitHub
 (0 comments) (0 reactions) (0 assignees)Objective-C (760 forks)batch import
Hacktoberfest

Repository metrics

Stars
 (5,424 stars)
PR merge metrics
 (Avg merge 1d 1h) (8 merged PRs in 30d)

Description

per slack discussion with @tirodkar: waitFor(withTimeout:)

In my customized Espresso I can wrap a matcher with waitFor(...). Implementing the same waiting via a condition in EarlGrey works but it's a lot more code. I think it'd be worth investigating a simpler API for waiting (not having to explicitly create a GREYCondition)

Contributor guide