diff --git a/test/appium/tests/base_test_case.py b/test/appium/tests/base_test_case.py index 6cdb1a39a8..91a0287f58 100644 --- a/test/appium/tests/base_test_case.py +++ b/test/appium/tests/base_test_case.py @@ -14,6 +14,7 @@ from appium.webdriver.common.mobileby import MobileBy from sauceclient import SauceException from selenium.common.exceptions import NoSuchElementException from selenium.common.exceptions import WebDriverException +from selenium.common.exceptions import TimeoutException from selenium.webdriver.support.wait import WebDriverWait from urllib3.exceptions import MaxRetryError, ProtocolError @@ -418,7 +419,7 @@ class SauceSharedMultipleDeviceTestCase(AbstractTestCase): test.testruns[-1].first_commands[session_id] = commands.index(command) + 1 except KeyError: continue - except (RemoteDisconnected, requests.exceptions.ConnectionError): + except (RemoteDisconnected, requests.exceptions.ConnectionError, TimeoutException): pass except AttributeError: pass