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

Add waitCondition closure to a content definition #342

Closed
geb-bot opened this issue Oct 14, 2014 · 0 comments
Closed

Add waitCondition closure to a content definition #342

geb-bot opened this issue Oct 14, 2014 · 0 comments
Assignees
Labels
Milestone

Comments

@geb-bot
Copy link

@geb-bot geb-bot commented Oct 14, 2014

Originally created by Chris Prior.

Add the ability to specify a waitCondition closure when defining a content item, to define what should be waited for before access the item.

Such as:

static content = {
    modal(wait: true, waitCondition: { it.displayed }) { $("#modal") } 
}

The wait property will be defaulted to "true" if waitCondition is supplied without wait.

@geb-bot geb-bot added the New feature label Apr 12, 2015
@geb-bot geb-bot added this to the 0.10.1 milestone Apr 12, 2015
@erdi erdi modified the milestone: 0.10.1 Jul 11, 2015
@erdi erdi assigned erdi and unassigned chris-prior Apr 11, 2018
@erdi erdi added this to the 2.2 milestone Apr 11, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants