chore: custom timeout where app freezes with ticket reference
This commit is contained in:
parent
289d3561bd
commit
e2d7265d5b
|
@ -26,7 +26,8 @@ class AuthenticatePopup(BasePopup):
|
||||||
@allure.step('Authenticate actions with password {0}')
|
@allure.step('Authenticate actions with password {0}')
|
||||||
def authenticate(self, password: str):
|
def authenticate(self, password: str):
|
||||||
self._password_text_edit.type_text(password)
|
self._password_text_edit.type_text(password)
|
||||||
self._authenticate_button.click()
|
# TODO https://github.com/status-im/status-desktop/issues/15345
|
||||||
|
self._authenticate_button.click(timeout=10)
|
||||||
self._authenticate_button.wait_until_hidden(10000)
|
self._authenticate_button.wait_until_hidden(10000)
|
||||||
|
|
||||||
@allure.step('Check if authenticate button is present')
|
@allure.step('Check if authenticate button is present')
|
||||||
|
|
|
@ -161,7 +161,8 @@ class AccountPopup(BasePopup):
|
||||||
def save_changes(self):
|
def save_changes(self):
|
||||||
assert driver.waitFor(lambda: self.is_save_changes_button_enabled(),
|
assert driver.waitFor(lambda: self.is_save_changes_button_enabled(),
|
||||||
configs.timeouts.UI_LOAD_TIMEOUT_MSEC)
|
configs.timeouts.UI_LOAD_TIMEOUT_MSEC)
|
||||||
self._add_save_account_confirmation_button.click()
|
# TODO https://github.com/status-im/status-desktop/issues/15345
|
||||||
|
self._add_save_account_confirmation_button.click(timeout=10)
|
||||||
return self
|
return self
|
||||||
|
|
||||||
@allure.step('Get enabled state of (add account / save changes) button')
|
@allure.step('Get enabled state of (add account / save changes) button')
|
||||||
|
|
|
@ -36,7 +36,8 @@ class AllowNotificationsView(QObject):
|
||||||
|
|
||||||
@allure.step("Start using Status")
|
@allure.step("Start using Status")
|
||||||
def start_using_status(self):
|
def start_using_status(self):
|
||||||
self._start_using_status_button.click()
|
# TODO https://github.com/status-im/status-desktop/issues/15345
|
||||||
|
self._start_using_status_button.click(timeout=10)
|
||||||
self.wait_until_hidden()
|
self.wait_until_hidden()
|
||||||
|
|
||||||
|
|
||||||
|
@ -417,7 +418,8 @@ class YourEmojihashAndIdenticonRingView(OnboardingView):
|
||||||
|
|
||||||
@allure.step('Click next in your emojihash and identicon ring view')
|
@allure.step('Click next in your emojihash and identicon ring view')
|
||||||
def next(self):
|
def next(self):
|
||||||
self._next_button.click()
|
# TODO https://github.com/status-im/status-desktop/issues/15345
|
||||||
|
self._next_button.click(timeout=10)
|
||||||
time.sleep(1)
|
time.sleep(1)
|
||||||
if configs.system.get_platform() == "Darwin":
|
if configs.system.get_platform() == "Darwin":
|
||||||
return AllowNotificationsView().wait_until_appears()
|
return AllowNotificationsView().wait_until_appears()
|
||||||
|
|
Loading…
Reference in New Issue