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

Clicking on an object not on the page should fail #3

Closed
melcher opened this issue Oct 1, 2014 · 0 comments · Fixed by #8
Closed

Clicking on an object not on the page should fail #3

melcher opened this issue Oct 1, 2014 · 0 comments · Fixed by #8

Comments

@melcher
Copy link
Member

melcher commented Oct 1, 2014

There should be a way to ensure an element is on the page when we click on it. The fact that:

find('Something not on the page').trigger('click');

Succeeds without errors seems pretty inherently wrong. Perhaps something like.

clickOn('Something not on the page');

Could fail, so find could still delegate to jquery.

@melcher melcher changed the title Clicking on an empty object should not work Clicking on an object not on the page should fail Oct 1, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant