-
Notifications
You must be signed in to change notification settings - Fork 9
Closed
Description
This is more of a question than an issue. What is the intended behavior of the present? and absent? methods on an element proxy. The seem to only work with the sate the element was in when the proxy was created. That is, if you have an element object which was present when it was created. Then after performing some action it's removed from the DOM. Now, calling present? on the same object will still return true.
BTW, using these methods as RSpec predicate matchers [1] don't really work. They throw an exception instead of resulting in an assertion failure. Not sure if this is an issue with RSpec or AePageObjects.
[1] https://github.com/rspec/rspec-expectations#predicate-matchers
Metadata
Metadata
Assignees
Labels
No labels