chore: update locators

This commit is contained in:
Anastasiya Semenkevich 2024-09-23 14:52:58 +03:00 committed by Lukáš Tinkl
parent c9e1d29e25
commit 9abc01426f
4 changed files with 4 additions and 4 deletions

View File

@ -40,7 +40,7 @@ o_Flickable = {"container": statusDesktop_mainWindow_overlay, "type": "Flickable
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

View File

@ -109,7 +109,7 @@ loginView_changeAccountBtn = {"container": mainWindow_LoginView, "objectName": "
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

View File

@ -606,7 +606,7 @@ class LoginView(QObject):
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

View File

@ -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 ||