This adds better error messages to the be_true and be_false rspec matchers in the element exists Frank helpers.
I've been increasingly calling the frank helpers directly from my page models rather than using the built in cucumber steps, and I wasn't getting any useful error messages when elements didn't match, just true != false which doesn't give much context. I tried to add more useful messages that would say whether an element was found or not, and what the selector was.
This adds better error messages to the be_true and be_false rspec matchers in the element exists Frank helpers.
I've been increasingly calling the frank helpers directly from my page models rather than using the built in cucumber steps, and I wasn't getting any useful error messages when elements didn't match, just true != false which doesn't give much context. I tried to add more useful messages that would say whether an element was found or not, and what the selector was.