Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix waitFor #218

Closed
wants to merge 2 commits into from
Closed

fix waitFor #218

wants to merge 2 commits into from

Conversation

doronpr
Copy link
Contributor

@doronpr doronpr commented Jul 31, 2017

joint effort with @aarongreenwald

Doron Pearl added 2 commits July 31, 2017 12:03
@LeoNatan
Copy link
Contributor

Copy link
Contributor

@rotemmiz rotemmiz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll update the docs once this is merged.

this._call = invoke.call(_conditionCall, 'waitWithTimeout:', invoke.IOS.CGFloat(timeout/1000));
await this.execute();
await new MatcherAssertionInteraction(this._element, this._originalMatcher).execute();
}
whileElement(searchMatcher) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I believe waitFor...whileElement doesn't fail as well, it needs to be consistent with waitFor...withTimeout

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also, not conditions are not handled properly. We'll need to fix them as well.

@rotemmiz rotemmiz closed this Oct 4, 2017
@LeoNatan LeoNatan deleted the fix-waitFor branch March 12, 2018 20:01
@wix wix locked and limited conversation to collaborators Jul 23, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants