Skip to content

Commit 1b2ad33

Browse files
churikyevh-berdnyk
authored andcommitted
e2e: TimeoutException
1 parent 9731e70 commit 1b2ad33

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/appium/tests/base_test_case.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
from sauceclient import SauceException
1515
from selenium.common.exceptions import NoSuchElementException
1616
from selenium.common.exceptions import WebDriverException
17+
from selenium.common.exceptions import TimeoutException
1718
from selenium.webdriver.support.wait import WebDriverWait
1819
from urllib3.exceptions import MaxRetryError, ProtocolError
1920

@@ -418,7 +419,7 @@ def teardown_class(cls):
418419
test.testruns[-1].first_commands[session_id] = commands.index(command) + 1
419420
except KeyError:
420421
continue
421-
except (RemoteDisconnected, requests.exceptions.ConnectionError):
422+
except (RemoteDisconnected, requests.exceptions.ConnectionError, TimeoutException):
422423
pass
423424
except AttributeError:
424425
pass

0 commit comments

Comments
 (0)