e2e: TimeoutException

This commit is contained in:
Churikova Tetiana 2023-07-20 12:55:06 +02:00 committed by Yevheniia Berdnyk
parent 9731e7039c
commit 1b2ad33926
No known key found for this signature in database
GPG Key ID: 0642C73C66214825
1 changed files with 2 additions and 1 deletions

View File

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