site-prism/site_prism-all_there

Handle situation where all_there? recursion check fails because the wrapper call fails

Closed this issue · 1 comments

If a Page has a section on it section :foo, '.csslocator' BUT this call alone fails (i.e. page.foo throws an error for no item found), then we should immediately handle this as a section_classes_all_there? / sections_classes_all_there? equal to false in our debug.

Should be fixed as a bug fix release. error class to rescue is Capybara::ElementNotFound

Fixed in main