chore(e2e): disable custom timeouts on click

This commit is contained in:
Alex Jbanca 2024-09-05 09:09:49 +03:00
parent 94c62dae26
commit 99e58cda90
No known key found for this signature in database
GPG Key ID: 6004079575C21C5D
3 changed files with 4 additions and 4 deletions

View File

@ -27,7 +27,7 @@ class AuthenticatePopup(BasePopup):
def authenticate(self, password: str):
self._password_text_edit.type_text(password)
# TODO https://github.com/status-im/status-desktop/issues/15345
self._primary_button.click(timeout=10)
self._primary_button.click()
self._authenticate_button.wait_until_hidden(10000)
@allure.step('Check if authenticate button is present')

View File

@ -173,7 +173,7 @@ class AccountPopup(BasePopup):
assert driver.waitFor(lambda: self.is_save_changes_button_enabled(),
configs.timeouts.UI_LOAD_TIMEOUT_MSEC)
# TODO https://github.com/status-im/status-desktop/issues/15345
self._add_save_account_confirmation_button.click(timeout=10)
self._add_save_account_confirmation_button.click()
return self
@allure.step('Get enabled state of (add account / save changes) button')

View File

@ -37,7 +37,7 @@ class AllowNotificationsView(QObject):
@allure.step("Start using Status")
def start_using_status(self):
# TODO https://github.com/status-im/status-desktop/issues/15345
self._start_using_status_button.click(timeout=15)
self._start_using_status_button.click()
self.wait_until_hidden()
@ -415,7 +415,7 @@ class YourEmojihashAndIdenticonRingView(OnboardingView):
@allure.step('Click next in your emojihash and identicon ring view')
def next(self):
# TODO https://github.com/status-im/status-desktop/issues/15345
self._next_button.click(timeout=15)
self._next_button.click()
time.sleep(1)
if configs.system.get_platform() == "Darwin":
return AllowNotificationsView().wait_until_appears()