Skip to content

Commit

Permalink
chore: update locators
Browse files Browse the repository at this point in the history
  • Loading branch information
anastasiyaig authored and iurimatias committed Sep 24, 2024
1 parent 70eef67 commit 22d0da1
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion test/e2e/gui/objects_map/names.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
generalView_StatusScrollView = {"container": statusDesktop_mainWindow_overlay, "id": "generalView", "type": "StatusScrollView", "unnamed": 1, "visible": True}

# Context Menu
o_StatusListView = {"container": statusDesktop_mainWindow_overlay, "type": "StatusListView", "unnamed": 1, "visible": True}
o_StatusListView = {"container": statusDesktop_mainWindow_overlay, "type": "PopupItem", "unnamed": 1, "visible": True}

# COMPONENT NAMES

Expand Down
2 changes: 1 addition & 1 deletion test/e2e/gui/objects_map/onboarding_names.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@
accountsView_accountListPanel = {"container": statusDesktop_mainWindow, "objectName": "LoginView_AccountsRepeater", "type": "Repeater", "visible": True}
mainWindow_txtPassword_Input = {"container": statusDesktop_mainWindow, "id": "txtPassword", "type": "Input", "unnamed": 1, "visible": True}
loginView_addNewUserItem_AccountMenuItemPanel = {"container": statusDesktop_mainWindow_overlay, "index": 0, "objectName": "LoginView_addNewUserItem", "type": "AccountMenuItemPanel", "visible": True}
o_AccountMenuItemPanel = {"container": statusDesktop_mainWindow_overlay, "index": 1, "type": "AccountMenuItemPanel", "unnamed": 1, "visible": True}
loginView_addExistingUserItem_AccountMenuItemPanel = {"container": statusDesktop_mainWindow_overlay, "objectName": "LoginView_addExistingUserItem", "type": "AccountMenuItemPanel", "visible": True}
mainWindowUsePasswordInsteadStatusBaseText = {"container": statusDesktop_mainWindow, "text": "Use password instead", "type": "StatusBaseText", "unnamed": 1, "visible": True}

# Touch ID Auth View
Expand Down
2 changes: 1 addition & 1 deletion test/e2e/gui/screens/onboarding.py
Original file line number Diff line number Diff line change
Expand Up @@ -606,7 +606,7 @@ def __init__(self):
self._accounts_combobox = QObject(onboarding_names.accountsView_accountListPanel)
self._password_object = QObject(onboarding_names.mainWindow_txtPassword_Input)
self._add_new_user_item = QObject(onboarding_names.loginView_addNewUserItem_AccountMenuItemPanel)
self._add_existing_user_item = QObject(onboarding_names.o_AccountMenuItemPanel)
self._add_existing_user_item = QObject(onboarding_names.loginView_addExistingUserItem_AccountMenuItemPanel)
self._use_password_instead = QObject(onboarding_names.mainWindowUsePasswordInsteadStatusBaseText)

@property
Expand Down
2 changes: 1 addition & 1 deletion ui/app/AppLayouts/Onboarding/views/LoginView.qml
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@ Item {
if (model.username === Constants.appTranslatableConstants.loginAccountsListAddNewUser) {
return "LoginView_addNewUserItem"
}
return ""
return "LoginView_addExistingUserItem"
}
label: {
if (model.username === Constants.appTranslatableConstants.loginAccountsListAddNewUser ||
Expand Down

0 comments on commit 22d0da1

Please sign in to comment.