Skip to content
This repository was archived by the owner on Jun 27, 2019. It is now read-only.

default expectation for 'waitForEval' #86

Open
raboof opened this issue Mar 20, 2013 · 2 comments
Open

default expectation for 'waitForEval' #86

raboof opened this issue Mar 20, 2013 · 2 comments
Labels

Comments

@raboof
Copy link
Contributor

raboof commented Mar 20, 2013

I use

|ensure|do|waitForEval|on|someCondition(someParameter)|with|true|

It would be nice if we could somehow make 'true' the default expectation, so I could drop the 'with true' here.

@amolenaar
Copy link
Member

Isn't using eval an evil thing in itself?

@raboof
Copy link
Contributor Author

raboof commented Sep 17, 2013

Why? I for example use it to wait until all AJAX-request are cleared from the jQuery AJAX pipeline.

I think being able to call/evaluate JavaScript from Xebium is powerful and useful, not sure why it should be evil.

(of course you shouldn't use it to execute code strings inside your JavaScript code, but that's a different matter)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants