Maintenance: Update Selenium Error to TimeoutError from TimeOutError
This commit is contained in:
parent
5bb17cb776
commit
1d67c84bef
1 changed files with 2 additions and 2 deletions
|
@ -170,7 +170,7 @@ module BrowserTestHelper
|
||||||
rescue Capybara::ElementNotFound
|
rescue Capybara::ElementNotFound
|
||||||
# doesn't exist yet
|
# doesn't exist yet
|
||||||
end
|
end
|
||||||
rescue Selenium::WebDriver::Error::TimeOutError => e
|
rescue Selenium::WebDriver::Error::TimeoutError => e
|
||||||
# cleanup backtrace
|
# cleanup backtrace
|
||||||
e.set_backtrace(e.backtrace.drop(3))
|
e.set_backtrace(e.backtrace.drop(3))
|
||||||
raise e
|
raise e
|
||||||
|
@ -191,7 +191,7 @@ module BrowserTestHelper
|
||||||
rescue Capybara::ElementNotFound
|
rescue Capybara::ElementNotFound
|
||||||
true
|
true
|
||||||
end
|
end
|
||||||
rescue Selenium::WebDriver::Error::TimeOutError => e
|
rescue Selenium::WebDriver::Error::TimeoutError => e
|
||||||
# cleanup backtrace
|
# cleanup backtrace
|
||||||
e.set_backtrace(e.backtrace.drop(3))
|
e.set_backtrace(e.backtrace.drop(3))
|
||||||
raise e
|
raise e
|
||||||
|
|
Loading…
Reference in a new issue