Catch Capybara::ExpectationNotMet (subclass of Capybara::ElementNotFound)
Catch Capybara::ExpectationNotMet (subclass of Capybara::ElementNotFound)

In ruby, exception comparison should be done using `e.is_a?` instead of equality syntax

Also remove test 0.05s sleep for obsoleteNode

alphagov/digitalmarketplace-functional-tests,alphagov/digitalmarketplace-functional-tests,alphagov/digitalmarketplace-functional-tests