chore: remove unnecessary step according to new designs

This commit is contained in:
Anastasiya Semenkevich 2024-03-26 09:39:37 +03:00 committed by Anastasiya
parent 241847a8b3
commit aaa7ff1dd4
4 changed files with 6 additions and 8 deletions

View File

@ -13,7 +13,7 @@ class AuthenticatePopup(BasePopup):
def __init__(self):
super().__init__()
self._content = QObject(names.keycardSharedPopupContent_KeycardPopupContent)
self._passwort_text_edit = TextEdit(names.password_PlaceholderText)
self._password_text_edit = TextEdit(names.password_PlaceholderText)
self._authenticate_button = Button(names.authenticate_StatusButton)
self._close_button = Button(names.headerCloseButton_StatusFlatRoundButton)
@ -24,7 +24,7 @@ class AuthenticatePopup(BasePopup):
@allure.step('Authenticate actions with password {0}')
def authenticate(self, password: str):
self._passwort_text_edit.type_text(password)
self._password_text_edit.type_text(password)
self._authenticate_button.click()
self._authenticate_button.wait_until_hidden()

View File

@ -154,10 +154,10 @@ o_ColumnLayout = {"container": statusDesktop_mainWindow_overlay, "type": "Column
headerTitle_StatusBaseText = {"container": statusDesktop_mainWindow_overlay, "objectName": "headerTitle", "type": "StatusBaseText", "visible": True}
image_StatusImage = {"container": statusDesktop_mainWindow_overlay, "id": "image", "type": "StatusImage", "unnamed": 1, "visible": True}
intro_StatusBaseText = {"container": o_ColumnLayout, "type": "StatusBaseText", "unnamed": 1, "visible": True}
select_addresses_to_share_StatusFlatButton = {"checkable": False, "container": statusDesktop_mainWindow_overlay, "type": "StatusFlatButton", "unnamed": 1, "visible": True}
join_StatusButton = {"checkable": False, "container": statusDesktop_mainWindow_overlay, "type": "StatusButton", "unnamed": 1, "visible": True}
welcome_authenticate_StatusButton = {"checkable": False, "container": statusDesktop_mainWindow_overlay, "type": "StatusButton", "text": "Authenticate", "unnamed": 1, "visible": True}
share_your_addresses_to_join_StatusButton = {"checkable": False, "container": statusDesktop_mainWindow_overlay, "type": "StatusButton", "unnamed": 1, "visible": True}
select_addresses_to_share_StatusFlatButton = {"container": statusDesktop_mainWindow_overlay, "type": "StatusFlatButton", "unnamed": 1, "visible": True}
join_StatusButton = { "container": statusDesktop_mainWindow_overlay, "type": "StatusButton", "unnamed": 1, "visible": True}
welcome_authenticate_StatusButton = {"container": statusDesktop_mainWindow_overlay, "type": "StatusButton", "unnamed": 1, "visible": True}
share_your_addresses_to_join_StatusButton = {"container": statusDesktop_mainWindow_overlay, "type": "StatusButton", "unnamed": 1, "visible": True}
""" Settings """

View File

@ -88,7 +88,6 @@ def test_join_community_and_pin_unpin_message(multiple_instance, user_data_one,
assert community_params['name'] in welcome_popup.title
assert community_params['intro'] == welcome_popup.intro
welcome_popup.join().authenticate(user_two.password)
welcome_popup.share_address()
assert driver.waitFor(lambda: not community_screen.left_panel.is_join_community_visible,
configs.timeouts.UI_LOAD_TIMEOUT_MSEC), 'Join community button not hidden'

View File

@ -104,7 +104,6 @@ def test_switch_state_to_offline_online_automatic(multiple_instance, user_data_o
assert community_params['name'] in welcome_popup.title
assert community_params['intro'] == welcome_popup.intro
welcome_popup.join().authenticate(user_two.password)
welcome_popup.share_address()
assert driver.waitFor(lambda: not community_screen.left_panel.is_join_community_visible,
configs.timeouts.UI_LOAD_TIMEOUT_MSEC), 'Join community button not hidden'
main_screen.hide()