From 1b2ad33926e15fb56b917191b199e30eaead29a9 Mon Sep 17 00:00:00 2001 From: Churikova Tetiana Date: Thu, 20 Jul 2023 12:55:06 +0200 Subject: [PATCH] e2e: TimeoutException --- test/appium/tests/base_test_case.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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