From 1d67c84bef2a1a31211c5c4e1003b2c9cc223341 Mon Sep 17 00:00:00 2001 From: Bola Ahmed Buari Date: Fri, 22 Oct 2021 15:36:06 +0100 Subject: [PATCH] Maintenance: Update Selenium Error to TimeoutError from TimeOutError --- spec/support/capybara/browser_test_helper.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spec/support/capybara/browser_test_helper.rb b/spec/support/capybara/browser_test_helper.rb index 44dd973c7..a8d2e8af4 100644 --- a/spec/support/capybara/browser_test_helper.rb +++ b/spec/support/capybara/browser_test_helper.rb @@ -170,7 +170,7 @@ module BrowserTestHelper rescue Capybara::ElementNotFound # doesn't exist yet end - rescue Selenium::WebDriver::Error::TimeOutError => e + rescue Selenium::WebDriver::Error::TimeoutError => e # cleanup backtrace e.set_backtrace(e.backtrace.drop(3)) raise e @@ -191,7 +191,7 @@ module BrowserTestHelper rescue Capybara::ElementNotFound true end - rescue Selenium::WebDriver::Error::TimeOutError => e + rescue Selenium::WebDriver::Error::TimeoutError => e # cleanup backtrace e.set_backtrace(e.backtrace.drop(3)) raise e