We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9731e70 commit 1b2ad33Copy full SHA for 1b2ad33
test/appium/tests/base_test_case.py
@@ -14,6 +14,7 @@
14
from sauceclient import SauceException
15
from selenium.common.exceptions import NoSuchElementException
16
from selenium.common.exceptions import WebDriverException
17
+from selenium.common.exceptions import TimeoutException
18
from selenium.webdriver.support.wait import WebDriverWait
19
from urllib3.exceptions import MaxRetryError, ProtocolError
20
@@ -418,7 +419,7 @@ def teardown_class(cls):
418
419
test.testruns[-1].first_commands[session_id] = commands.index(command) + 1
420
except KeyError:
421
continue
- except (RemoteDisconnected, requests.exceptions.ConnectionError):
422
+ except (RemoteDisconnected, requests.exceptions.ConnectionError, TimeoutException):
423
pass
424
except AttributeError:
425
0 commit comments