Skip to content
This repository has been archived by the owner on Jul 26, 2023. It is now read-only.

toExist doesn't work #148

Closed
jackocnr opened this issue Sep 25, 2013 · 0 comments
Closed

toExist doesn't work #148

jackocnr opened this issue Sep 25, 2013 · 0 comments

Comments

@jackocnr
Copy link

I was just struggling with toExist, when I came across the following issue/pull request, which I can now see has broken the functionality for me (and another commenter on that issue): #64

You can no longer test if an element exists unless you actually inject it into the DOM (of the spec page), which doesn't make sense to me. It's also not consistent with all the other tests.

I think we should revert that change, and maybe create a different function for toExistInDom, like the author of that issue suggested at the time.

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

No branches or pull requests

1 participant