chore: created separate files for onboarding, settings, wallet names (#15457)
This commit is contained in:
parent
429a2af66e
commit
7b8361ec0f
|
@ -3,7 +3,7 @@ import allure
|
|||
import configs
|
||||
from gui.elements.button import Button
|
||||
from gui.elements.object import QObject
|
||||
from gui.objects_map import names, communities_names
|
||||
from gui.objects_map import names, communities_names, wallet_names
|
||||
|
||||
|
||||
class ChangesDetectedToastMessage(QObject):
|
||||
|
@ -38,8 +38,8 @@ class CustomSortOrderChangesDetectedToastMessage(ChangesDetectedToastMessage):
|
|||
|
||||
def __init__(self):
|
||||
super(CustomSortOrderChangesDetectedToastMessage, self).__init__()
|
||||
self._save_button = Button(names.mainWindow_Save_StatusFlatButton)
|
||||
self._save_and_apply_button = Button(names.mainWindow_Save_and_apply_StatusButton)
|
||||
self._save_button = Button(wallet_names.mainWindow_Save_StatusFlatButton)
|
||||
self._save_and_apply_button = Button(wallet_names.mainWindow_Save_and_apply_StatusButton)
|
||||
|
||||
@allure.step('Wait until appears {0}')
|
||||
def wait_until_appears(self, timeout_msec: int = configs.timeouts.UI_LOAD_TIMEOUT_MSEC):
|
||||
|
|
|
@ -2,14 +2,14 @@ import allure
|
|||
|
||||
from gui.components.base_popup import BasePopup
|
||||
from gui.elements.button import Button
|
||||
from gui.objects_map import names
|
||||
from gui.objects_map import settings_names
|
||||
|
||||
|
||||
class SignOutPopup(BasePopup):
|
||||
|
||||
def __init__(self):
|
||||
super().__init__()
|
||||
self._sign_out_and_quit_button = Button(names.signOutConfirmationButton)
|
||||
self._sign_out_and_quit_button = Button(settings_names.signOutConfirmationButton)
|
||||
|
||||
@allure.step('Click sign out and quit button')
|
||||
def sign_out_and_quit(self, attempts: int = 2):
|
||||
|
|
|
@ -13,7 +13,7 @@ from gui.elements.object import QObject
|
|||
from gui.elements.scroll import Scroll
|
||||
from gui.elements.text_edit import TextEdit
|
||||
from gui.elements.text_label import TextLabel
|
||||
from gui.objects_map import names
|
||||
from gui.objects_map import names, onboarding_names
|
||||
|
||||
GENERATED_PAGES_LIMIT = 20
|
||||
|
||||
|
@ -223,7 +223,7 @@ class AddNewAccountPopup(BasePopup):
|
|||
self._seed_phrase_12_words_button = Button(names.mainWallet_AddEditAccountPopup_12WordsButton)
|
||||
self._seed_phrase_18_words_button = Button(names.mainWallet_AddEditAccountPopup_18WordsButton)
|
||||
self._seed_phrase_24_words_button = Button(names.mainWallet_AddEditAccountPopup_24WordsButton)
|
||||
self._seed_phrase_word_text_edit = TextEdit(names.mainWindow_statusSeedPhraseInputField_TextEdit)
|
||||
self._seed_phrase_word_text_edit = TextEdit(onboarding_names.mainWindow_statusSeedPhraseInputField_TextEdit)
|
||||
self._seed_phrase_phrase_key_name_text_edit = TextEdit(
|
||||
names.mainWallet_AddEditAccountPopup_ImportedSeedPhraseKeyName)
|
||||
self._seed_phrase_status_input = QObject(names.addAccountPopup_ImportedSeedPhraseKeyName_StatusInput)
|
||||
|
|
|
@ -302,7 +302,6 @@ addAccountPopup_GeneratedAddressesListPageIndicatior_StatusPageIndicator = {"con
|
|||
page_StatusBaseButton = {"checkable": False, "container": addAccountPopup_GeneratedAddressesListPageIndicatior_StatusPageIndicator, "objectName": RegularExpression("Page-*"), "type": "StatusBaseButton", "visible": True}
|
||||
mainWindow_DisabledTooltipButton = {"container": statusDesktop_mainWindow, "type": "DisabledTooltipButton", "icon": "send", "visible": True}
|
||||
|
||||
|
||||
# Add/Edit account popup:
|
||||
grid_Grid = {"container": statusDesktop_mainWindow_overlay, "id": "grid", "type": "Grid", "unnamed": 1, "visible": True}
|
||||
color_StatusColorRadioButton = {"checkable": True, "container": statusDesktop_mainWindow_overlay, "type": "StatusColorRadioButton", "unnamed": 1, "visible": True}
|
||||
|
@ -518,299 +517,6 @@ chooseAnImageALogo_QQuickWindow = {"title": RegularExpression("Choose.*"), "type
|
|||
choose_an_image_as_logo_titleBar_ToolBar = {"container": chooseAnImageALogo_QQuickWindow, "id": "titleBar", "type": "ToolBar", "unnamed": 1, "visible": True}
|
||||
titleBar_currentPathField_TextField = {"container": choose_an_image_as_logo_titleBar_ToolBar, "id": "currentPathField", "type": "TextField", "unnamed": 1, "visible": True}
|
||||
|
||||
# SETTINGS NAMES
|
||||
|
||||
mainWindow_ProfileLayout = {"container": statusDesktop_mainWindow, "objectName": "profileStatusSectionLayout", "type": "StatusSectionLayout", "visible": True}
|
||||
mainWindow_StatusSectionLayout_ContentItem = {"container": mainWindow_ProfileLayout, "objectName": "StatusSectionLayout", "type": "ContentItem", "visible": True}
|
||||
settingsContentBase_ScrollView = {"container": statusDesktop_mainWindow, "objectName": "settingsContentBaseScrollView", "type": "StatusScrollView", "visible": True}
|
||||
settingsContentBaseScrollView_Flickable = {"container": settingsContentBase_ScrollView, "type": "Flickable", "unnamed": 1, "visible": True}
|
||||
|
||||
# Left Panel
|
||||
|
||||
mainWindow_LeftTabView = {"container": statusDesktop_mainWindow, "type": "LeftTabView", "unnamed": 1, "visible": True}
|
||||
LeftTabView_ScrollView = {"container": mainWindow_LeftTabView, "type": "StatusScrollView", "unnamed": 1, "visible": True}
|
||||
LeftTabProfileMenu = {"container": LeftTabView_ScrollView, "objectName": "leftTabViewProfileMenu", "type": "MenuPanel", "visible": True}
|
||||
mainWindow_Settings_StatusNavigationPanelHeadline = {"container": mainWindow_LeftTabView, "type": "StatusNavigationPanelHeadline", "unnamed": 1, "visible": True}
|
||||
mainWindow_scrollView_StatusScrollView = {"container": mainWindow_LeftTabView, "id": "scrollView", "type": "StatusScrollView", "unnamed": 1, "visible": True}
|
||||
scrollView_MenuItem_StatusNavigationListItem = {"container": LeftTabView_ScrollView, "type": "StatusNavigationListItem", "visible": True}
|
||||
scrollView_Flickable = {"container": mainWindow_scrollView_StatusScrollView, "type": "Flickable", "unnamed": 1, "visible": True}
|
||||
settingsBackUpSeedPhraseOption = {"container": LeftTabView_ScrollView, "objectName": "18-MainMenuItem", "type": "StatusNavigationListItem", "visible": True}
|
||||
settingsWalletOption = {"container": LeftTabView_ScrollView, "objectName": "5-AppMenuItem", "type": "StatusNavigationListItem", "visible": True}
|
||||
|
||||
# Communities View
|
||||
mainWindow_CommunitiesView = {"container": statusDesktop_mainWindow, "type": "CommunitiesView", "unnamed": 1, "visible": True}
|
||||
mainWindow_settingsContentBaseScrollView_StatusScrollView = {"container": mainWindow_CommunitiesView, "objectName": "settingsContentBaseScrollView", "type": "StatusScrollView", "visible": True}
|
||||
settingsContentBaseScrollView_listItem_StatusListItem = {"container": mainWindow_settingsContentBaseScrollView_StatusScrollView, "id": "listItem", "type": "StatusListItem", "unnamed": 1, "visible": True}
|
||||
|
||||
# Templates to generate Real Name in test
|
||||
settings_iconOrImage_StatusSmartIdenticon = {"id": "iconOrImage", "type": "StatusSmartIdenticon", "unnamed": 1, "visible": True}
|
||||
settings_StatusTextWithLoadingState = {"type": "StatusTextWithLoadingState", "unnamed": 1, "visible": True}
|
||||
settings_statusListItemSubTitle = {"objectName": "statusListItemSubTitle", "type": "StatusTextWithLoadingState", "visible": True}
|
||||
settings_StatusFlatButton = {"type": "StatusFlatButton", "unnamed": 1, "visible": True}
|
||||
|
||||
# Messaging View
|
||||
mainWindow_MessagingView = {"container": statusDesktop_mainWindow, "type": "MessagingView", "unnamed": 1, "visible": True}
|
||||
contactsListItem_btn_StatusContactRequestsIndicatorListItem = {"container": mainWindow_MessagingView, "objectName": "MessagingView_ContactsListItem_btn", "type": "StatusContactRequestsIndicatorListItem", "visible": True}
|
||||
settingsContentBase_ScrollView = {"container": statusDesktop_mainWindow, "objectName": "settingsContentBaseScrollView", "type": "StatusScrollView", "visible": True}
|
||||
always_ask_radioButton_StatusRadioButton = {"container": settingsContentBase_ScrollView, "objectName": "MessagingView_AlwaysAsk_RadioButton", "type": "SettingsRadioButton", "visible": True}
|
||||
always_show_radioButton_StatusRadioButton = {"container": settingsContentBase_ScrollView, "objectName": "MessagingView_AlwaysShow_RadioButton", "type": "SettingsRadioButton", "visible": True}
|
||||
never_show_radioButton_StatusRadioButton = {"container": settingsContentBase_ScrollView, "objectName": "MessagingView_NeverShow_RadioButton", "type": "SettingsRadioButton", "visible": True}
|
||||
|
||||
# Contacts View
|
||||
mainWindow_ContactsView = {"container": statusDesktop_mainWindow, "type": "ContactsView", "unnamed": 1, "visible": True}
|
||||
mainWindow_Send_contact_request_to_chat_key_StatusButton = {"checkable": False, "container": mainWindow_ContactsView, "objectName": "ContactsView_ContactRequest_Button", "type": "StatusButton", "visible": True}
|
||||
contactsTabBar_Pending_Requests_StatusTabButton = {"checkable": True, "container": mainWindow_ContactsView, "objectName": "ContactsView_PendingRequest_Button", "type": "StatusTabButton", "visible": True}
|
||||
settingsContentBaseScrollView_ContactListPanel = {"container": mainWindow_ContactsView, "objectName": "ContactListPanel_ListView", "type": "StatusListView", "visible": True}
|
||||
settingsContentBaseScrollView_sentRequests_ContactsListPanel = {"container": mainWindow_ContactsView, "objectName": "sentRequests_ContactsListPanel", "type": "ContactsListPanel", "visible": True}
|
||||
contactsTabBar_Contacts_StatusTabButton = {"checkable": True, "container": mainWindow_ContactsView, "id": "contactsBtn", "type": "StatusTabButton", "unnamed": 1, "visible": True}
|
||||
settingsContentBaseScrollView_receivedRequests_ContactsListPanel = {"container": mainWindow_ContactsView, "objectName": "receivedRequests_ContactsListPanel", "type": "ContactsListPanel", "visible": True}
|
||||
settingsContentBaseScrollView_mutualContacts_ContactsListPanel = {"container": mainWindow_ContactsView, "id": "mutualContacts", "type": "ContactsListPanel", "unnamed": 1, "visible": True}
|
||||
settingsContentBaseScrollView_Invite_friends_StatusButton = {"checkable": False, "container": mainWindow_ContactsView, "type": "StatusButton", "unnamed": 1, "visible": True}
|
||||
settingsContentBaseScrollView_NoFriendsRectangle = {"container": mainWindow_ContactsView, "type": "NoFriendsRectangle", "unnamed": 1, "visible": True}
|
||||
view_Profile_StatusMenuItem = {"checkable": False, "container": statusDesktop_mainWindow_overlay, "enabled": True, "objectName": "viewProfile_StatusItem", "type": "StatusMenuItem", "visible": True}
|
||||
verify_Identity_StatusMenuItem = {"checkable": False, "container": statusDesktop_mainWindow_overlay, "enabled": True, "objectName": "verifyIdentity_StatusItem", "type": "StatusMenuItem", "visible": True}
|
||||
respond_to_ID_Request_StatusMenuItem = {"checkable": False, "container": statusDesktop_mainWindow_overlay, "enabled": True, "objectName": "pendingIdentity_StatusItem", "type": "StatusMenuItem", "visible": True}
|
||||
settingsContentBaseScrollView_Respond_to_ID_Request_StatusFlatButton = {"checkable": False, "container": mainWindow_ContactsView, "objectName": "verifyIdentity_StatusItem", "type": "StatusFlatButton", "unnamed": 1, "visible": True}
|
||||
|
||||
# Keycard Settings View
|
||||
mainWindow_KeycardView = {"container": statusDesktop_mainWindow, "type": "KeycardView", "unnamed": 1, "visible": True}
|
||||
setupFromExistingKeycardAccount_StatusListItem = {"container": settingsContentBase_ScrollView, "objectName": "setupFromExistingKeycardAccount", "type": "StatusListItem", "visible": True}
|
||||
createNewKeycardAccount_StatusListItem = {"container": settingsContentBase_ScrollView, "objectName": "createNewKeycardAccount", "type": "StatusListItem", "visible": True}
|
||||
importRestoreKeycard_StatusListItem = {"container": settingsContentBase_ScrollView, "objectName": "importRestoreKeycard", "type": "StatusListItem", "visible": True}
|
||||
importFromKeycard_StatusListItem = {"container": settingsContentBase_ScrollView, "objectName": "importFromKeycard", "type": "StatusListItem", "visible": True}
|
||||
checkWhatsNewKeycard_StatusListItem = {"container": settingsContentBase_ScrollView, "objectName": "checkWhatsNewKeycard", "type": "StatusListItem", "visible": True}
|
||||
factoryResetKeycard_StatusListItem = {"container": settingsContentBase_ScrollView, "objectName": "factoryResetKeycard", "type": "StatusListItem", "visible": True}
|
||||
|
||||
# Wallet Settings View
|
||||
mainWindow_WalletView = {"container": statusDesktop_mainWindow, "type": "WalletView", "unnamed": 1, "visible": True}
|
||||
settings_Wallet_MainView_Networks = {"container": statusDesktop_mainWindow, "objectName": "networksItem", "type": "StatusListItem"}
|
||||
settings_Wallet_MainView_AddNewAccountButton = {"container": statusDesktop_mainWindow, "objectName": "settings_Wallet_MainView_AddNewAccountButton", "type": "StatusButton", "visible": True}
|
||||
settingsContentBaseScrollView_accountOrderItem_StatusListItem = {"container": settingsContentBase_ScrollView, "objectName": "accountOrderItem", "type": "StatusListItem", "visible": True}
|
||||
settingsContentBaseScrollView_savedAddressesItem_StatusListItem = {"container": settingsContentBase_ScrollView, "objectName": "savedAddressesItem", "type": "StatusListItem", "visible": True}
|
||||
settingsContentBaseScrollView_StatusListItem = {"container": settingsContentBase_ScrollView, "type": "StatusListItem", "unnamed": 1, "visible": True}
|
||||
settings_Wallet_NetworksView_TestNet_Toggle = {"container": statusDesktop_mainWindow, "objectName": "testnetModeSwitch", "type": "StatusSwitch"}
|
||||
settings_Wallet_NetworksView_TestNet_Toggle_Title = {"container": settingsContentBase_ScrollView, "objectName": "statusListItemSubTitle", "type": "StatusTextWithLoadingState", "visible": True}
|
||||
settings_Wallet_SavedAddresses_AddAddressButton = {"container": statusDesktop_mainWindow, "objectName": "addNewSavedAddressButton", "type": "StatusButton", "visible": True}
|
||||
settings_Wallet_SavedAddress_ItemDelegate ={"container": settingsContentBase_ScrollView, "objectName": RegularExpression("savedAddressView_Delegate*"), "type": "SavedAddressesDelegate", "visible": True}
|
||||
settingsContentBaseScrollView_Goerli_testnet_active_StatusBaseText = {"container": settingsContentBase_ScrollView, "type": "StatusBaseText", "unnamed": 1, "visible": True}
|
||||
settingsContentBaseScrollView_accountsList_StatusListView = {"container": settingsContentBase_ScrollView, "id": "accountsList", "type": "StatusListView", "unnamed": 1, "visible": True}
|
||||
settingsContentBaseScrollView_draggableDelegate_StatusDraggableListItem = {"checkable": False, "container": settingsContentBase_ScrollView, "id": "draggableDelegate", "type": "StatusDraggableListItem", "unnamed": 1, "visible": True}
|
||||
settingsContentBaseScrollView_accountOrderView_AccountOrderView = {"container": settingsContentBase_ScrollView, "id": "accountOrderView", "type": "AccountOrderView", "unnamed": 1, "visible": True}
|
||||
settingsContentBaseScrollView_StatusBaseText = {"container": settingsContentBase_ScrollView, "type": "StatusBaseText", "unnamed": 1, "visible": True}
|
||||
mainWindow_StatusToolBar = {"container": statusDesktop_mainWindow, "objectName": "statusToolBar", "type": "StatusToolBar", "visible": True}
|
||||
main_toolBar_back_button = {"container": mainWindow_StatusToolBar, "objectName": "toolBarBackButton", "type": "StatusFlatButton", "visible": True}
|
||||
settingsContentBaseScrollView_WalletNetworkDelegate_template = {"container": settingsContentBase_ScrollView, "objectName": "walletNetworkDelegate_Mainnet_1", "type": "WalletNetworkDelegate", "visible": True}
|
||||
networkSettingsNetworks_Mainnet = {"container": settingsContentBase_ScrollView, "objectName": "walletNetworkDelegate_Mainnet_1", "type": "WalletNetworkDelegate", "visible": True}
|
||||
networkSettingsNetworks_Mainnet_Goerli = {"container": settingsContentBase_ScrollView, "objectName": "walletNetworkDelegate_Mainnet_5", "type": "WalletNetworkDelegate", "visible": True}
|
||||
networkSettingsNetworks_Optimism = {"container": settingsContentBase_ScrollView, "objectName": "walletNetworkDelegate_Optimism_10", "type": "WalletNetworkDelegate", "visible": True}
|
||||
networkSettingsNetworks_Optimism_Goerli = {"container": settingsContentBase_ScrollView, "objectName": "walletNetworkDelegate_Optimism_420", "type": "WalletNetworkDelegate", "visible": True}
|
||||
networkSettingsNetworks_Arbitrum = {"container": settingsContentBase_ScrollView, "objectName": "walletNetworkDelegate_Arbitrum_42161", "type": "WalletNetworkDelegate", "visible": True}
|
||||
networkSettingsNetworks_Arbitrum_Goerli = {"container": settingsContentBase_ScrollView, "objectName": "walletNetworkDelegate_Arbitrum_421613", "type": "WalletNetworkDelegate", "visible": True}
|
||||
networkSettingsNetworks_Mainnet_Goerli_sensor = {"container": networkSettingsNetworks_Mainnet_Goerli, "objectName": "walletNetworkDelegate_Mainnet_5_sensor", "id": "sensor", "type": "MouseArea", "unnamed": 1, "visible": True}
|
||||
networkSettingsNetowrks_Mainnet_Testlabel = {"container": networkSettingsNetworks_Mainnet_Goerli_sensor, "objectName": "testnetLabel_Mainnet", "type": "StatusBaseText", "visible": True}
|
||||
settingsWalletAccountDelegate_Status_account = {"container": settingsContentBase_ScrollView, "objectName": "Status account", "type": "WalletAccountDelegate", "visible": True}
|
||||
settingsWalletAccountDelegate = {"container": settingsContentBase_ScrollView, "index": 0, "objectName": RegularExpression("*"), "type": "WalletAccountDelegate", "visible": True}
|
||||
settingsWalletKeyPairDelegate = {"container": settingsContentBase_ScrollView, "objectName": "walletKeyPairDelegate", "type": "StatusListItem", "visible": True}
|
||||
settingsWalletAccountTotalBalance = {"container": settingsContentBase_ScrollView, "objectName": "includeTotalBalanceListItem", "type": "StatusListItem", "visible": True}
|
||||
settingsWalletAccountTotalBalanceToggle = {"checkable": True, "container": settingsWalletAccountTotalBalance, "type": "StatusSwitch", "visible": True}
|
||||
settingsContentBaseScrollView_StatusFlatRoundButton = {"container": mainWindow_settingsContentBaseScrollView_StatusScrollView, "type": "StatusFlatRoundButton", "unnamed": 1, "visible": True}
|
||||
rename_keypair_StatusMenuItem = {"checkable": False, "container": statusDesktop_mainWindow_overlay, "enabled": True, "objectName": "renameKeypairMenuItem", "type": "StatusMenuItem", "visible": True}
|
||||
|
||||
# Wallet Account Details view
|
||||
walletAccountViewEditAccountButton = {"container": statusDesktop_mainWindow, "objectName": "walletAccountViewEditAccountButton", "type": "StatusButton"}
|
||||
walletAccountViewAccountName = {"container": statusDesktop_mainWindow, "objectName": "walletAccountViewAccountName", "type": "StatusBaseText"}
|
||||
walletAccountViewAccountEmoji = {"container": statusDesktop_mainWindow, "objectName": "walletAccountViewAccountImage", "type": "StatusEmoji", "visible": True}
|
||||
walletAccountViewRemoveAccountButton = {"container": statusDesktop_mainWindow, "objectName": "deleteAccountButton", "type": "StatusButton"}
|
||||
walletAccountViewDetailsLabel = {"container": settingsContentBase_ScrollView, "objectName": "AccountDetails_TextLabel", "type": "StatusBaseText"}
|
||||
walletAccountViewBalance = {"container": settingsContentBase_ScrollView, "objectName": "Balance_ListItem", "type": "WalletAccountDetailsListItem"}
|
||||
walletAccountViewAddress = {"container": settingsContentBase_ScrollView, "objectName": "Address_ListItem", "type": "WalletAccountDetailsListItem"}
|
||||
walletAccountViewKeypairItem = {"container": settingsContentBase_ScrollView, "objectName": "KeyPair_Item", "type": "WalletAccountDetailsKeypairItem"}
|
||||
walletAccountViewOrigin = {"container": settingsContentBase_ScrollView, "objectName": "Origin_ListItem", "type": "WalletAccountDetailsListItem"}
|
||||
walletAccountViewDerivationPath = {"container": settingsContentBase_ScrollView, "objectName": "DerivationPath_ListItem", "type": "WalletAccountDetailsListItem"}
|
||||
walletAccountViewStored = {"container": settingsContentBase_ScrollView, "objectName": "Stored_ListItem", "type": "WalletAccountDetailsListItem"}
|
||||
walletAccountViewPreferredNetworks = {"container": settingsContentBase_ScrollView, "objectName": "PreferredNetworks_ListItem", "type": "StatusListItem"}
|
||||
|
||||
# Wallet edit network view
|
||||
settingsContentBaseScrollView_editPreviwTabBar_StatusTabBar = {"container": statusDesktop_mainWindow, "objectName": "editPreviwTabBar", "type": "StatusTabBar"}
|
||||
editNetworkLiveButton = {"container": settingsContentBaseScrollView_editPreviwTabBar_StatusTabBar, "objectName": "editNetworkLiveButton", "type": "StatusTabButton"}
|
||||
editNetworkTestButton = {"container": settingsContentBaseScrollView_editPreviwTabBar_StatusTabBar, "objectName": "editNetworkTestButton", "type": "StatusTabButton"}
|
||||
editNetworkNameInput = {"container": statusDesktop_mainWindow, "objectName": "editNetworkNameInput", "type": "TextEdit"}
|
||||
editNetworkShortNameInput = {"container": statusDesktop_mainWindow, "objectName": "editNetworkShortNameInput", "type": "TextEdit"}
|
||||
editNetworkChainIdInput = {"container": statusDesktop_mainWindow, "objectName": "editNetworkChainIdInput", "type": "TextEdit"}
|
||||
editNetworkSymbolInput = {"container": statusDesktop_mainWindow, "objectName": "editNetworkSymbolInput", "type": "TextEdit"}
|
||||
editNetworkMainRpcInput = {"container": statusDesktop_mainWindow, "objectName": "editNetworkMainRpcInput", "type": "TextEdit", "visible": True}
|
||||
editNetworkFailoverRpcUrlInput = {"container": statusDesktop_mainWindow, "objectName": "editNetworkFailoverRpcUrlInput", "type": "TextEdit", "visible": True}
|
||||
editNetworkExplorerInput = {"container": statusDesktop_mainWindow, "objectName": "editNetworkExplorerInput", "type": "TextEdit"}
|
||||
editNetworkAknowledgmentCheckbox = {"container": statusDesktop_mainWindow, "objectName": "editNetworkAknowledgmentCheckbox", "type": "StatusCheckBox", "visible": True}
|
||||
editNetworkRevertButton = {"container": statusDesktop_mainWindow, "objectName": "editNetworkRevertButton", "type": "StatusButton"}
|
||||
editNetworkSaveButton = {"container": statusDesktop_mainWindow, "objectName": "editNetworkSaveButton", "type": "StatusButton"}
|
||||
mainRpcUrlInputObject = {"container": settingsContentBase_ScrollView, "objectName": "mainRpcInputObject", "type": "StatusInput", "visible": True}
|
||||
failoverRpcUrlInputObject = {"container": settingsContentBase_ScrollView, "objectName": "failoverRpcUrlInputObject", "type": "StatusInput", "visible": True}
|
||||
|
||||
# Profile View
|
||||
mainWindow_MyProfileView = {"container": statusDesktop_mainWindow, "type": "MyProfileView", "unnamed": 1, "visible": True}
|
||||
displayName_StatusInput = {"container": statusDesktop_mainWindow, "objectName": "displayNameInput", "type": "StatusInput", "visible": True}
|
||||
displayName_TextEdit = {"container": displayName_StatusInput, "type": "TextEdit", "unnamed": 1, "visible": True}
|
||||
change_password_button = {"container": statusDesktop_mainWindow, "type": "StatusButton", "objectName": "profileSettingsChangePasswordButton", "visible": True}
|
||||
bio_StatusInput = {"container": statusDesktop_mainWindow, "objectName": "bioInput", "type": "StatusInput", "visible": True}
|
||||
bio_TextEdit = {"container": bio_StatusInput, "type": "TextEdit", "unnamed": 1, "visible": True}
|
||||
addMoreSocialLinks = {"container": statusDesktop_mainWindow, "objectName": "addMoreSocialLinks", "type": "StatusLinkText", "visible": True}
|
||||
mainWindow_profileTabBar_StatusTabBar = {"container": statusDesktop_mainWindow, "id": "profileTabBar", "type": "StatusTabBar", "unnamed": 1, "visible": True}
|
||||
profileTabBar_Web_StatusTabButton = {"checkable": True, "container": mainWindow_profileTabBar_StatusTabBar, "objectName": "webTabButton", "type": "StatusTabButton", "visible": True}
|
||||
profileTabBar_Identity_StatusTabButton = {"checkable": True, "container": mainWindow_profileTabBar_StatusTabBar, "objectName": "identityTabButton", "type": "StatusTabButton", "visible": True}
|
||||
|
||||
# Password view
|
||||
mainWindow_PasswordView = {"container": statusDesktop_mainWindow, "type": "ChangePasswordView", "unnamed": 1, "visible": True}
|
||||
|
||||
# Syncing Settings View
|
||||
mainWindow_SyncingView = {"container": statusDesktop_mainWindow, "type": "SyncingView", "unnamed": 1, "visible": True}
|
||||
settings_Setup_Syncing_StatusButton = {"container": statusDesktop_mainWindow, "objectName": "setupSyncingStatusButton", "type": "StatusButton", "visible": True}
|
||||
settings_Backup_Data_StatusButton = {"container": settingsContentBase_ScrollView, "objectName": "setupSyncBackupDataButton", "type": "StatusButton", "visible": True}
|
||||
settings_Sync_New_Device_Header = {"container": settingsContentBase_ScrollView, "objectName": "syncNewDeviceTextLabel", "type": "StatusBaseText", "visible": True}
|
||||
settings_Sync_New_Device_SubTitle = {"container": settingsContentBase_ScrollView, "objectName": "syncNewDeviceSubTitleTextLabel", "type": "StatusBaseText", "visible": True}
|
||||
|
||||
#Sing out and quit View
|
||||
signOutConfirmationButton = {"container": statusDesktop_mainWindow_overlay, "objectName": "signOutConfirmation", "type": "StatusButton", "visible": True}
|
||||
|
||||
# ENS usernames View
|
||||
mainWindow_EnsWelcomeView = {"container": statusDesktop_mainWindow, "type": "EnsWelcomeView", "unnamed": 1, "visible": True}
|
||||
mainWindow_Start_StatusButton = {"checkable": False, "container": statusDesktop_mainWindow, "objectName": "ensStartButton", "type": "StatusButton", "visible": True}
|
||||
mainWindow_EnsSearchView = {"container": statusDesktop_mainWindow, "type": "EnsSearchView", "unnamed": 1, "visible": True}
|
||||
mainWindow_ensUsernameInput_StyledTextField = {"container": statusDesktop_mainWindow, "objectName": "ensUsernameInput", "type": "StyledTextField", "visible": True}
|
||||
mainWindow_ensNextButton_StatusRoundButton = {"container": statusDesktop_mainWindow, "objectName": "ensNextButton", "type": "StatusRoundButton", "visible": True}
|
||||
ens_StatusBaseText = {"container": mainWindow_EnsSearchView, "type": "StatusBaseText", "unnamed": 1, "visible": True}
|
||||
mainWindow_EnsTermsAndConditionsView = {"container": statusDesktop_mainWindow, "type": "EnsTermsAndConditionsView", "unnamed": 1, "visible": True}
|
||||
mainWindow_sview_StatusScrollView = {"container": statusDesktop_mainWindow, "id": "sview", "type": "StatusScrollView", "unnamed": 1, "visible": True}
|
||||
sview_walletAddressLbl_StatusDescriptionListItem = {"container": mainWindow_sview_StatusScrollView, "id": "walletAddressLbl", "type": "StatusDescriptionListItem", "unnamed": 1, "visible": True}
|
||||
sview_keyLbl_StatusDescriptionListItem = {"container": mainWindow_sview_StatusScrollView, "id": "keyLbl", "type": "StatusDescriptionListItem", "unnamed": 1, "visible": True}
|
||||
sview_ensAgreeTerms_StatusCheckBox = {"checkable": True, "container": mainWindow_sview_StatusScrollView, "objectName": "ensAgreeTerms", "type": "StatusCheckBox", "visible": True}
|
||||
mainWindow_Register_StatusButton = {"checkable": False, "container": statusDesktop_mainWindow, "objectName": "ensStartTransaction", "text": "Register", "type": "StatusButton", "visible": True}
|
||||
mainWindow_EnsRegisteredView = {"container": statusDesktop_mainWindow, "type": "EnsRegisteredView", "unnamed": 1, "visible": True}
|
||||
|
||||
# Advanced view
|
||||
mainWindow_AdvancedView = {"container": mainWindow_StatusWindow, "type": "AdvancedView", "unnamed": 1, "visible": True}
|
||||
mainWindow_settingsContentBaseScrollView_StatusScrollView = {"container": mainWindow_StatusWindow, "objectName": "settingsContentBaseScrollView", "type": "StatusScrollView", "visible": True}
|
||||
manageCommunitiesOnTestnetButton_StatusSettingsLineButton = {"container": mainWindow_settingsContentBaseScrollView_StatusScrollView, "objectName": "manageCommunitiesOnTestnetButton", "type": "StatusSettingsLineButton", "visible": True}
|
||||
enableCreateCommunityButton_StatusSettingsLineButton = {"container": settingsContentBase_ScrollView, "objectName": "enableCreateCommunityButton", "type": "StatusSettingsLineButton", "visible": True}
|
||||
settingsContentBaseScrollViewLightWakuModeBloomSelectorButton = {"container": mainWindow_settingsContentBaseScrollView_StatusScrollView, "objectName": "lightWakuModeButton", "type": "BloomSelectorButton", "visible": True}
|
||||
settingsContentBaseScrollViewRelayWakuModeBloomSelectorButton = {"container": mainWindow_settingsContentBaseScrollView_StatusScrollView, "objectName": "relayWakuModeButton", "type": "BloomSelectorButton", "visible": True}
|
||||
|
||||
# ONBOARDING NAMES
|
||||
mainWindow_onboardingBackButton_StatusRoundButton = {"container": statusDesktop_mainWindow, "objectName": "onboardingBackButton", "type": "StatusRoundButton", "visible": True}
|
||||
|
||||
# Allow Notification View
|
||||
mainWindow_AllowNotificationsView = {"container": statusDesktop_mainWindow, "type": "AllowNotificationsView", "unnamed": 1, "visible": True}
|
||||
mainWindow_Start_using_Status_StatusButton = {"checkable": False, "container": statusDesktop_mainWindow, "objectName": "allowNotificationsOnboardingOkButton", "type": "StatusButton", "visible": True}
|
||||
|
||||
# Welcome View
|
||||
mainWindow_WelcomeView = {"container": statusDesktop_mainWindow, "type": "WelcomeView", "unnamed": 1, "visible": True}
|
||||
mainWindow_I_am_new_to_Status_StatusBaseText = {"container": mainWindow_WelcomeView, "objectName": "welcomeViewIAmNewToStatusButton", "type": "StatusButton"}
|
||||
mainWindow_I_already_use_Status_StatusFlatButton = {"checkable": False, "container": statusDesktop_mainWindow, "id": "btnExistingUser", "type": "StatusFlatButton", "visible": True}
|
||||
|
||||
# Get Keys View
|
||||
mainWindow_KeysMainView = {"container": statusDesktop_mainWindow, "type": "KeysMainView", "unnamed": 1, "visible": True}
|
||||
mainWindow_Generate_new_keys_StatusButton = {"checkable": False, "container": mainWindow_KeysMainView, "objectName": "keysMainViewPrimaryActionButton", "type": "StatusButton", "visible": True}
|
||||
mainWindow_Generate_keys_for_new_Keycard_StatusBaseText = {"container": mainWindow_KeysMainView, "id": "button2",
|
||||
"type": "StatusBaseText", "unnamed": 1, "visible": True}
|
||||
mainWindow_Import_seed_phrase = {"container": mainWindow_KeysMainView, "id": "button3", "type": "Row", "unnamed": 1,
|
||||
"visible": True}
|
||||
|
||||
# Import Seed Phrase View
|
||||
keysMainView_PrimaryAction_Button = {"container": statusDesktop_mainWindow,
|
||||
"objectName": "keysMainViewPrimaryActionButton", "type": "StatusButton"}
|
||||
mainWindow_iDontHaveOtherDeviceButton_StatusBaseText = {"container": statusDesktop_mainWindow, "objectName": "iDontHaveOtherDeviceButton", "type": "StatusBaseText", "visible": True}
|
||||
|
||||
# Seed Phrase Input View
|
||||
mainWindow_SeedPhraseInputView = {"container": statusDesktop_mainWindow, "type": "SeedPhraseInputView", "unnamed": 1,
|
||||
"visible": True}
|
||||
switchTabBar_12_words_Button = {"container": mainWindow_SeedPhraseInputView, "objectName": "12SeedButton",
|
||||
"type": "StatusSwitchTabButton"}
|
||||
switchTabBar_18_words_Button = {"container": mainWindow_SeedPhraseInputView, "objectName": "18SeedButton",
|
||||
"type": "StatusSwitchTabButton"}
|
||||
switchTabBar_24_words_Button = {"container": mainWindow_SeedPhraseInputView, "objectName": "24SeedButton",
|
||||
"type": "StatusSwitchTabButton"}
|
||||
mainWindow_statusSeedPhraseInputField_TextEdit = {"container": mainWindow_StatusWindow, "objectName": "enterSeedPhraseInputField", "type": "TextEdit", "visible": True}
|
||||
|
||||
mainWindow_Import_StatusButton = {"checkable": False, "container": mainWindow_SeedPhraseInputView,
|
||||
"objectName": "seedPhraseViewSubmitButton", "type": "StatusButton",
|
||||
"visible": True}
|
||||
|
||||
# SyncCode View
|
||||
mainWindow_SyncCodeView = {"container": statusDesktop_mainWindow, "type": "SyncCodeView", "unnamed": 1, "visible": True}
|
||||
mainWindow_switchTabBar_StatusSwitchTabBar_2 = {"container": statusDesktop_mainWindow, "id": "switchTabBar", "type": "StatusSwitchTabBar", "unnamed": 1, "visible": True}
|
||||
switchTabBar_Enter_sync_code_StatusSwitchTabButton = {"checkable": True, "container": mainWindow_switchTabBar_StatusSwitchTabBar_2, "text": "Enter sync code", "type": "StatusSwitchTabButton", "unnamed": 1, "visible": True}
|
||||
mainWindow_statusBaseInput_StatusBaseInput = {"container": statusDesktop_mainWindow, "id": "statusBaseInput", "type": "StatusBaseInput", "unnamed": 1, "visible": True}
|
||||
mainWindow_Paste_StatusButton = {"container": statusDesktop_mainWindow, "objectName": "syncCodePasteButton", "type": "StatusButton", "visible": True}
|
||||
mainWindow_syncingEnterCode_SyncingEnterCode = {"container": mainWindow_StatusWindow, "objectName": "syncingEnterCode", "type": "SyncingEnterCode", "visible": True}
|
||||
|
||||
# SyncDevice View
|
||||
mainWindow_SyncingDeviceView_found = {"container": statusDesktop_mainWindow, "type": "SyncingDeviceView", "unnamed": 1, "visible": True}
|
||||
mainWindow_SyncingDeviceView_synced = {"container": mainWindow_StatusWindow, "type": "SyncingDeviceView", "unnamed": 1, "visible": True}
|
||||
mainWindow_SyncDeviceResult = {"container": mainWindow_StatusWindow, "type": "SyncDeviceResult", "unnamed": 1, "visible": True}
|
||||
synced_StatusBaseText = {"container": mainWindow_StatusWindow, "type": "StatusBaseText", "unnamed": 1, "visible": True}
|
||||
mainWindow_Sign_in_StatusButton = {"checkable": False, "container": mainWindow_StatusWindow, "text": "Sign in", "type": "StatusButton", "unnamed": 1, "visible": True}
|
||||
sync_text_item = {"container": statusDesktop_mainWindow, "type": "StatusBaseText", "unnamed": 1, "visible": True}
|
||||
|
||||
# Keycard Init View
|
||||
mainWindow_KeycardInitView = {"container": statusDesktop_mainWindow, "type": "KeycardInitView", "unnamed": 1,
|
||||
"visible": True}
|
||||
mainWindow_Plug_in_Keycard_reader_StatusBaseText = {"container": mainWindow_KeycardInitView, "type": "StatusBaseText",
|
||||
"unnamed": 1, "visible": True}
|
||||
|
||||
# Your Profile View
|
||||
mainWindow_InsertDetailsView = {"container": statusDesktop_mainWindow, "objectName": "onboardingInsertDetailsView", "type": "InsertDetailsView", "visible": True}
|
||||
updatePicButton_StatusRoundButton = {"container": mainWindow_InsertDetailsView, "id": "updatePicButton", "type": "StatusRoundButton", "unnamed": 1, "visible": True}
|
||||
mainWindow_statusRoundImage_StatusRoundedImage = {"container": statusDesktop_mainWindow, "objectName": "statusRoundImage", "type": "StatusRoundedImage", "visible": True}
|
||||
mainWindow_IdenticonRing = {"container": statusDesktop_mainWindow, "type": "StatusIdenticonRing", "unnamed": 1, "visible": True}
|
||||
mainWindow_Next_StatusButton = {"checkable": False, "container": mainWindow_StatusWindow, "objectName": "onboardingDetailsViewNextButton", "type": "StatusButton", "visible": True}
|
||||
mainWindow_inputLayout_ColumnLayout = {"container": statusDesktop_mainWindow, "id": "inputLayout", "type": "ColumnLayout", "unnamed": 1, "visible": True}
|
||||
mainWindow_statusBaseInput_StatusBaseInput = {"container": mainWindow_inputLayout_ColumnLayout, "objectName": "onboardingDisplayNameInput", "type": "TextEdit", "visible": True}
|
||||
mainWindow_errorMessage_StatusBaseText = {"container": mainWindow_inputLayout_ColumnLayout, "type": "StatusBaseText", "unnamed": 1, "visible": True}
|
||||
mainWindow_nameInput_StatusInput = {"container": statusDesktop_mainWindow, "id": "nameInput", "type": "StatusInput", "unnamed": 1, "visible": True}
|
||||
mainWindow_clear_icon_StatusIcon = {"container": statusDesktop_mainWindow, "objectName": "clear-icon", "type": "StatusIcon"}
|
||||
|
||||
# Your emojihash and identicon ring
|
||||
mainWindow_welcomeScreenUserProfileImage_StatusSmartIdenticon = {"container": mainWindow_InsertDetailsView, "objectName": "welcomeScreenUserProfileImage", "type": "StatusSmartIdenticon", "visible": True}
|
||||
mainWindow_insertDetailsViewChatKeyTxt_StyledText = {"container": statusDesktop_mainWindow, "objectName": "profileChatKeyViewChatKeyTxt", "type": "StyledText", "visible": True}
|
||||
mainWindow_EmojiHash = {"container": statusDesktop_mainWindow, "objectName": "publicKeyEmojiHash", "type": "EmojiHash", "visible": True}
|
||||
mainWindow_Header_Title = {"container": statusDesktop_mainWindow, "objectName": "onboardingHeaderText", "type": "StyledText", "visible": True}
|
||||
mainWindow_userImageCopy_StatusSmartIdenticon = {"container": statusDesktop_mainWindow, "id": "userImageCopy", "type": "StatusSmartIdenticon", "unnamed": 1, "visible": True}
|
||||
profileImageCropper = {"container": statusDesktop_mainWindow, "objectName": "imageCropWorkflow", "type": "ImageCropWorkflow", "visible": True}
|
||||
|
||||
# Create Password View
|
||||
mainWindow_CreatePasswordView = {"container": statusDesktop_mainWindow, "type": "CreatePasswordView", "unnamed": 1, "visible": True}
|
||||
mainWindow_passwordViewNewPassword = {"container": mainWindow_CreatePasswordView, "objectName": "passwordViewNewPassword", "type": "StatusPasswordInput", "visible": True}
|
||||
mainWindow_passwordViewNewPasswordConfirm = {"container": mainWindow_CreatePasswordView, "objectName": "passwordViewNewPasswordConfirm", "type": "StatusPasswordInput", "visible": True}
|
||||
mainWindow_Create_password_StatusButton = {"checkable": False, "container": mainWindow_CreatePasswordView, "objectName": "onboardingCreatePasswordButton", "type": "StatusButton", "visible": True}
|
||||
mainWindow_view_PasswordView = {"container": statusDesktop_mainWindow, "id": "view", "type": "PasswordView", "unnamed": 1, "visible": True}
|
||||
mainWindow_RowLayout = {"container": mainWindow_StatusWindow, "type": "RowLayout", "unnamed": 1, "visible": True}
|
||||
mainWindow_strengthInditactor_StatusPasswordStrengthIndicator = {"container": mainWindow_StatusWindow, "id": "strengthInditactor", "type": "StatusPasswordStrengthIndicator", "unnamed": 1, "visible": True}
|
||||
mainWindow_show_icon_StatusIcon = {"container": mainWindow_StatusWindow, "objectName": "show-icon", "type": "StatusIcon", "visible": True}
|
||||
mainWindow_hide_icon_StatusIcon = {"container": mainWindow_StatusWindow, "objectName": "hide-icon", "type": "StatusIcon", "visible": True}
|
||||
|
||||
# Confirm Password View
|
||||
mainWindow_ConfirmPasswordView = {"container": statusDesktop_mainWindow, "type": "ConfirmPasswordView", "unnamed": 1,"visible": True}
|
||||
mainWindow_confirmAgainPasswordInput = {"container": mainWindow_ConfirmPasswordView, "objectName": "confirmAgainPasswordInput", "type": "StatusPasswordInput", "visible": True}
|
||||
mainWindow_Finalise_Status_Password_Creation_StatusButton = {"checkable": False, "container": mainWindow_ConfirmPasswordView, "objectName": "confirmPswSubmitBtn", "type": "StatusButton", "visible": True}
|
||||
mainWindow_passwordView_PasswordConfirmationView = {"container": statusDesktop_mainWindow, "id": "passwordView", "type": "PasswordConfirmationView", "unnamed": 1, "visible": True}
|
||||
|
||||
# Login View
|
||||
mainWindow_LoginView = {"container": statusDesktop_mainWindow, "type": "LoginView", "unnamed": 1, "visible": True}
|
||||
loginView_submitBtn = {"container": mainWindow_LoginView, "type": "StatusRoundButton", "visible": True}
|
||||
loginView_passwordInput = {"container": mainWindow_LoginView, "objectName": "loginPasswordInput", "type": "StyledTextField"}
|
||||
loginView_currentUserNameLabel = {"container": mainWindow_LoginView, "objectName": "currentUserNameLabel", "type": "StatusBaseText"}
|
||||
loginView_changeAccountBtn = {"container": mainWindow_LoginView, "objectName": "loginChangeAccountButton", "type": "StatusFlatRoundButton"}
|
||||
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}
|
||||
mainWindowUsePasswordInsteadStatusBaseText = {"container": statusDesktop_mainWindow, "text": "Use password instead", "type": "StatusBaseText", "unnamed": 1, "visible": True}
|
||||
|
||||
# Touch ID Auth View
|
||||
mainWindow_TouchIDAuthView = {"container": statusDesktop_mainWindow, "type": "TouchIDAuthView", "unnamed": 1, "visible": True}
|
||||
mainWindow_touchIdYesUseTouchIDButton = {"container": statusDesktop_mainWindow, "objectName": "touchIdYesUseTouchIDButton", "type": "StatusButton", "visible": True}
|
||||
mainWindow_touchIdIPreferToUseMyPasswordText = {"container": statusDesktop_mainWindow, "objectName": "touchIdIPreferToUseMyPasswordText", "type": "StatusBaseText"}
|
||||
|
||||
# WALLET NAMES
|
||||
|
||||
mainWindow_WalletLayout = {"container": statusDesktop_mainWindow, "type": "WalletLayout", "unnamed": 1, "visible": True}
|
||||
|
@ -835,30 +541,6 @@ savedAddressView_Delegate_menuButton = {"container": mainWindow_SavedAddressesVi
|
|||
savedAddressesArea_SavedAddresses = {"container": mainWindow_SavedAddressesView, "objectName": "savedAddressesArea", "type": "SavedAddresses", "visible": True}
|
||||
savedAddresses_area = {"container": mainWindow_SavedAddressesView_2, "objectName": "savedAddressesArea", "type": "SavedAddresses", "visible": True}
|
||||
|
||||
# Wallet Account View
|
||||
mainWindow_RightTabView = {"container": statusDesktop_mainWindow, "type": "RightTabView", "unnamed": 1, "visible": True}
|
||||
mainWallet_Account_Name = {"container": mainWindow_RightTabView, "objectName": "walletHeaderTitle", "type": "StatusBaseText", "visible": True}
|
||||
mainWindow_Send_Button = {"container": statusDesktop_mainWindow, "objectName": "walletFooterSendButton", "type": "StatusFlatButton", "visible": True}
|
||||
mainWindow_RightTabView = {"container": mainWindow_StatusWindow, "type": "RightTabView", "unnamed": 1, "visible": True}
|
||||
filterButton_StatusFlatButton = {"checkable": True, "container": mainWindow_RightTabView, "objectName": "filterButton", "type": "StatusFlatButton", "visible": True}
|
||||
cmbTokenOrder_SortOrderComboBox = {"container": mainWindow_RightTabView, "objectName": "cmbTokenOrder", "type": "SortOrderComboBox", "visible": True}
|
||||
collectibles_cmbTokenOrder_SortOrderComboBox = {"container": mainWindow_RightTabView, "id": "cmbTokenOrder", "type": "SortOrderComboBox", "unnamed": 1, "visible": True}
|
||||
rightSideWalletTabBar_StatusTabBar = {"container": mainWindow_RightTabView, "objectName": "rightSideWalletTabBar", "type": "StatusTabBar", "visible": True}
|
||||
rightSideWalletTabBar_Assets_StatusTabButton = {"checkable": True, "container": rightSideWalletTabBar_StatusTabBar, "objectName": "assetsTabButton", "text": "Assets", "type": "StatusTabButton", "visible": True}
|
||||
rightSideWalletTabBar_Collectibles_StatusTabButton = {"checkable": True, "container": rightSideWalletTabBar_StatusTabBar, "objectName": "collectiblesTabButton", "text": "Collectibles", "type": "StatusTabButton", "visible": True}
|
||||
rightSideWalletTabBar_Activity_StatusTabButton = {"checkable": True, "container": rightSideWalletTabBar_StatusTabBar, "objectName": "activityTabButton", "text": "Activity", "type": "StatusTabButton", "visible": True}
|
||||
o_AssetsView = {"container": mainWindow_RightTabView, "type": "AssetsView", "unnamed": 1, "visible": True}
|
||||
itemDelegate = {"checkable": False, "container": statusDesktop_mainWindow_overlay, "id": "menuDelegate", "type": "ItemDelegate", "unnamed": 1, "visible": True}
|
||||
assetView_TokenListItem_TokenDelegate = {"container": mainWindow_RightTabView, "objectName": RegularExpression("AssetView_TokenListItem_*"), "type": "TokenDelegate", "visible": True}
|
||||
arrow_icon_StatusIcon = {"container": statusDesktop_mainWindow_overlay, "objectName": "arrow-up-icon", "type": "StatusIcon", "visible": True}
|
||||
collectible_item = {"container": mainWindow_RightTabView, "type": "CollectibleView", "unnamed": 1, "visible": True}
|
||||
mainWindow_settingsContentBaseScrollView_StatusScrollView_general = {"container": statusDesktop_mainWindow, "objectName": "settingsContentBaseScrollView", "type": "StatusScrollView", "visible": True}
|
||||
settingsContentBaseScrollView_manageTokensDelegate_ManageTokensDelegate = {"container": mainWindow_settingsContentBaseScrollView_StatusScrollView_general, "objectName": RegularExpression("manageTokensDelegate-*"), "type": "ManageTokensDelegate", "visible": True}
|
||||
settingsContentBaseScrollView_manageTokensView_ManageTokensView = {"container": mainWindow_settingsContentBaseScrollView_StatusScrollView_general, "id": "manageTokensView", "type": "ManageTokensView", "unnamed": 1, "visible": True}
|
||||
|
||||
mainWindow_Save_and_apply_StatusButton = {"checkable": False, "container": mainWindow_StatusWindow, "objectName": "settingsDirtyToastMessageSaveButton", "text": "Save and apply", "type": "StatusButton", "visible": True}
|
||||
mainWindow_Save_StatusFlatButton = {"checkable": False, "container": mainWindow_StatusWindow, "id": "saveForLaterButton", "text": "Save", "type": "StatusFlatButton", "unnamed": 1, "visible": True}
|
||||
|
||||
# MOCKED KEYCARD CONTROLLER NAMES
|
||||
|
||||
QQuickApplicationWindow = {"type": "QQuickApplicationWindow", "unnamed": 1, "visible": True}
|
||||
|
|
|
@ -0,0 +1,118 @@
|
|||
from gui.objects_map.names import statusDesktop_mainWindow, statusDesktop_mainWindow_overlay
|
||||
|
||||
# Map for onboarding locators
|
||||
|
||||
mainWindow_onboardingBackButton_StatusRoundButton = {"container": statusDesktop_mainWindow, "objectName": "onboardingBackButton", "type": "StatusRoundButton", "visible": True}
|
||||
|
||||
# Allow Notification View
|
||||
mainWindow_AllowNotificationsView = {"container": statusDesktop_mainWindow, "type": "AllowNotificationsView", "unnamed": 1, "visible": True}
|
||||
mainWindow_Start_using_Status_StatusButton = {"checkable": False, "container": statusDesktop_mainWindow, "objectName": "allowNotificationsOnboardingOkButton", "type": "StatusButton", "visible": True}
|
||||
|
||||
# Welcome View
|
||||
mainWindow_WelcomeView = {"container": statusDesktop_mainWindow, "type": "WelcomeView", "unnamed": 1, "visible": True}
|
||||
mainWindow_I_am_new_to_Status_StatusBaseText = {"container": mainWindow_WelcomeView, "objectName": "welcomeViewIAmNewToStatusButton", "type": "StatusButton"}
|
||||
mainWindow_I_already_use_Status_StatusFlatButton = {"checkable": False, "container": statusDesktop_mainWindow, "id": "btnExistingUser", "type": "StatusFlatButton", "visible": True}
|
||||
|
||||
# Get Keys View
|
||||
mainWindow_KeysMainView = {"container": statusDesktop_mainWindow, "type": "KeysMainView", "unnamed": 1, "visible": True}
|
||||
mainWindow_Generate_new_keys_StatusButton = {"checkable": False, "container": mainWindow_KeysMainView, "objectName": "keysMainViewPrimaryActionButton", "type": "StatusButton", "visible": True}
|
||||
mainWindow_Generate_keys_for_new_Keycard_StatusBaseText = {"container": mainWindow_KeysMainView, "id": "button2",
|
||||
"type": "StatusBaseText", "unnamed": 1, "visible": True}
|
||||
mainWindow_Import_seed_phrase = {"container": mainWindow_KeysMainView, "id": "button3", "type": "Row", "unnamed": 1,
|
||||
"visible": True}
|
||||
|
||||
# Import Seed Phrase View
|
||||
keysMainView_PrimaryAction_Button = {"container": statusDesktop_mainWindow,
|
||||
"objectName": "keysMainViewPrimaryActionButton", "type": "StatusButton"}
|
||||
mainWindow_iDontHaveOtherDeviceButton_StatusBaseText = {"container": statusDesktop_mainWindow, "objectName": "iDontHaveOtherDeviceButton", "type": "StatusBaseText", "visible": True}
|
||||
|
||||
# Seed Phrase Input View
|
||||
mainWindow_SeedPhraseInputView = {"container": statusDesktop_mainWindow, "type": "SeedPhraseInputView", "unnamed": 1,
|
||||
"visible": True}
|
||||
switchTabBar_12_words_Button = {"container": mainWindow_SeedPhraseInputView, "objectName": "12SeedButton",
|
||||
"type": "StatusSwitchTabButton"}
|
||||
switchTabBar_18_words_Button = {"container": mainWindow_SeedPhraseInputView, "objectName": "18SeedButton",
|
||||
"type": "StatusSwitchTabButton"}
|
||||
switchTabBar_24_words_Button = {"container": mainWindow_SeedPhraseInputView, "objectName": "24SeedButton",
|
||||
"type": "StatusSwitchTabButton"}
|
||||
mainWindow_statusSeedPhraseInputField_TextEdit = {"container": statusDesktop_mainWindow, "objectName": "enterSeedPhraseInputField", "type": "TextEdit", "visible": True}
|
||||
|
||||
mainWindow_Import_StatusButton = {"checkable": False, "container": mainWindow_SeedPhraseInputView,
|
||||
"objectName": "seedPhraseViewSubmitButton", "type": "StatusButton",
|
||||
"visible": True}
|
||||
|
||||
# SyncCode View
|
||||
mainWindow_SyncCodeView = {"container": statusDesktop_mainWindow, "type": "SyncCodeView", "unnamed": 1, "visible": True}
|
||||
mainWindow_switchTabBar_StatusSwitchTabBar_2 = {"container": statusDesktop_mainWindow, "id": "switchTabBar", "type": "StatusSwitchTabBar", "unnamed": 1, "visible": True}
|
||||
switchTabBar_Enter_sync_code_StatusSwitchTabButton = {"checkable": True, "container": mainWindow_switchTabBar_StatusSwitchTabBar_2, "text": "Enter sync code", "type": "StatusSwitchTabButton", "unnamed": 1, "visible": True}
|
||||
mainWindow_statusBaseInput_StatusBaseInput = {"container": statusDesktop_mainWindow, "id": "statusBaseInput", "type": "StatusBaseInput", "unnamed": 1, "visible": True}
|
||||
mainWindow_Paste_StatusButton = {"container": statusDesktop_mainWindow, "objectName": "syncCodePasteButton", "type": "StatusButton", "visible": True}
|
||||
mainWindow_syncingEnterCode_SyncingEnterCode = {"container": statusDesktop_mainWindow, "objectName": "syncingEnterCode", "type": "SyncingEnterCode", "visible": True}
|
||||
|
||||
# SyncDevice View
|
||||
mainWindow_SyncingDeviceView_found = {"container": statusDesktop_mainWindow, "type": "SyncingDeviceView", "unnamed": 1, "visible": True}
|
||||
mainWindow_SyncingDeviceView_synced = {"container": statusDesktop_mainWindow, "type": "SyncingDeviceView", "unnamed": 1, "visible": True}
|
||||
mainWindow_SyncDeviceResult = {"container": statusDesktop_mainWindow, "type": "SyncDeviceResult", "unnamed": 1, "visible": True}
|
||||
synced_StatusBaseText = {"container": statusDesktop_mainWindow, "type": "StatusBaseText", "unnamed": 1, "visible": True}
|
||||
mainWindow_Sign_in_StatusButton = {"checkable": False, "container": statusDesktop_mainWindow, "text": "Sign in", "type": "StatusButton", "unnamed": 1, "visible": True}
|
||||
sync_text_item = {"container": statusDesktop_mainWindow, "type": "StatusBaseText", "unnamed": 1, "visible": True}
|
||||
|
||||
# Keycard Init View
|
||||
mainWindow_KeycardInitView = {"container": statusDesktop_mainWindow, "type": "KeycardInitView", "unnamed": 1,
|
||||
"visible": True}
|
||||
mainWindow_Plug_in_Keycard_reader_StatusBaseText = {"container": mainWindow_KeycardInitView, "type": "StatusBaseText",
|
||||
"unnamed": 1, "visible": True}
|
||||
|
||||
# Your Profile View
|
||||
mainWindow_InsertDetailsView = {"container": statusDesktop_mainWindow, "objectName": "onboardingInsertDetailsView", "type": "InsertDetailsView", "visible": True}
|
||||
updatePicButton_StatusRoundButton = {"container": mainWindow_InsertDetailsView, "id": "updatePicButton", "type": "StatusRoundButton", "unnamed": 1, "visible": True}
|
||||
mainWindow_statusRoundImage_StatusRoundedImage = {"container": statusDesktop_mainWindow, "objectName": "statusRoundImage", "type": "StatusRoundedImage", "visible": True}
|
||||
mainWindow_IdenticonRing = {"container": statusDesktop_mainWindow, "type": "StatusIdenticonRing", "unnamed": 1, "visible": True}
|
||||
mainWindow_Next_StatusButton = {"checkable": False, "container": statusDesktop_mainWindow, "objectName": "onboardingDetailsViewNextButton", "type": "StatusButton", "visible": True}
|
||||
mainWindow_inputLayout_ColumnLayout = {"container": statusDesktop_mainWindow, "id": "inputLayout", "type": "ColumnLayout", "unnamed": 1, "visible": True}
|
||||
mainWindow_statusBaseInput_StatusBaseInput = {"container": mainWindow_inputLayout_ColumnLayout, "objectName": "onboardingDisplayNameInput", "type": "TextEdit", "visible": True}
|
||||
mainWindow_errorMessage_StatusBaseText = {"container": mainWindow_inputLayout_ColumnLayout, "type": "StatusBaseText", "unnamed": 1, "visible": True}
|
||||
mainWindow_nameInput_StatusInput = {"container": statusDesktop_mainWindow, "id": "nameInput", "type": "StatusInput", "unnamed": 1, "visible": True}
|
||||
mainWindow_clear_icon_StatusIcon = {"container": statusDesktop_mainWindow, "objectName": "clear-icon", "type": "StatusIcon"}
|
||||
|
||||
# Your emojihash and identicon ring
|
||||
mainWindow_welcomeScreenUserProfileImage_StatusSmartIdenticon = {"container": mainWindow_InsertDetailsView, "objectName": "welcomeScreenUserProfileImage", "type": "StatusSmartIdenticon", "visible": True}
|
||||
mainWindow_insertDetailsViewChatKeyTxt_StyledText = {"container": statusDesktop_mainWindow, "objectName": "profileChatKeyViewChatKeyTxt", "type": "StyledText", "visible": True}
|
||||
mainWindow_EmojiHash = {"container": statusDesktop_mainWindow, "objectName": "publicKeyEmojiHash", "type": "EmojiHash", "visible": True}
|
||||
mainWindow_Header_Title = {"container": statusDesktop_mainWindow, "objectName": "onboardingHeaderText", "type": "StyledText", "visible": True}
|
||||
mainWindow_userImageCopy_StatusSmartIdenticon = {"container": statusDesktop_mainWindow, "id": "userImageCopy", "type": "StatusSmartIdenticon", "unnamed": 1, "visible": True}
|
||||
profileImageCropper = {"container": statusDesktop_mainWindow, "objectName": "imageCropWorkflow", "type": "ImageCropWorkflow", "visible": True}
|
||||
|
||||
# Create Password View
|
||||
mainWindow_CreatePasswordView = {"container": statusDesktop_mainWindow, "type": "CreatePasswordView", "unnamed": 1, "visible": True}
|
||||
mainWindow_passwordViewNewPassword = {"container": mainWindow_CreatePasswordView, "objectName": "passwordViewNewPassword", "type": "StatusPasswordInput", "visible": True}
|
||||
mainWindow_passwordViewNewPasswordConfirm = {"container": mainWindow_CreatePasswordView, "objectName": "passwordViewNewPasswordConfirm", "type": "StatusPasswordInput", "visible": True}
|
||||
mainWindow_Create_password_StatusButton = {"checkable": False, "container": mainWindow_CreatePasswordView, "objectName": "onboardingCreatePasswordButton", "type": "StatusButton", "visible": True}
|
||||
mainWindow_view_PasswordView = {"container": statusDesktop_mainWindow, "id": "view", "type": "PasswordView", "unnamed": 1, "visible": True}
|
||||
mainWindow_RowLayout = {"container": statusDesktop_mainWindow, "type": "RowLayout", "unnamed": 1, "visible": True}
|
||||
mainWindow_strengthInditactor_StatusPasswordStrengthIndicator = {"container": statusDesktop_mainWindow, "id": "strengthInditactor", "type": "StatusPasswordStrengthIndicator", "unnamed": 1, "visible": True}
|
||||
mainWindow_show_icon_StatusIcon = {"container": statusDesktop_mainWindow, "objectName": "show-icon", "type": "StatusIcon", "visible": True}
|
||||
mainWindow_hide_icon_StatusIcon = {"container": statusDesktop_mainWindow, "objectName": "hide-icon", "type": "StatusIcon", "visible": True}
|
||||
|
||||
# Confirm Password View
|
||||
mainWindow_ConfirmPasswordView = {"container": statusDesktop_mainWindow, "type": "ConfirmPasswordView", "unnamed": 1,"visible": True}
|
||||
mainWindow_confirmAgainPasswordInput = {"container": mainWindow_ConfirmPasswordView, "objectName": "confirmAgainPasswordInput", "type": "StatusPasswordInput", "visible": True}
|
||||
mainWindow_Finalise_Status_Password_Creation_StatusButton = {"checkable": False, "container": mainWindow_ConfirmPasswordView, "objectName": "confirmPswSubmitBtn", "type": "StatusButton", "visible": True}
|
||||
mainWindow_passwordView_PasswordConfirmationView = {"container": statusDesktop_mainWindow, "id": "passwordView", "type": "PasswordConfirmationView", "unnamed": 1, "visible": True}
|
||||
|
||||
# Login View
|
||||
mainWindow_LoginView = {"container": statusDesktop_mainWindow, "type": "LoginView", "unnamed": 1, "visible": True}
|
||||
loginView_submitBtn = {"container": mainWindow_LoginView, "type": "StatusRoundButton", "visible": True}
|
||||
loginView_passwordInput = {"container": mainWindow_LoginView, "objectName": "loginPasswordInput", "type": "StyledTextField"}
|
||||
loginView_currentUserNameLabel = {"container": mainWindow_LoginView, "objectName": "currentUserNameLabel", "type": "StatusBaseText"}
|
||||
loginView_changeAccountBtn = {"container": mainWindow_LoginView, "objectName": "loginChangeAccountButton", "type": "StatusFlatRoundButton"}
|
||||
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}
|
||||
mainWindowUsePasswordInsteadStatusBaseText = {"container": statusDesktop_mainWindow, "text": "Use password instead", "type": "StatusBaseText", "unnamed": 1, "visible": True}
|
||||
|
||||
# Touch ID Auth View
|
||||
mainWindow_TouchIDAuthView = {"container": statusDesktop_mainWindow, "type": "TouchIDAuthView", "unnamed": 1, "visible": True}
|
||||
mainWindow_touchIdYesUseTouchIDButton = {"container": statusDesktop_mainWindow, "objectName": "touchIdYesUseTouchIDButton", "type": "StatusButton", "visible": True}
|
||||
mainWindow_touchIdIPreferToUseMyPasswordText = {"container": statusDesktop_mainWindow, "objectName": "touchIdIPreferToUseMyPasswordText", "type": "StatusBaseText"}
|
|
@ -0,0 +1,177 @@
|
|||
from objectmaphelper import *
|
||||
from gui.objects_map.names import statusDesktop_mainWindow, statusDesktop_mainWindow_overlay
|
||||
|
||||
mainWindow_ProfileLayout = {"container": statusDesktop_mainWindow, "objectName": "profileStatusSectionLayout", "type": "StatusSectionLayout", "visible": True}
|
||||
mainWindow_StatusSectionLayout_ContentItem = {"container": mainWindow_ProfileLayout, "objectName": "StatusSectionLayout", "type": "ContentItem", "visible": True}
|
||||
settingsContentBase_ScrollView = {"container": statusDesktop_mainWindow, "objectName": "settingsContentBaseScrollView", "type": "StatusScrollView", "visible": True}
|
||||
settingsContentBaseScrollView_Flickable = {"container": settingsContentBase_ScrollView, "type": "Flickable", "unnamed": 1, "visible": True}
|
||||
|
||||
# Left Panel
|
||||
|
||||
mainWindow_LeftTabView = {"container": statusDesktop_mainWindow, "type": "LeftTabView", "unnamed": 1, "visible": True}
|
||||
LeftTabView_ScrollView = {"container": mainWindow_LeftTabView, "type": "StatusScrollView", "unnamed": 1, "visible": True}
|
||||
LeftTabProfileMenu = {"container": LeftTabView_ScrollView, "objectName": "leftTabViewProfileMenu", "type": "MenuPanel", "visible": True}
|
||||
mainWindow_Settings_StatusNavigationPanelHeadline = {"container": mainWindow_LeftTabView, "type": "StatusNavigationPanelHeadline", "unnamed": 1, "visible": True}
|
||||
mainWindow_scrollView_StatusScrollView = {"container": mainWindow_LeftTabView, "id": "scrollView", "type": "StatusScrollView", "unnamed": 1, "visible": True}
|
||||
scrollView_MenuItem_StatusNavigationListItem = {"container": LeftTabView_ScrollView, "type": "StatusNavigationListItem", "visible": True}
|
||||
scrollView_Flickable = {"container": mainWindow_scrollView_StatusScrollView, "type": "Flickable", "unnamed": 1, "visible": True}
|
||||
settingsBackUpSeedPhraseOption = {"container": LeftTabView_ScrollView, "objectName": "18-MainMenuItem", "type": "StatusNavigationListItem", "visible": True}
|
||||
settingsWalletOption = {"container": LeftTabView_ScrollView, "objectName": "5-AppMenuItem", "type": "StatusNavigationListItem", "visible": True}
|
||||
|
||||
# Communities View
|
||||
mainWindow_CommunitiesView = {"container": statusDesktop_mainWindow, "type": "CommunitiesView", "unnamed": 1, "visible": True}
|
||||
mainWindow_settingsContentBaseScrollView_StatusScrollView = {"container": mainWindow_CommunitiesView, "objectName": "settingsContentBaseScrollView", "type": "StatusScrollView", "visible": True}
|
||||
settingsContentBaseScrollView_listItem_StatusListItem = {"container": mainWindow_settingsContentBaseScrollView_StatusScrollView, "id": "listItem", "type": "StatusListItem", "unnamed": 1, "visible": True}
|
||||
|
||||
# Templates to generate Real Name in test
|
||||
settings_iconOrImage_StatusSmartIdenticon = {"id": "iconOrImage", "type": "StatusSmartIdenticon", "unnamed": 1, "visible": True}
|
||||
settings_StatusTextWithLoadingState = {"type": "StatusTextWithLoadingState", "unnamed": 1, "visible": True}
|
||||
settings_statusListItemSubTitle = {"objectName": "statusListItemSubTitle", "type": "StatusTextWithLoadingState", "visible": True}
|
||||
settings_StatusFlatButton = {"type": "StatusFlatButton", "unnamed": 1, "visible": True}
|
||||
|
||||
# Messaging View
|
||||
mainWindow_MessagingView = {"container": statusDesktop_mainWindow, "type": "MessagingView", "unnamed": 1, "visible": True}
|
||||
contactsListItem_btn_StatusContactRequestsIndicatorListItem = {"container": mainWindow_MessagingView, "objectName": "MessagingView_ContactsListItem_btn", "type": "StatusContactRequestsIndicatorListItem", "visible": True}
|
||||
settingsContentBase_ScrollView = {"container": statusDesktop_mainWindow, "objectName": "settingsContentBaseScrollView", "type": "StatusScrollView", "visible": True}
|
||||
always_ask_radioButton_StatusRadioButton = {"container": settingsContentBase_ScrollView, "objectName": "MessagingView_AlwaysAsk_RadioButton", "type": "SettingsRadioButton", "visible": True}
|
||||
always_show_radioButton_StatusRadioButton = {"container": settingsContentBase_ScrollView, "objectName": "MessagingView_AlwaysShow_RadioButton", "type": "SettingsRadioButton", "visible": True}
|
||||
never_show_radioButton_StatusRadioButton = {"container": settingsContentBase_ScrollView, "objectName": "MessagingView_NeverShow_RadioButton", "type": "SettingsRadioButton", "visible": True}
|
||||
|
||||
# Contacts View
|
||||
mainWindow_ContactsView = {"container": statusDesktop_mainWindow, "type": "ContactsView", "unnamed": 1, "visible": True}
|
||||
mainWindow_Send_contact_request_to_chat_key_StatusButton = {"checkable": False, "container": mainWindow_ContactsView, "objectName": "ContactsView_ContactRequest_Button", "type": "StatusButton", "visible": True}
|
||||
contactsTabBar_Pending_Requests_StatusTabButton = {"checkable": True, "container": mainWindow_ContactsView, "objectName": "ContactsView_PendingRequest_Button", "type": "StatusTabButton", "visible": True}
|
||||
settingsContentBaseScrollView_ContactListPanel = {"container": mainWindow_ContactsView, "objectName": "ContactListPanel_ListView", "type": "StatusListView", "visible": True}
|
||||
settingsContentBaseScrollView_sentRequests_ContactsListPanel = {"container": mainWindow_ContactsView, "objectName": "sentRequests_ContactsListPanel", "type": "ContactsListPanel", "visible": True}
|
||||
contactsTabBar_Contacts_StatusTabButton = {"checkable": True, "container": mainWindow_ContactsView, "id": "contactsBtn", "type": "StatusTabButton", "unnamed": 1, "visible": True}
|
||||
settingsContentBaseScrollView_receivedRequests_ContactsListPanel = {"container": mainWindow_ContactsView, "objectName": "receivedRequests_ContactsListPanel", "type": "ContactsListPanel", "visible": True}
|
||||
settingsContentBaseScrollView_mutualContacts_ContactsListPanel = {"container": mainWindow_ContactsView, "id": "mutualContacts", "type": "ContactsListPanel", "unnamed": 1, "visible": True}
|
||||
settingsContentBaseScrollView_Invite_friends_StatusButton = {"checkable": False, "container": mainWindow_ContactsView, "type": "StatusButton", "unnamed": 1, "visible": True}
|
||||
settingsContentBaseScrollView_NoFriendsRectangle = {"container": mainWindow_ContactsView, "type": "NoFriendsRectangle", "unnamed": 1, "visible": True}
|
||||
view_Profile_StatusMenuItem = {"checkable": False, "container": statusDesktop_mainWindow_overlay, "enabled": True, "objectName": "viewProfile_StatusItem", "type": "StatusMenuItem", "visible": True}
|
||||
verify_Identity_StatusMenuItem = {"checkable": False, "container": statusDesktop_mainWindow_overlay, "enabled": True, "objectName": "verifyIdentity_StatusItem", "type": "StatusMenuItem", "visible": True}
|
||||
respond_to_ID_Request_StatusMenuItem = {"checkable": False, "container": statusDesktop_mainWindow_overlay, "enabled": True, "objectName": "pendingIdentity_StatusItem", "type": "StatusMenuItem", "visible": True}
|
||||
settingsContentBaseScrollView_Respond_to_ID_Request_StatusFlatButton = {"checkable": False, "container": mainWindow_ContactsView, "objectName": "verifyIdentity_StatusItem", "type": "StatusFlatButton", "unnamed": 1, "visible": True}
|
||||
|
||||
# Keycard Settings View
|
||||
mainWindow_KeycardView = {"container": statusDesktop_mainWindow, "type": "KeycardView", "unnamed": 1, "visible": True}
|
||||
setupFromExistingKeycardAccount_StatusListItem = {"container": settingsContentBase_ScrollView, "objectName": "setupFromExistingKeycardAccount", "type": "StatusListItem", "visible": True}
|
||||
createNewKeycardAccount_StatusListItem = {"container": settingsContentBase_ScrollView, "objectName": "createNewKeycardAccount", "type": "StatusListItem", "visible": True}
|
||||
importRestoreKeycard_StatusListItem = {"container": settingsContentBase_ScrollView, "objectName": "importRestoreKeycard", "type": "StatusListItem", "visible": True}
|
||||
importFromKeycard_StatusListItem = {"container": settingsContentBase_ScrollView, "objectName": "importFromKeycard", "type": "StatusListItem", "visible": True}
|
||||
checkWhatsNewKeycard_StatusListItem = {"container": settingsContentBase_ScrollView, "objectName": "checkWhatsNewKeycard", "type": "StatusListItem", "visible": True}
|
||||
factoryResetKeycard_StatusListItem = {"container": settingsContentBase_ScrollView, "objectName": "factoryResetKeycard", "type": "StatusListItem", "visible": True}
|
||||
|
||||
# Wallet Settings View
|
||||
mainWindow_WalletView = {"container": statusDesktop_mainWindow, "type": "WalletView", "unnamed": 1, "visible": True}
|
||||
settings_Wallet_MainView_Networks = {"container": statusDesktop_mainWindow, "objectName": "networksItem", "type": "StatusListItem"}
|
||||
settings_Wallet_MainView_AddNewAccountButton = {"container": statusDesktop_mainWindow, "objectName": "settings_Wallet_MainView_AddNewAccountButton", "type": "StatusButton", "visible": True}
|
||||
settingsContentBaseScrollView_accountOrderItem_StatusListItem = {"container": settingsContentBase_ScrollView, "objectName": "accountOrderItem", "type": "StatusListItem", "visible": True}
|
||||
settingsContentBaseScrollView_savedAddressesItem_StatusListItem = {"container": settingsContentBase_ScrollView, "objectName": "savedAddressesItem", "type": "StatusListItem", "visible": True}
|
||||
settingsContentBaseScrollView_StatusListItem = {"container": settingsContentBase_ScrollView, "type": "StatusListItem", "unnamed": 1, "visible": True}
|
||||
settings_Wallet_NetworksView_TestNet_Toggle = {"container": statusDesktop_mainWindow, "objectName": "testnetModeSwitch", "type": "StatusSwitch"}
|
||||
settings_Wallet_NetworksView_TestNet_Toggle_Title = {"container": settingsContentBase_ScrollView, "objectName": "statusListItemSubTitle", "type": "StatusTextWithLoadingState", "visible": True}
|
||||
settings_Wallet_SavedAddresses_AddAddressButton = {"container": statusDesktop_mainWindow, "objectName": "addNewSavedAddressButton", "type": "StatusButton", "visible": True}
|
||||
settings_Wallet_SavedAddress_ItemDelegate ={"container": settingsContentBase_ScrollView, "objectName": RegularExpression("savedAddressView_Delegate*"), "type": "SavedAddressesDelegate", "visible": True}
|
||||
settingsContentBaseScrollView_Goerli_testnet_active_StatusBaseText = {"container": settingsContentBase_ScrollView, "type": "StatusBaseText", "unnamed": 1, "visible": True}
|
||||
settingsContentBaseScrollView_accountsList_StatusListView = {"container": settingsContentBase_ScrollView, "id": "accountsList", "type": "StatusListView", "unnamed": 1, "visible": True}
|
||||
settingsContentBaseScrollView_draggableDelegate_StatusDraggableListItem = {"checkable": False, "container": settingsContentBase_ScrollView, "id": "draggableDelegate", "type": "StatusDraggableListItem", "unnamed": 1, "visible": True}
|
||||
settingsContentBaseScrollView_accountOrderView_AccountOrderView = {"container": settingsContentBase_ScrollView, "id": "accountOrderView", "type": "AccountOrderView", "unnamed": 1, "visible": True}
|
||||
settingsContentBaseScrollView_StatusBaseText = {"container": settingsContentBase_ScrollView, "type": "StatusBaseText", "unnamed": 1, "visible": True}
|
||||
mainWindow_StatusToolBar = {"container": statusDesktop_mainWindow, "objectName": "statusToolBar", "type": "StatusToolBar", "visible": True}
|
||||
main_toolBar_back_button = {"container": mainWindow_StatusToolBar, "objectName": "toolBarBackButton", "type": "StatusFlatButton", "visible": True}
|
||||
settingsContentBaseScrollView_WalletNetworkDelegate_template = {"container": settingsContentBase_ScrollView, "objectName": "walletNetworkDelegate_Mainnet_1", "type": "WalletNetworkDelegate", "visible": True}
|
||||
networkSettingsNetworks_Mainnet = {"container": settingsContentBase_ScrollView, "objectName": "walletNetworkDelegate_Mainnet_1", "type": "WalletNetworkDelegate", "visible": True}
|
||||
networkSettingsNetworks_Mainnet_Goerli = {"container": settingsContentBase_ScrollView, "objectName": "walletNetworkDelegate_Mainnet_5", "type": "WalletNetworkDelegate", "visible": True}
|
||||
networkSettingsNetworks_Optimism = {"container": settingsContentBase_ScrollView, "objectName": "walletNetworkDelegate_Optimism_10", "type": "WalletNetworkDelegate", "visible": True}
|
||||
networkSettingsNetworks_Optimism_Goerli = {"container": settingsContentBase_ScrollView, "objectName": "walletNetworkDelegate_Optimism_420", "type": "WalletNetworkDelegate", "visible": True}
|
||||
networkSettingsNetworks_Arbitrum = {"container": settingsContentBase_ScrollView, "objectName": "walletNetworkDelegate_Arbitrum_42161", "type": "WalletNetworkDelegate", "visible": True}
|
||||
networkSettingsNetworks_Arbitrum_Goerli = {"container": settingsContentBase_ScrollView, "objectName": "walletNetworkDelegate_Arbitrum_421613", "type": "WalletNetworkDelegate", "visible": True}
|
||||
networkSettingsNetworks_Mainnet_Goerli_sensor = {"container": networkSettingsNetworks_Mainnet_Goerli, "objectName": "walletNetworkDelegate_Mainnet_5_sensor", "id": "sensor", "type": "MouseArea", "unnamed": 1, "visible": True}
|
||||
networkSettingsNetowrks_Mainnet_Testlabel = {"container": networkSettingsNetworks_Mainnet_Goerli_sensor, "objectName": "testnetLabel_Mainnet", "type": "StatusBaseText", "visible": True}
|
||||
settingsWalletAccountDelegate_Status_account = {"container": settingsContentBase_ScrollView, "objectName": "Status account", "type": "WalletAccountDelegate", "visible": True}
|
||||
settingsWalletAccountDelegate = {"container": settingsContentBase_ScrollView, "index": 0, "objectName": RegularExpression("*"), "type": "WalletAccountDelegate", "visible": True}
|
||||
settingsWalletKeyPairDelegate = {"container": settingsContentBase_ScrollView, "objectName": "walletKeyPairDelegate", "type": "StatusListItem", "visible": True}
|
||||
settingsWalletAccountTotalBalance = {"container": settingsContentBase_ScrollView, "objectName": "includeTotalBalanceListItem", "type": "StatusListItem", "visible": True}
|
||||
settingsWalletAccountTotalBalanceToggle = {"checkable": True, "container": settingsWalletAccountTotalBalance, "type": "StatusSwitch", "visible": True}
|
||||
settingsContentBaseScrollView_StatusFlatRoundButton = {"container": mainWindow_settingsContentBaseScrollView_StatusScrollView, "type": "StatusFlatRoundButton", "unnamed": 1, "visible": True}
|
||||
rename_keypair_StatusMenuItem = {"checkable": False, "container": statusDesktop_mainWindow_overlay, "enabled": True, "objectName": "renameKeypairMenuItem", "type": "StatusMenuItem", "visible": True}
|
||||
|
||||
# Wallet Account Details view
|
||||
walletAccountViewEditAccountButton = {"container": statusDesktop_mainWindow, "objectName": "walletAccountViewEditAccountButton", "type": "StatusButton"}
|
||||
walletAccountViewAccountName = {"container": statusDesktop_mainWindow, "objectName": "walletAccountViewAccountName", "type": "StatusBaseText"}
|
||||
walletAccountViewAccountEmoji = {"container": statusDesktop_mainWindow, "objectName": "walletAccountViewAccountImage", "type": "StatusEmoji", "visible": True}
|
||||
walletAccountViewRemoveAccountButton = {"container": statusDesktop_mainWindow, "objectName": "deleteAccountButton", "type": "StatusButton"}
|
||||
walletAccountViewDetailsLabel = {"container": settingsContentBase_ScrollView, "objectName": "AccountDetails_TextLabel", "type": "StatusBaseText"}
|
||||
walletAccountViewBalance = {"container": settingsContentBase_ScrollView, "objectName": "Balance_ListItem", "type": "WalletAccountDetailsListItem"}
|
||||
walletAccountViewAddress = {"container": settingsContentBase_ScrollView, "objectName": "Address_ListItem", "type": "WalletAccountDetailsListItem"}
|
||||
walletAccountViewKeypairItem = {"container": settingsContentBase_ScrollView, "objectName": "KeyPair_Item", "type": "WalletAccountDetailsKeypairItem"}
|
||||
walletAccountViewOrigin = {"container": settingsContentBase_ScrollView, "objectName": "Origin_ListItem", "type": "WalletAccountDetailsListItem"}
|
||||
walletAccountViewDerivationPath = {"container": settingsContentBase_ScrollView, "objectName": "DerivationPath_ListItem", "type": "WalletAccountDetailsListItem"}
|
||||
walletAccountViewStored = {"container": settingsContentBase_ScrollView, "objectName": "Stored_ListItem", "type": "WalletAccountDetailsListItem"}
|
||||
walletAccountViewPreferredNetworks = {"container": settingsContentBase_ScrollView, "objectName": "PreferredNetworks_ListItem", "type": "StatusListItem"}
|
||||
|
||||
# Wallet edit network view
|
||||
settingsContentBaseScrollView_editPreviwTabBar_StatusTabBar = {"container": statusDesktop_mainWindow, "objectName": "editPreviwTabBar", "type": "StatusTabBar"}
|
||||
editNetworkLiveButton = {"container": settingsContentBaseScrollView_editPreviwTabBar_StatusTabBar, "objectName": "editNetworkLiveButton", "type": "StatusTabButton"}
|
||||
editNetworkTestButton = {"container": settingsContentBaseScrollView_editPreviwTabBar_StatusTabBar, "objectName": "editNetworkTestButton", "type": "StatusTabButton"}
|
||||
editNetworkNameInput = {"container": statusDesktop_mainWindow, "objectName": "editNetworkNameInput", "type": "TextEdit"}
|
||||
editNetworkShortNameInput = {"container": statusDesktop_mainWindow, "objectName": "editNetworkShortNameInput", "type": "TextEdit"}
|
||||
editNetworkChainIdInput = {"container": statusDesktop_mainWindow, "objectName": "editNetworkChainIdInput", "type": "TextEdit"}
|
||||
editNetworkSymbolInput = {"container": statusDesktop_mainWindow, "objectName": "editNetworkSymbolInput", "type": "TextEdit"}
|
||||
editNetworkMainRpcInput = {"container": statusDesktop_mainWindow, "objectName": "editNetworkMainRpcInput", "type": "TextEdit", "visible": True}
|
||||
editNetworkFailoverRpcUrlInput = {"container": statusDesktop_mainWindow, "objectName": "editNetworkFailoverRpcUrlInput", "type": "TextEdit", "visible": True}
|
||||
editNetworkExplorerInput = {"container": statusDesktop_mainWindow, "objectName": "editNetworkExplorerInput", "type": "TextEdit"}
|
||||
editNetworkAknowledgmentCheckbox = {"container": statusDesktop_mainWindow, "objectName": "editNetworkAknowledgmentCheckbox", "type": "StatusCheckBox", "visible": True}
|
||||
editNetworkRevertButton = {"container": statusDesktop_mainWindow, "objectName": "editNetworkRevertButton", "type": "StatusButton"}
|
||||
editNetworkSaveButton = {"container": statusDesktop_mainWindow, "objectName": "editNetworkSaveButton", "type": "StatusButton"}
|
||||
mainRpcUrlInputObject = {"container": settingsContentBase_ScrollView, "objectName": "mainRpcInputObject", "type": "StatusInput", "visible": True}
|
||||
failoverRpcUrlInputObject = {"container": settingsContentBase_ScrollView, "objectName": "failoverRpcUrlInputObject", "type": "StatusInput", "visible": True}
|
||||
|
||||
# Profile View
|
||||
mainWindow_MyProfileView = {"container": statusDesktop_mainWindow, "type": "MyProfileView", "unnamed": 1, "visible": True}
|
||||
displayName_StatusInput = {"container": statusDesktop_mainWindow, "objectName": "displayNameInput", "type": "StatusInput", "visible": True}
|
||||
displayName_TextEdit = {"container": displayName_StatusInput, "type": "TextEdit", "unnamed": 1, "visible": True}
|
||||
change_password_button = {"container": statusDesktop_mainWindow, "type": "StatusButton", "objectName": "profileSettingsChangePasswordButton", "visible": True}
|
||||
bio_StatusInput = {"container": statusDesktop_mainWindow, "objectName": "bioInput", "type": "StatusInput", "visible": True}
|
||||
bio_TextEdit = {"container": bio_StatusInput, "type": "TextEdit", "unnamed": 1, "visible": True}
|
||||
addMoreSocialLinks = {"container": statusDesktop_mainWindow, "objectName": "addMoreSocialLinks", "type": "StatusLinkText", "visible": True}
|
||||
mainWindow_profileTabBar_StatusTabBar = {"container": statusDesktop_mainWindow, "id": "profileTabBar", "type": "StatusTabBar", "unnamed": 1, "visible": True}
|
||||
profileTabBar_Web_StatusTabButton = {"checkable": True, "container": mainWindow_profileTabBar_StatusTabBar, "objectName": "webTabButton", "type": "StatusTabButton", "visible": True}
|
||||
profileTabBar_Identity_StatusTabButton = {"checkable": True, "container": mainWindow_profileTabBar_StatusTabBar, "objectName": "identityTabButton", "type": "StatusTabButton", "visible": True}
|
||||
|
||||
# Password view
|
||||
mainWindow_PasswordView = {"container": statusDesktop_mainWindow, "type": "ChangePasswordView", "unnamed": 1, "visible": True}
|
||||
|
||||
# Syncing Settings View
|
||||
mainWindow_SyncingView = {"container": statusDesktop_mainWindow, "type": "SyncingView", "unnamed": 1, "visible": True}
|
||||
settings_Setup_Syncing_StatusButton = {"container": statusDesktop_mainWindow, "objectName": "setupSyncingStatusButton", "type": "StatusButton", "visible": True}
|
||||
settings_Backup_Data_StatusButton = {"container": settingsContentBase_ScrollView, "objectName": "setupSyncBackupDataButton", "type": "StatusButton", "visible": True}
|
||||
settings_Sync_New_Device_Header = {"container": settingsContentBase_ScrollView, "objectName": "syncNewDeviceTextLabel", "type": "StatusBaseText", "visible": True}
|
||||
settings_Sync_New_Device_SubTitle = {"container": settingsContentBase_ScrollView, "objectName": "syncNewDeviceSubTitleTextLabel", "type": "StatusBaseText", "visible": True}
|
||||
|
||||
#Sing out and quit View
|
||||
signOutConfirmationButton = {"container": statusDesktop_mainWindow_overlay, "objectName": "signOutConfirmation", "type": "StatusButton", "visible": True}
|
||||
|
||||
# ENS usernames View
|
||||
mainWindow_EnsWelcomeView = {"container": statusDesktop_mainWindow, "type": "EnsWelcomeView", "unnamed": 1, "visible": True}
|
||||
mainWindow_Start_StatusButton = {"checkable": False, "container": statusDesktop_mainWindow, "objectName": "ensStartButton", "type": "StatusButton", "visible": True}
|
||||
mainWindow_EnsSearchView = {"container": statusDesktop_mainWindow, "type": "EnsSearchView", "unnamed": 1, "visible": True}
|
||||
mainWindow_ensUsernameInput_StyledTextField = {"container": statusDesktop_mainWindow, "objectName": "ensUsernameInput", "type": "StyledTextField", "visible": True}
|
||||
mainWindow_ensNextButton_StatusRoundButton = {"container": statusDesktop_mainWindow, "objectName": "ensNextButton", "type": "StatusRoundButton", "visible": True}
|
||||
ens_StatusBaseText = {"container": mainWindow_EnsSearchView, "type": "StatusBaseText", "unnamed": 1, "visible": True}
|
||||
mainWindow_EnsTermsAndConditionsView = {"container": statusDesktop_mainWindow, "type": "EnsTermsAndConditionsView", "unnamed": 1, "visible": True}
|
||||
mainWindow_sview_StatusScrollView = {"container": statusDesktop_mainWindow, "id": "sview", "type": "StatusScrollView", "unnamed": 1, "visible": True}
|
||||
sview_walletAddressLbl_StatusDescriptionListItem = {"container": mainWindow_sview_StatusScrollView, "id": "walletAddressLbl", "type": "StatusDescriptionListItem", "unnamed": 1, "visible": True}
|
||||
sview_keyLbl_StatusDescriptionListItem = {"container": mainWindow_sview_StatusScrollView, "id": "keyLbl", "type": "StatusDescriptionListItem", "unnamed": 1, "visible": True}
|
||||
sview_ensAgreeTerms_StatusCheckBox = {"checkable": True, "container": mainWindow_sview_StatusScrollView, "objectName": "ensAgreeTerms", "type": "StatusCheckBox", "visible": True}
|
||||
mainWindow_Register_StatusButton = {"checkable": False, "container": statusDesktop_mainWindow, "objectName": "ensStartTransaction", "text": "Register", "type": "StatusButton", "visible": True}
|
||||
mainWindow_EnsRegisteredView = {"container": statusDesktop_mainWindow, "type": "EnsRegisteredView", "unnamed": 1, "visible": True}
|
||||
|
||||
# Advanced view
|
||||
mainWindow_AdvancedView = {"container": statusDesktop_mainWindow, "type": "AdvancedView", "unnamed": 1, "visible": True}
|
||||
mainWindow_settingsContentBaseScrollView_StatusScrollView = {"container": statusDesktop_mainWindow, "objectName": "settingsContentBaseScrollView", "type": "StatusScrollView", "visible": True}
|
||||
manageCommunitiesOnTestnetButton_StatusSettingsLineButton = {"container": mainWindow_settingsContentBaseScrollView_StatusScrollView, "objectName": "manageCommunitiesOnTestnetButton", "type": "StatusSettingsLineButton", "visible": True}
|
||||
enableCreateCommunityButton_StatusSettingsLineButton = {"container": settingsContentBase_ScrollView, "objectName": "enableCreateCommunityButton", "type": "StatusSettingsLineButton", "visible": True}
|
||||
settingsContentBaseScrollViewLightWakuModeBloomSelectorButton = {"container": mainWindow_settingsContentBaseScrollView_StatusScrollView, "objectName": "lightWakuModeButton", "type": "BloomSelectorButton", "visible": True}
|
||||
settingsContentBaseScrollViewRelayWakuModeBloomSelectorButton = {"container": mainWindow_settingsContentBaseScrollView_StatusScrollView, "objectName": "relayWakuModeButton", "type": "BloomSelectorButton", "visible": True}
|
|
@ -0,0 +1,48 @@
|
|||
from objectmaphelper import *
|
||||
from gui.objects_map.names import statusDesktop_mainWindow, mainWindow_RighPanel, statusDesktop_mainWindow_overlay
|
||||
|
||||
mainWindow_WalletLayout = {"container": statusDesktop_mainWindow, "type": "WalletLayout", "unnamed": 1, "visible": True}
|
||||
|
||||
# Left Wallet Panel
|
||||
mainWallet_LeftTab = {"container": statusDesktop_mainWindow, "objectName": "walletLeftTab", "type": "LeftTabView", "visible": True}
|
||||
mainWallet_Saved_Addresses_Button = {"container": mainWindow_RighPanel, "objectName": "savedAddressesBtn", "type": "StatusFlatButton"}
|
||||
walletAccounts_StatusListView = {"container": statusDesktop_mainWindow, "objectName": "walletAccountsListView", "type": "StatusListView", "visible": True}
|
||||
mainWallet_All_Accounts_Button = {"container": walletAccounts_StatusListView, "objectName": "allAccountsBtn", "type": "Button", "visible": True}
|
||||
mainWallet_Add_Account_Button = {"container": statusDesktop_mainWindow, "objectName": "addAccountButton", "type": "StatusRoundButton", "visible": True}
|
||||
walletAccount_StatusListItem = {"container": walletAccounts_StatusListView, "objectName": RegularExpression("walletAccount*"), "type": "StatusListItem", "visible": True}
|
||||
mainWallet_All_Accounts_Balance = {"container": mainWallet_All_Accounts_Button, "objectName": "walletLeftListAmountValue", "type": "StatusTextWithLoadingState", "visible": True}
|
||||
|
||||
# Saved Address View
|
||||
mainWindow_SavedAddressesView = {"container": statusDesktop_mainWindow, "type": "SavedAddressesView", "unnamed": 1, "visible": True}
|
||||
mainWindow_SavedAddressesView_2 = {"container": mainWindow_WalletLayout, "type": "SavedAddressesView", "unnamed": 1, "visible": True}
|
||||
mainWallet_Saved_Addresses_Add_Buttton = {"container": mainWindow_SavedAddressesView, "objectName": "walletHeaderButton", "type": "StatusButton"}
|
||||
mainWallet_Saved_Addresses_List = {"container": mainWindow_SavedAddressesView, "objectName": "SavedAddressesView_savedAddresses", "type": "StatusListView"}
|
||||
savedAddressView_Delegate = {"container": mainWallet_Saved_Addresses_List, "objectName": RegularExpression("savedAddressView_Delegate*"), "type": "SavedAddressesDelegate", "visible": True}
|
||||
send_StatusRoundButton = {"container": "", "type": "StatusRoundButton", "unnamed": 1, "visible": True}
|
||||
savedAddressView_Delegate_menuButton = {"container": mainWindow_SavedAddressesView, "objectName": RegularExpression("savedAddressView_Delegate_menuButton*"), "type": "StatusRoundButton", "visible": True}
|
||||
savedAddressesArea_SavedAddresses = {"container": mainWindow_SavedAddressesView, "objectName": "savedAddressesArea", "type": "SavedAddresses", "visible": True}
|
||||
savedAddresses_area = {"container": mainWindow_SavedAddressesView_2, "objectName": "savedAddressesArea", "type": "SavedAddresses", "visible": True}
|
||||
|
||||
# Wallet Account View
|
||||
mainWindow_RightTabView = {"container": statusDesktop_mainWindow, "type": "RightTabView", "unnamed": 1, "visible": True}
|
||||
mainWallet_Account_Name = {"container": mainWindow_RightTabView, "objectName": "walletHeaderTitle", "type": "StatusBaseText", "visible": True}
|
||||
mainWindow_Send_Button = {"container": statusDesktop_mainWindow, "objectName": "walletFooterSendButton", "type": "StatusFlatButton", "visible": True}
|
||||
mainWindow_RightTabView = {"container": statusDesktop_mainWindow, "type": "RightTabView", "unnamed": 1, "visible": True}
|
||||
filterButton_StatusFlatButton = {"checkable": True, "container": mainWindow_RightTabView, "objectName": "filterButton", "type": "StatusFlatButton", "visible": True}
|
||||
cmbTokenOrder_SortOrderComboBox = {"container": mainWindow_RightTabView, "objectName": "cmbTokenOrder", "type": "SortOrderComboBox", "visible": True}
|
||||
collectibles_cmbTokenOrder_SortOrderComboBox = {"container": mainWindow_RightTabView, "id": "cmbTokenOrder", "type": "SortOrderComboBox", "unnamed": 1, "visible": True}
|
||||
rightSideWalletTabBar_StatusTabBar = {"container": mainWindow_RightTabView, "objectName": "rightSideWalletTabBar", "type": "StatusTabBar", "visible": True}
|
||||
rightSideWalletTabBar_Assets_StatusTabButton = {"checkable": True, "container": rightSideWalletTabBar_StatusTabBar, "objectName": "assetsTabButton", "text": "Assets", "type": "StatusTabButton", "visible": True}
|
||||
rightSideWalletTabBar_Collectibles_StatusTabButton = {"checkable": True, "container": rightSideWalletTabBar_StatusTabBar, "objectName": "collectiblesTabButton", "text": "Collectibles", "type": "StatusTabButton", "visible": True}
|
||||
rightSideWalletTabBar_Activity_StatusTabButton = {"checkable": True, "container": rightSideWalletTabBar_StatusTabBar, "objectName": "activityTabButton", "text": "Activity", "type": "StatusTabButton", "visible": True}
|
||||
o_AssetsView = {"container": mainWindow_RightTabView, "type": "AssetsView", "unnamed": 1, "visible": True}
|
||||
itemDelegate = {"checkable": False, "container": statusDesktop_mainWindow_overlay, "id": "menuDelegate", "type": "ItemDelegate", "unnamed": 1, "visible": True}
|
||||
assetView_TokenListItem_TokenDelegate = {"container": mainWindow_RightTabView, "objectName": RegularExpression("AssetView_TokenListItem_*"), "type": "TokenDelegate", "visible": True}
|
||||
arrow_icon_StatusIcon = {"container": statusDesktop_mainWindow_overlay, "objectName": "arrow-up-icon", "type": "StatusIcon", "visible": True}
|
||||
collectible_item = {"container": mainWindow_RightTabView, "type": "CollectibleView", "unnamed": 1, "visible": True}
|
||||
mainWindow_settingsContentBaseScrollView_StatusScrollView_general = {"container": statusDesktop_mainWindow, "objectName": "settingsContentBaseScrollView", "type": "StatusScrollView", "visible": True}
|
||||
settingsContentBaseScrollView_manageTokensDelegate_ManageTokensDelegate = {"container": mainWindow_settingsContentBaseScrollView_StatusScrollView_general, "objectName": RegularExpression("manageTokensDelegate-*"), "type": "ManageTokensDelegate", "visible": True}
|
||||
settingsContentBaseScrollView_manageTokensView_ManageTokensView = {"container": mainWindow_settingsContentBaseScrollView_StatusScrollView_general, "id": "manageTokensView", "type": "ManageTokensView", "unnamed": 1, "visible": True}
|
||||
|
||||
mainWindow_Save_and_apply_StatusButton = {"checkable": False, "container": statusDesktop_mainWindow, "objectName": "settingsDirtyToastMessageSaveButton", "text": "Save and apply", "type": "StatusButton", "visible": True}
|
||||
mainWindow_Save_StatusFlatButton = {"checkable": False, "container": statusDesktop_mainWindow, "id": "saveForLaterButton", "text": "Save", "type": "StatusFlatButton", "unnamed": 1, "visible": True}
|
|
@ -12,7 +12,6 @@ from constants.onboarding import OnboardingScreensHeaders
|
|||
import driver
|
||||
from constants import ColorCodes
|
||||
from driver.objects_access import walk_children
|
||||
from gui.components.onboarding.beta_consent_popup import BetaConsentPopup
|
||||
from gui.components.onboarding.keys_already_exist_popup import KeysAlreadyExistPopup
|
||||
from gui.components.os.open_file_dialogs import OpenFileDialog
|
||||
from gui.components.picture_edit_popup import PictureEditPopup
|
||||
|
@ -21,7 +20,7 @@ from gui.elements.button import Button
|
|||
from gui.elements.object import QObject
|
||||
from gui.elements.text_edit import TextEdit
|
||||
from gui.elements.text_label import TextLabel
|
||||
from gui.objects_map import names
|
||||
from gui.objects_map import onboarding_names
|
||||
from scripts.tools.image import Image
|
||||
from scripts.utils.system_path import SystemPath
|
||||
|
||||
|
@ -31,8 +30,8 @@ LOG = logging.getLogger(__name__)
|
|||
class AllowNotificationsView(QObject):
|
||||
|
||||
def __init__(self):
|
||||
super(AllowNotificationsView, self).__init__(names.mainWindow_AllowNotificationsView)
|
||||
self._start_using_status_button = Button(names.mainWindow_Start_using_Status_StatusButton)
|
||||
super(AllowNotificationsView, self).__init__(onboarding_names.mainWindow_AllowNotificationsView)
|
||||
self._start_using_status_button = Button(onboarding_names.mainWindow_Start_using_Status_StatusButton)
|
||||
|
||||
@allure.step("Start using Status")
|
||||
def start_using_status(self):
|
||||
|
@ -44,9 +43,9 @@ class AllowNotificationsView(QObject):
|
|||
class WelcomeToStatusView(QObject):
|
||||
|
||||
def __init__(self):
|
||||
super(WelcomeToStatusView, self).__init__(names.mainWindow_WelcomeView)
|
||||
self._i_am_new_to_status_button = Button(names.mainWindow_I_am_new_to_Status_StatusBaseText)
|
||||
self._i_already_use_status_button = Button(names.mainWindow_I_already_use_Status_StatusFlatButton)
|
||||
super(WelcomeToStatusView, self).__init__(onboarding_names.mainWindow_WelcomeView)
|
||||
self._i_am_new_to_status_button = Button(onboarding_names.mainWindow_I_am_new_to_Status_StatusBaseText)
|
||||
self._i_already_use_status_button = Button(onboarding_names.mainWindow_I_already_use_Status_StatusFlatButton)
|
||||
|
||||
@allure.step('Open Keys view')
|
||||
def get_keys(self) -> 'KeysView':
|
||||
|
@ -65,7 +64,7 @@ class OnboardingView(QObject):
|
|||
|
||||
def __init__(self, object_name):
|
||||
super(OnboardingView, self).__init__(object_name)
|
||||
self._back_button = Button(names.mainWindow_onboardingBackButton_StatusRoundButton)
|
||||
self._back_button = Button(onboarding_names.mainWindow_onboardingBackButton_StatusRoundButton)
|
||||
|
||||
@abstractmethod
|
||||
def back(self):
|
||||
|
@ -75,10 +74,11 @@ class OnboardingView(QObject):
|
|||
class KeysView(OnboardingView):
|
||||
|
||||
def __init__(self):
|
||||
super(KeysView, self).__init__(names.mainWindow_KeysMainView)
|
||||
self._generate_key_button = Button(names.mainWindow_Generate_new_keys_StatusButton)
|
||||
self._generate_key_for_new_keycard_button = Button(names.mainWindow_Generate_keys_for_new_Keycard_StatusBaseText)
|
||||
self._import_seed_phrase_button = Button(names.mainWindow_Import_seed_phrase)
|
||||
super(KeysView, self).__init__(onboarding_names.mainWindow_KeysMainView)
|
||||
self._generate_key_button = Button(onboarding_names.mainWindow_Generate_new_keys_StatusButton)
|
||||
self._generate_key_for_new_keycard_button = Button(
|
||||
onboarding_names.mainWindow_Generate_keys_for_new_Keycard_StatusBaseText)
|
||||
self._import_seed_phrase_button = Button(onboarding_names.mainWindow_Import_seed_phrase)
|
||||
|
||||
@allure.step('Open Profile view')
|
||||
def generate_new_keys(self) -> 'YourProfileView':
|
||||
|
@ -109,8 +109,8 @@ class KeysView(OnboardingView):
|
|||
class ImportSeedPhraseView(OnboardingView):
|
||||
|
||||
def __init__(self):
|
||||
super(ImportSeedPhraseView, self).__init__(names.mainWindow_KeysMainView)
|
||||
self._import_seed_phrase_button = Button(names.keysMainView_PrimaryAction_Button)
|
||||
super(ImportSeedPhraseView, self).__init__(onboarding_names.mainWindow_KeysMainView)
|
||||
self._import_seed_phrase_button = Button(onboarding_names.keysMainView_PrimaryAction_Button)
|
||||
|
||||
@allure.step('Open seed phrase input view')
|
||||
def open_seed_phrase_input_view(self):
|
||||
|
@ -126,9 +126,10 @@ class ImportSeedPhraseView(OnboardingView):
|
|||
class SignBySyncingView(OnboardingView):
|
||||
|
||||
def __init__(self):
|
||||
super(SignBySyncingView, self).__init__(names.mainWindow_KeysMainView)
|
||||
self._scan_or_enter_sync_code_button = Button(names.keysMainView_PrimaryAction_Button)
|
||||
self._i_dont_have_other_device_button = Button(names.mainWindow_iDontHaveOtherDeviceButton_StatusBaseText)
|
||||
super(SignBySyncingView, self).__init__(onboarding_names.mainWindow_KeysMainView)
|
||||
self._scan_or_enter_sync_code_button = Button(onboarding_names.keysMainView_PrimaryAction_Button)
|
||||
self._i_dont_have_other_device_button = Button(
|
||||
onboarding_names.mainWindow_iDontHaveOtherDeviceButton_StatusBaseText)
|
||||
|
||||
@allure.step('Open sync code view')
|
||||
def open_sync_code_view(self):
|
||||
|
@ -144,10 +145,10 @@ class SignBySyncingView(OnboardingView):
|
|||
class SyncCodeView(OnboardingView):
|
||||
|
||||
def __init__(self):
|
||||
super(SyncCodeView, self).__init__(names.mainWindow_SyncCodeView)
|
||||
self._enter_sync_code_button = Button(names.switchTabBar_Enter_sync_code_StatusSwitchTabButton)
|
||||
self._paste_sync_code_button = Button(names.mainWindow_Paste_StatusButton)
|
||||
self._syncing_enter_code_item = QObject(names.mainWindow_syncingEnterCode_SyncingEnterCode)
|
||||
super(SyncCodeView, self).__init__(onboarding_names.mainWindow_SyncCodeView)
|
||||
self._enter_sync_code_button = Button(onboarding_names.switchTabBar_Enter_sync_code_StatusSwitchTabButton)
|
||||
self._paste_sync_code_button = Button(onboarding_names.mainWindow_Paste_StatusButton)
|
||||
self._syncing_enter_code_item = QObject(onboarding_names.mainWindow_syncingEnterCode_SyncingEnterCode)
|
||||
|
||||
@allure.step('Open enter sync code form')
|
||||
def open_enter_sync_code_form(self):
|
||||
|
@ -167,8 +168,8 @@ class SyncCodeView(OnboardingView):
|
|||
class SyncDeviceFoundView(OnboardingView):
|
||||
|
||||
def __init__(self):
|
||||
super(SyncDeviceFoundView, self).__init__(names.mainWindow_SyncingDeviceView_found)
|
||||
self._sync_text_item = QObject(names.sync_text_item)
|
||||
super(SyncDeviceFoundView, self).__init__(onboarding_names.mainWindow_SyncingDeviceView_found)
|
||||
self._sync_text_item = QObject(onboarding_names.sync_text_item)
|
||||
|
||||
@property
|
||||
@allure.step('Get device_found_notifications')
|
||||
|
@ -182,10 +183,10 @@ class SyncDeviceFoundView(OnboardingView):
|
|||
class SyncResultView(OnboardingView):
|
||||
|
||||
def __init__(self):
|
||||
super(SyncResultView, self).__init__(names.mainWindow_SyncDeviceResult)
|
||||
self._sync_result = QObject(names.mainWindow_SyncDeviceResult)
|
||||
self._sign_in_button = Button(names.mainWindow_Sign_in_StatusButton)
|
||||
self._synced_text_item = QObject(names.synced_StatusBaseText)
|
||||
super(SyncResultView, self).__init__(onboarding_names.mainWindow_SyncDeviceResult)
|
||||
self._sync_result = QObject(onboarding_names.mainWindow_SyncDeviceResult)
|
||||
self._sign_in_button = Button(onboarding_names.mainWindow_Sign_in_StatusButton)
|
||||
self._synced_text_item = QObject(onboarding_names.synced_StatusBaseText)
|
||||
|
||||
@property
|
||||
@allure.step('Get device synced notifications')
|
||||
|
@ -213,12 +214,12 @@ class SyncResultView(OnboardingView):
|
|||
class SeedPhraseInputView(OnboardingView):
|
||||
|
||||
def __init__(self):
|
||||
super(SeedPhraseInputView, self).__init__(names.mainWindow_SeedPhraseInputView)
|
||||
self._12_words_tab_button = Button(names.switchTabBar_12_words_Button)
|
||||
self._18_words_tab_button = Button(names.switchTabBar_18_words_Button)
|
||||
self._24_words_tab_button = Button(names.switchTabBar_24_words_Button)
|
||||
self._seed_phrase_input_text_edit = TextEdit(names.mainWindow_statusSeedPhraseInputField_TextEdit)
|
||||
self._import_button = Button(names.mainWindow_Import_StatusButton)
|
||||
super(SeedPhraseInputView, self).__init__(onboarding_names.mainWindow_SeedPhraseInputView)
|
||||
self._12_words_tab_button = Button(onboarding_names.switchTabBar_12_words_Button)
|
||||
self._18_words_tab_button = Button(onboarding_names.switchTabBar_18_words_Button)
|
||||
self._24_words_tab_button = Button(onboarding_names.switchTabBar_24_words_Button)
|
||||
self._seed_phrase_input_text_edit = TextEdit(onboarding_names.mainWindow_statusSeedPhraseInputField_TextEdit)
|
||||
self._import_button = Button(onboarding_names.mainWindow_Import_StatusButton)
|
||||
|
||||
@property
|
||||
@allure.step('Get import button enabled state')
|
||||
|
@ -263,8 +264,8 @@ class SeedPhraseInputView(OnboardingView):
|
|||
class KeycardInitView(OnboardingView):
|
||||
|
||||
def __init__(self):
|
||||
super(KeycardInitView, self).__init__(names.mainWindow_KeycardInitView)
|
||||
self._message = TextLabel(names.mainWindow_Plug_in_Keycard_reader_StatusBaseText)
|
||||
super(KeycardInitView, self).__init__(onboarding_names.mainWindow_KeycardInitView)
|
||||
self._message = TextLabel(onboarding_names.mainWindow_Plug_in_Keycard_reader_StatusBaseText)
|
||||
|
||||
@property
|
||||
def message(self) -> str:
|
||||
|
@ -278,17 +279,17 @@ class KeycardInitView(OnboardingView):
|
|||
class YourProfileView(OnboardingView):
|
||||
|
||||
def __init__(self):
|
||||
super(YourProfileView, self).__init__(names.mainWindow_InsertDetailsView)
|
||||
self._upload_picture_button = Button(names.updatePicButton_StatusRoundButton)
|
||||
self._profile_image = QObject(names.mainWindow_statusRoundImage_StatusRoundedImage)
|
||||
self._display_name_text_field = TextEdit(names.mainWindow_statusBaseInput_StatusBaseInput)
|
||||
self._erros_text_label = TextLabel(names.mainWindow_errorMessage_StatusBaseText)
|
||||
self._next_button = Button(names.mainWindow_Next_StatusButton)
|
||||
self._login_input_object = QObject(names.mainWindow_nameInput_StatusInput)
|
||||
self._clear_icon = QObject(names.mainWindow_clear_icon_StatusIcon)
|
||||
self._identicon_ring = QObject(names.mainWindow_IdenticonRing)
|
||||
self._view_header_title = TextLabel(names.mainWindow_Header_Title)
|
||||
self._image_crop_workflow = QObject(names.profileImageCropper)
|
||||
super(YourProfileView, self).__init__(onboarding_names.mainWindow_InsertDetailsView)
|
||||
self._upload_picture_button = Button(onboarding_names.updatePicButton_StatusRoundButton)
|
||||
self._profile_image = QObject(onboarding_names.mainWindow_statusRoundImage_StatusRoundedImage)
|
||||
self._display_name_text_field = TextEdit(onboarding_names.mainWindow_statusBaseInput_StatusBaseInput)
|
||||
self._erros_text_label = TextLabel(onboarding_names.mainWindow_errorMessage_StatusBaseText)
|
||||
self._next_button = Button(onboarding_names.mainWindow_Next_StatusButton)
|
||||
self._login_input_object = QObject(onboarding_names.mainWindow_nameInput_StatusInput)
|
||||
self._clear_icon = QObject(onboarding_names.mainWindow_clear_icon_StatusIcon)
|
||||
self._identicon_ring = QObject(onboarding_names.mainWindow_IdenticonRing)
|
||||
self._view_header_title = TextLabel(onboarding_names.mainWindow_Header_Title)
|
||||
self._image_crop_workflow = QObject(onboarding_names.profileImageCropper)
|
||||
|
||||
def verify_profile_view_present(self, timeout_msec: int = configs.timeouts.UI_LOAD_TIMEOUT_MSEC):
|
||||
driver.waitFor(lambda: self._view_header_title.exists, timeout_msec)
|
||||
|
@ -368,13 +369,13 @@ class YourProfileView(OnboardingView):
|
|||
class YourEmojihashAndIdenticonRingView(OnboardingView):
|
||||
|
||||
def __init__(self):
|
||||
super(YourEmojihashAndIdenticonRingView, self).__init__(names.mainWindow_InsertDetailsView)
|
||||
self._profile_image = QObject(names.mainWindow_welcomeScreenUserProfileImage_StatusSmartIdenticon)
|
||||
self._chat_key_text_label = TextLabel(names.mainWindow_insertDetailsViewChatKeyTxt_StyledText)
|
||||
self._next_button = Button(names.mainWindow_Next_StatusButton)
|
||||
self._emoji_hash = QObject(names.mainWindow_EmojiHash)
|
||||
self._identicon_ring = QObject(names.mainWindow_userImageCopy_StatusSmartIdenticon)
|
||||
self._view_header_title = TextLabel(names.mainWindow_Header_Title)
|
||||
super(YourEmojihashAndIdenticonRingView, self).__init__(onboarding_names.mainWindow_InsertDetailsView)
|
||||
self._profile_image = QObject(onboarding_names.mainWindow_welcomeScreenUserProfileImage_StatusSmartIdenticon)
|
||||
self._chat_key_text_label = TextLabel(onboarding_names.mainWindow_insertDetailsViewChatKeyTxt_StyledText)
|
||||
self._next_button = Button(onboarding_names.mainWindow_Next_StatusButton)
|
||||
self._emoji_hash = QObject(onboarding_names.mainWindow_EmojiHash)
|
||||
self._identicon_ring = QObject(onboarding_names.mainWindow_userImageCopy_StatusSmartIdenticon)
|
||||
self._view_header_title = TextLabel(onboarding_names.mainWindow_Header_Title)
|
||||
|
||||
def verify_emojihash_view_present(self, timeout_msec: int = configs.timeouts.UI_LOAD_TIMEOUT_MSEC):
|
||||
driver.waitFor(lambda: self._view_header_title.exists, timeout_msec)
|
||||
|
@ -449,15 +450,16 @@ class YourEmojihashAndIdenticonRingView(OnboardingView):
|
|||
class CreatePasswordView(OnboardingView):
|
||||
|
||||
def __init__(self):
|
||||
super(CreatePasswordView, self).__init__(names.mainWindow_CreatePasswordView)
|
||||
self._new_password_text_field = TextEdit(names.mainWindow_passwordViewNewPassword)
|
||||
self._confirm_password_text_field = TextEdit(names.mainWindow_passwordViewNewPasswordConfirm)
|
||||
self._create_button = Button(names.mainWindow_Create_password_StatusButton)
|
||||
self._password_view_object = QObject(names.mainWindow_view_PasswordView)
|
||||
self._strength_indicator = QObject(names.mainWindow_strengthInditactor_StatusPasswordStrengthIndicator)
|
||||
self._indicator_panel_object = QObject(names.mainWindow_RowLayout)
|
||||
self._show_icon = QObject(names.mainWindow_show_icon_StatusIcon)
|
||||
self._hide_icon = QObject(names.mainWindow_hide_icon_StatusIcon)
|
||||
super(CreatePasswordView, self).__init__(onboarding_names.mainWindow_CreatePasswordView)
|
||||
self._new_password_text_field = TextEdit(onboarding_names.mainWindow_passwordViewNewPassword)
|
||||
self._confirm_password_text_field = TextEdit(onboarding_names.mainWindow_passwordViewNewPasswordConfirm)
|
||||
self._create_button = Button(onboarding_names.mainWindow_Create_password_StatusButton)
|
||||
self._password_view_object = QObject(onboarding_names.mainWindow_view_PasswordView)
|
||||
self._strength_indicator = QObject(
|
||||
onboarding_names.mainWindow_strengthInditactor_StatusPasswordStrengthIndicator)
|
||||
self._indicator_panel_object = QObject(onboarding_names.mainWindow_RowLayout)
|
||||
self._show_icon = QObject(onboarding_names.mainWindow_show_icon_StatusIcon)
|
||||
self._hide_icon = QObject(onboarding_names.mainWindow_hide_icon_StatusIcon)
|
||||
|
||||
@allure.step('Get password content from first field')
|
||||
def get_password_from_first_field(self) -> str:
|
||||
|
@ -543,10 +545,11 @@ class CreatePasswordView(OnboardingView):
|
|||
class ConfirmPasswordView(OnboardingView):
|
||||
|
||||
def __init__(self):
|
||||
super(ConfirmPasswordView, self).__init__(names.mainWindow_ConfirmPasswordView)
|
||||
self._confirm_password_text_field = TextEdit(names.mainWindow_confirmAgainPasswordInput)
|
||||
self._confirm_button = Button(names.mainWindow_Finalise_Status_Password_Creation_StatusButton)
|
||||
self._confirmation_password_view_object = QObject(names.mainWindow_passwordView_PasswordConfirmationView)
|
||||
super(ConfirmPasswordView, self).__init__(onboarding_names.mainWindow_ConfirmPasswordView)
|
||||
self._confirm_password_text_field = TextEdit(onboarding_names.mainWindow_confirmAgainPasswordInput)
|
||||
self._confirm_button = Button(onboarding_names.mainWindow_Finalise_Status_Password_Creation_StatusButton)
|
||||
self._confirmation_password_view_object = QObject(
|
||||
onboarding_names.mainWindow_passwordView_PasswordConfirmationView)
|
||||
|
||||
@property
|
||||
@allure.step('Get finalise password creation button enabled state')
|
||||
|
@ -587,9 +590,9 @@ class ConfirmPasswordView(OnboardingView):
|
|||
class BiometricsView(OnboardingView):
|
||||
|
||||
def __init__(self):
|
||||
super(BiometricsView, self).__init__(names.mainWindow_TouchIDAuthView)
|
||||
self._yes_use_touch_id_button = Button(names.mainWindow_touchIdYesUseTouchIDButton)
|
||||
self._prefer_password_button = Button(names.mainWindow_touchIdIPreferToUseMyPasswordText)
|
||||
super(BiometricsView, self).__init__(onboarding_names.mainWindow_TouchIDAuthView)
|
||||
self._yes_use_touch_id_button = Button(onboarding_names.mainWindow_touchIdYesUseTouchIDButton)
|
||||
self._prefer_password_button = Button(onboarding_names.mainWindow_touchIdIPreferToUseMyPasswordText)
|
||||
|
||||
@allure.step('Select prefer password')
|
||||
def prefer_password(self):
|
||||
|
@ -604,16 +607,16 @@ class BiometricsView(OnboardingView):
|
|||
class LoginView(QObject):
|
||||
|
||||
def __init__(self):
|
||||
super(LoginView, self).__init__(names.mainWindow_LoginView)
|
||||
self._password_text_edit = TextEdit(names.loginView_passwordInput)
|
||||
self._arrow_right_button = Button(names.loginView_submitBtn)
|
||||
self._current_user_name_label = TextLabel(names.loginView_currentUserNameLabel)
|
||||
self._change_account_button = Button(names.loginView_changeAccountBtn)
|
||||
self._accounts_combobox = QObject(names.accountsView_accountListPanel)
|
||||
self._password_object = QObject(names.mainWindow_txtPassword_Input)
|
||||
self._add_new_user_item = QObject(names.loginView_addNewUserItem_AccountMenuItemPanel)
|
||||
self._add_existing_user_item = QObject(names.o_AccountMenuItemPanel)
|
||||
self._use_password_instead = QObject(names.mainWindowUsePasswordInsteadStatusBaseText)
|
||||
super(LoginView, self).__init__(onboarding_names.mainWindow_LoginView)
|
||||
self._password_text_edit = TextEdit(onboarding_names.loginView_passwordInput)
|
||||
self._arrow_right_button = Button(onboarding_names.loginView_submitBtn)
|
||||
self._current_user_name_label = TextLabel(onboarding_names.loginView_currentUserNameLabel)
|
||||
self._change_account_button = Button(onboarding_names.loginView_changeAccountBtn)
|
||||
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._use_password_instead = QObject(onboarding_names.mainWindowUsePasswordInsteadStatusBaseText)
|
||||
|
||||
@property
|
||||
@allure.step('Get login error message')
|
||||
|
@ -641,13 +644,13 @@ class LoginView(QObject):
|
|||
|
||||
@allure.step('Select user')
|
||||
def select_user_name(self, user_name, timeout_msec: int = configs.timeouts.UI_LOAD_TIMEOUT_MSEC):
|
||||
names = set()
|
||||
onboarding_names = set()
|
||||
|
||||
def _select_user() -> bool:
|
||||
for index in range(self._accounts_combobox.object.count):
|
||||
name_object = self._accounts_combobox.object.itemAt(index)
|
||||
name_label = str(name_object.label)
|
||||
names.add(name_label)
|
||||
onboarding_names.add(name_label)
|
||||
if name_label == user_name:
|
||||
try:
|
||||
driver.mouseClick(name_object)
|
||||
|
@ -656,4 +659,5 @@ class LoginView(QObject):
|
|||
return True
|
||||
return False
|
||||
|
||||
assert driver.waitFor(lambda: _select_user(), timeout_msec), f'User name: "{user_name}" not found in {names}'
|
||||
assert driver.waitFor(lambda: _select_user(),
|
||||
timeout_msec), f'User name: "{user_name}" not found in {onboarding_names}'
|
||||
|
|
|
@ -5,7 +5,7 @@ import allure
|
|||
from gui.components.back_up_your_seed_phrase_popup import BackUpYourSeedPhrasePopUp
|
||||
from gui.elements.object import QObject
|
||||
from gui.elements.scroll import Scroll
|
||||
from gui.objects_map import names
|
||||
from gui.objects_map import settings_names
|
||||
from gui.screens.settings_advanced import AdvancedSettingsView
|
||||
from gui.screens.settings_communities import CommunitiesSettingsView
|
||||
from gui.screens.settings_ens_usernames import ENSSettingsView
|
||||
|
@ -21,11 +21,11 @@ from gui.components.settings.sign_out_popup import SignOutPopup
|
|||
class LeftPanel(QObject):
|
||||
|
||||
def __init__(self):
|
||||
super().__init__(names.mainWindow_LeftTabView)
|
||||
self._settings_section_template = QObject(names.scrollView_MenuItem_StatusNavigationListItem)
|
||||
self._scroll = Scroll(names.scrollView_Flickable)
|
||||
self._settings_section_back_up_seed_option = QObject(names.settingsBackUpSeedPhraseOption)
|
||||
self._settings_section_wallet_option = QObject(names.settingsWalletOption)
|
||||
super().__init__(settings_names.mainWindow_LeftTabView)
|
||||
self._settings_section_template = QObject(settings_names.scrollView_MenuItem_StatusNavigationListItem)
|
||||
self._scroll = Scroll(settings_names.scrollView_Flickable)
|
||||
self._settings_section_back_up_seed_option = QObject(settings_names.settingsBackUpSeedPhraseOption)
|
||||
self._settings_section_wallet_option = QObject(settings_names.settingsWalletOption)
|
||||
|
||||
def _open_settings(self, object_name: str):
|
||||
self._settings_section_template.real_name['objectName'] = object_name
|
||||
|
@ -111,5 +111,5 @@ class LeftPanel(QObject):
|
|||
class SettingsScreen(QObject):
|
||||
|
||||
def __init__(self):
|
||||
super().__init__(names.mainWindow_ProfileLayout)
|
||||
super().__init__(settings_names.mainWindow_ProfileLayout)
|
||||
self.left_panel = LeftPanel()
|
||||
|
|
|
@ -4,19 +4,19 @@ from gui.components.settings.confirm_switch_waku_mode_popup import SwitchWakuMod
|
|||
from gui.elements.button import Button
|
||||
from gui.elements.object import QObject
|
||||
from gui.elements.scroll import Scroll
|
||||
from gui.objects_map import names
|
||||
from gui.objects_map import settings_names
|
||||
|
||||
|
||||
class AdvancedSettingsView(QObject):
|
||||
|
||||
def __init__(self):
|
||||
super().__init__(names.mainWindow_AdvancedView)
|
||||
self._scroll = Scroll(names.settingsContentBaseScrollView_Flickable)
|
||||
super().__init__(settings_names.mainWindow_AdvancedView)
|
||||
self._scroll = Scroll(settings_names.settingsContentBaseScrollView_Flickable)
|
||||
self._manage_community_on_testnet_button = Button(
|
||||
names.manageCommunitiesOnTestnetButton_StatusSettingsLineButton)
|
||||
self._enable_creation_community_button = Button(names.enableCreateCommunityButton_StatusSettingsLineButton)
|
||||
self._light_mode_button = Button(names.settingsContentBaseScrollViewLightWakuModeBloomSelectorButton)
|
||||
self._relay_mode_button = Button(names.settingsContentBaseScrollViewRelayWakuModeBloomSelectorButton)
|
||||
settings_names.manageCommunitiesOnTestnetButton_StatusSettingsLineButton)
|
||||
self._enable_creation_community_button = Button(settings_names.enableCreateCommunityButton_StatusSettingsLineButton)
|
||||
self._light_mode_button = Button(settings_names.settingsContentBaseScrollViewLightWakuModeBloomSelectorButton)
|
||||
self._relay_mode_button = Button(settings_names.settingsContentBaseScrollViewRelayWakuModeBloomSelectorButton)
|
||||
|
||||
@allure.step('Switch manage community on testnet option')
|
||||
def switch_manage_on_community(self):
|
||||
|
|
|
@ -11,7 +11,7 @@ from driver import objects_access
|
|||
from gui.elements.button import Button
|
||||
from gui.elements.object import QObject
|
||||
from gui.elements.text_label import TextLabel
|
||||
from gui.objects_map import names
|
||||
from gui.objects_map import settings_names
|
||||
from gui.screens.community_settings import CommunitySettingsScreen
|
||||
|
||||
LOG = logging.getLogger(__name__)
|
||||
|
@ -20,12 +20,12 @@ LOG = logging.getLogger(__name__)
|
|||
class CommunitiesSettingsView(QObject):
|
||||
|
||||
def __init__(self):
|
||||
super().__init__(names.mainWindow_CommunitiesView)
|
||||
self._community_item = QObject(names.settingsContentBaseScrollView_listItem_StatusListItem)
|
||||
self._community_template_image = QObject(names.settings_iconOrImage_StatusSmartIdenticon)
|
||||
self._community_template_name_members = QObject(names.settings_StatusTextWithLoadingState)
|
||||
self._community_template_description = TextLabel(names.settings_statusListItemSubTitle)
|
||||
self._community_template_button = Button(names.settings_StatusFlatButton)
|
||||
super().__init__(settings_names.mainWindow_CommunitiesView)
|
||||
self._community_item = QObject(settings_names.settingsContentBaseScrollView_listItem_StatusListItem)
|
||||
self._community_template_image = QObject(settings_names.settings_iconOrImage_StatusSmartIdenticon)
|
||||
self._community_template_name_members = QObject(settings_names.settings_StatusTextWithLoadingState)
|
||||
self._community_template_description = TextLabel(settings_names.settings_statusListItemSubTitle)
|
||||
self._community_template_button = Button(settings_names.settings_StatusFlatButton)
|
||||
|
||||
@property
|
||||
@allure.step('Get communities')
|
||||
|
|
|
@ -5,16 +5,15 @@ import driver
|
|||
from gui.components.wallet.send_popup import SendPopup
|
||||
from gui.elements.button import Button
|
||||
from gui.elements.object import QObject
|
||||
from gui.elements.scroll import Scroll
|
||||
from gui.elements.text_edit import TextEdit
|
||||
from gui.objects_map import names
|
||||
from gui.objects_map import settings_names
|
||||
|
||||
|
||||
class ENSSettingsView(QObject):
|
||||
|
||||
def __init__(self):
|
||||
super().__init__(names.mainWindow_EnsWelcomeView)
|
||||
self._start_button = Button(names.mainWindow_Start_StatusButton)
|
||||
super().__init__(settings_names.mainWindow_EnsWelcomeView)
|
||||
self._start_button = Button(settings_names.mainWindow_Start_StatusButton)
|
||||
|
||||
@allure.step('Start purhasing ens username')
|
||||
def start(self):
|
||||
|
@ -25,10 +24,10 @@ class ENSSettingsView(QObject):
|
|||
class ENSSearchView(QObject):
|
||||
|
||||
def __init__(self):
|
||||
super(ENSSearchView, self).__init__(names.mainWindow_EnsSearchView)
|
||||
self._username_text_field = TextEdit(names.mainWindow_ensUsernameInput_StyledTextField)
|
||||
self._next_button = Button(names.mainWindow_ensNextButton_StatusRoundButton)
|
||||
self._ens_text_note = QObject(names.ens_StatusBaseText)
|
||||
super(ENSSearchView, self).__init__(settings_names.mainWindow_EnsSearchView)
|
||||
self._username_text_field = TextEdit(settings_names.mainWindow_ensUsernameInput_StyledTextField)
|
||||
self._next_button = Button(settings_names.mainWindow_ensNextButton_StatusRoundButton)
|
||||
self._ens_text_note = QObject(settings_names.ens_StatusBaseText)
|
||||
|
||||
@allure.step('Enter user name to text field')
|
||||
def enter_user_name(self, name: str):
|
||||
|
@ -48,9 +47,9 @@ class ENSSearchView(QObject):
|
|||
class ENSTermsAndConditionsView(QObject):
|
||||
|
||||
def __init__(self):
|
||||
super(ENSTermsAndConditionsView, self).__init__(names.mainWindow_EnsTermsAndConditionsView)
|
||||
self._agree_terms_checkbox = TextEdit(names.sview_ensAgreeTerms_StatusCheckBox)
|
||||
self._register_button = Button(names.mainWindow_Register_StatusButton)
|
||||
super(ENSTermsAndConditionsView, self).__init__(settings_names.mainWindow_EnsTermsAndConditionsView)
|
||||
self._agree_terms_checkbox = TextEdit(settings_names.sview_ensAgreeTerms_StatusCheckBox)
|
||||
self._register_button = Button(settings_names.mainWindow_Register_StatusButton)
|
||||
|
||||
@allure.step('Get registered button enabled state')
|
||||
def is_register_button_enabled(self) -> bool:
|
||||
|
@ -72,4 +71,4 @@ class ENSTermsAndConditionsView(QObject):
|
|||
class ENSRegisteredView(QObject):
|
||||
|
||||
def __init__(self):
|
||||
super(ENSRegisteredView, self).__init__(names.mainWindow_EnsRegisteredView)
|
||||
super(ENSRegisteredView, self).__init__(settings_names.mainWindow_EnsRegisteredView)
|
||||
|
|
|
@ -6,20 +6,20 @@ from gui.components.settings.keycard_popup import KeycardPopup
|
|||
from gui.elements.button import Button
|
||||
from gui.elements.object import QObject
|
||||
from gui.elements.scroll import Scroll
|
||||
from gui.objects_map import names
|
||||
from gui.objects_map import settings_names
|
||||
|
||||
|
||||
class KeycardSettingsView(QObject):
|
||||
|
||||
def __init__(self):
|
||||
super(KeycardSettingsView, self).__init__(names.mainWindow_KeycardView)
|
||||
self._scroll = Scroll(names.settingsContentBaseScrollView_Flickable)
|
||||
self._setup_keycard_with_existing_account_button = Button(names.setupFromExistingKeycardAccount_StatusListItem)
|
||||
self._create_new_keycard_account_button = Button(names.createNewKeycardAccount_StatusListItem)
|
||||
self._import_restore_via_seed_phrase_button = Button(names.importRestoreKeycard_StatusListItem)
|
||||
self._import_from_keycard_button = Button(names.importFromKeycard_StatusListItem)
|
||||
self._check_whats_on_keycard_button = Button(names.checkWhatsNewKeycard_StatusListItem)
|
||||
self._factory_reset_keycard_button = Button(names.factoryResetKeycard_StatusListItem)
|
||||
super(KeycardSettingsView, self).__init__(settings_names.mainWindow_KeycardView)
|
||||
self._scroll = Scroll(settings_names.settingsContentBaseScrollView_Flickable)
|
||||
self._setup_keycard_with_existing_account_button = Button(settings_names.setupFromExistingKeycardAccount_StatusListItem)
|
||||
self._create_new_keycard_account_button = Button(settings_names.createNewKeycardAccount_StatusListItem)
|
||||
self._import_restore_via_seed_phrase_button = Button(settings_names.importRestoreKeycard_StatusListItem)
|
||||
self._import_from_keycard_button = Button(settings_names.importFromKeycard_StatusListItem)
|
||||
self._check_whats_on_keycard_button = Button(settings_names.checkWhatsNewKeycard_StatusListItem)
|
||||
self._factory_reset_keycard_button = Button(settings_names.factoryResetKeycard_StatusListItem)
|
||||
|
||||
@allure.step('Check that keycard screen displayed')
|
||||
def check_keycard_screen_loaded(self):
|
||||
|
|
|
@ -12,6 +12,7 @@ from gui.components.settings.verify_identity_popup import VerifyIdentityPopup
|
|||
|
||||
from gui.elements.button import Button
|
||||
from gui.elements.list import List
|
||||
from gui.objects_map import settings_names
|
||||
from gui.screens.messages import MessagesScreen
|
||||
from scripts.tools.image import Image
|
||||
from gui.screens.settings import *
|
||||
|
@ -20,11 +21,11 @@ from gui.screens.settings import *
|
|||
class MessagingSettingsView(QObject):
|
||||
|
||||
def __init__(self):
|
||||
super().__init__(names.mainWindow_MessagingView)
|
||||
self._contacts_button = Button(names.contactsListItem_btn_StatusContactRequestsIndicatorListItem)
|
||||
self._always_ask_button = Button(names.always_ask_radioButton_StatusRadioButton)
|
||||
self._always_show_button = Button(names.always_show_radioButton_StatusRadioButton)
|
||||
self._never_ask_button = Button(names.never_show_radioButton_StatusRadioButton)
|
||||
super().__init__(settings_names.mainWindow_MessagingView)
|
||||
self._contacts_button = Button(settings_names.contactsListItem_btn_StatusContactRequestsIndicatorListItem)
|
||||
self._always_ask_button = Button(settings_names.always_ask_radioButton_StatusRadioButton)
|
||||
self._always_show_button = Button(settings_names.always_show_radioButton_StatusRadioButton)
|
||||
self._never_ask_button = Button(settings_names.never_show_radioButton_StatusRadioButton)
|
||||
|
||||
@allure.step('Open contacts settings')
|
||||
def open_contacts_settings(self) -> 'ContactsSettingsView':
|
||||
|
@ -93,23 +94,23 @@ class ContactItem:
|
|||
class ContactsSettingsView(QObject):
|
||||
|
||||
def __init__(self):
|
||||
super().__init__(names.mainWindow_ContactsView)
|
||||
self._contact_request_button = Button(names.mainWindow_Send_contact_request_to_chat_key_StatusButton)
|
||||
self._pending_request_tab = Button(names.contactsTabBar_Pending_Requests_StatusTabButton)
|
||||
self._contacts_tab = Button(names.contactsTabBar_Contacts_StatusTabButton)
|
||||
self._contacts_items_list = List(names.settingsContentBaseScrollView_ContactListPanel)
|
||||
self._pending_request_sent_panel = QObject(names.settingsContentBaseScrollView_sentRequests_ContactsListPanel)
|
||||
super().__init__(settings_names.mainWindow_ContactsView)
|
||||
self._contact_request_button = Button(settings_names.mainWindow_Send_contact_request_to_chat_key_StatusButton)
|
||||
self._pending_request_tab = Button(settings_names.contactsTabBar_Pending_Requests_StatusTabButton)
|
||||
self._contacts_tab = Button(settings_names.contactsTabBar_Contacts_StatusTabButton)
|
||||
self._contacts_items_list = List(settings_names.settingsContentBaseScrollView_ContactListPanel)
|
||||
self._pending_request_sent_panel = QObject(settings_names.settingsContentBaseScrollView_sentRequests_ContactsListPanel)
|
||||
self._pending_request_received_panel = QObject(
|
||||
names.settingsContentBaseScrollView_receivedRequests_ContactsListPanel)
|
||||
self._contacts_panel = QObject(names.settingsContentBaseScrollView_mutualContacts_ContactsListPanel)
|
||||
self._invite_friends_button = QObject(names.settingsContentBaseScrollView_Invite_friends_StatusButton)
|
||||
self._no_friends_item = QObject(names.settingsContentBaseScrollView_NoFriendsRectangle)
|
||||
settings_names.settingsContentBaseScrollView_receivedRequests_ContactsListPanel)
|
||||
self._contacts_panel = QObject(settings_names.settingsContentBaseScrollView_mutualContacts_ContactsListPanel)
|
||||
self._invite_friends_button = QObject(settings_names.settingsContentBaseScrollView_Invite_friends_StatusButton)
|
||||
self._no_friends_item = QObject(settings_names.settingsContentBaseScrollView_NoFriendsRectangle)
|
||||
# more options on contact
|
||||
self._verify_identity_item = QObject(names.verify_Identity_StatusMenuItem)
|
||||
self._respond_to_id_request_item = QObject(names.respond_to_ID_Request_StatusMenuItem)
|
||||
self._view_profile_item = QObject(names.view_Profile_StatusMenuItem)
|
||||
self._verify_identity_item = QObject(settings_names.verify_Identity_StatusMenuItem)
|
||||
self._respond_to_id_request_item = QObject(settings_names.respond_to_ID_Request_StatusMenuItem)
|
||||
self._view_profile_item = QObject(settings_names.view_Profile_StatusMenuItem)
|
||||
self._respond_to_id_request_button = Button(
|
||||
names.settingsContentBaseScrollView_Respond_to_ID_Request_StatusFlatButton)
|
||||
settings_names.settingsContentBaseScrollView_Respond_to_ID_Request_StatusFlatButton)
|
||||
|
||||
@property
|
||||
@allure.step('Get contact items')
|
||||
|
|
|
@ -1,23 +1,18 @@
|
|||
import allure
|
||||
|
||||
import configs.timeouts
|
||||
import driver
|
||||
from driver.objects_access import walk_children
|
||||
from gui.components.change_password_popup import ChangePasswordPopup
|
||||
from gui.components.social_links_popup import SocialLinksPopup
|
||||
from gui.elements.button import Button
|
||||
from gui.elements.object import QObject
|
||||
from gui.elements.scroll import Scroll
|
||||
from gui.elements.text_edit import TextEdit
|
||||
from gui.elements.text_label import TextLabel
|
||||
from gui.objects_map import names
|
||||
from gui.objects_map import names, settings_names
|
||||
|
||||
|
||||
class ChangePasswordView(QObject):
|
||||
|
||||
def __init__(self):
|
||||
super().__init__(names.mainWindow_PasswordView)
|
||||
self._scroll_view = Scroll(names.settingsContentBaseScrollView_Flickable)
|
||||
super().__init__(settings_names.mainWindow_PasswordView)
|
||||
self._scroll_view = Scroll(settings_names.settingsContentBaseScrollView_Flickable)
|
||||
self._change_password_button = Button(names.change_password_menu_change_password_button)
|
||||
self._current_password_text_field = TextEdit(names.change_password_menu_current_password)
|
||||
self._new_password_text_field = TextEdit(names.change_password_menu_new_password)
|
||||
|
@ -30,4 +25,3 @@ class ChangePasswordView(QObject):
|
|||
self._confirm_password_text_field.text = new_pwd
|
||||
self._change_password_button.click()
|
||||
return ChangePasswordPopup()
|
||||
|
||||
|
|
|
@ -3,7 +3,6 @@ import allure
|
|||
import configs.timeouts
|
||||
import driver
|
||||
from driver.objects_access import walk_children
|
||||
from gui.components.change_password_popup import ChangePasswordPopup
|
||||
from gui.components.settings.build_your_showcase_popup import BuildShowcasePopup
|
||||
from gui.components.social_links_popup import SocialLinksPopup
|
||||
from gui.elements.button import Button
|
||||
|
@ -11,21 +10,21 @@ from gui.elements.object import QObject
|
|||
from gui.elements.scroll import Scroll
|
||||
from gui.elements.text_edit import TextEdit
|
||||
from gui.elements.text_label import TextLabel
|
||||
from gui.objects_map import names
|
||||
from gui.objects_map import settings_names, names
|
||||
|
||||
|
||||
class ProfileSettingsView(QObject):
|
||||
|
||||
def __init__(self):
|
||||
super().__init__(names.mainWindow_MyProfileView)
|
||||
self._scroll_view = Scroll(names.settingsContentBaseScrollView_Flickable)
|
||||
self._display_name_text_field = TextEdit(names.displayName_TextEdit)
|
||||
super().__init__(settings_names.mainWindow_MyProfileView)
|
||||
self._scroll_view = Scroll(settings_names.settingsContentBaseScrollView_Flickable)
|
||||
self._display_name_text_field = TextEdit(settings_names.displayName_TextEdit)
|
||||
self._save_button = Button(names.mainWindow_Save_changes_StatusButton)
|
||||
self._bio_text_field = TextEdit(names.bio_TextEdit)
|
||||
self._add_more_links_label = TextLabel(names.addMoreSocialLinks)
|
||||
self._bio_text_field = TextEdit(settings_names.bio_TextEdit)
|
||||
self._add_more_links_label = TextLabel(settings_names.addMoreSocialLinks)
|
||||
self._links_list = QObject(names.linksView)
|
||||
self._web_tab_button = Button(names.profileTabBar_Web_StatusTabButton)
|
||||
self._identity_tab_button = Button(names.profileTabBar_Identity_StatusTabButton)
|
||||
self._web_tab_button = Button(settings_names.profileTabBar_Web_StatusTabButton)
|
||||
self._identity_tab_button = Button(settings_names.profileTabBar_Identity_StatusTabButton)
|
||||
|
||||
@property
|
||||
@allure.step('Get display name')
|
||||
|
@ -119,5 +118,3 @@ class ProfileSettingsView(QObject):
|
|||
BuildShowcasePopup().close()
|
||||
self._add_more_links_label.click()
|
||||
return SocialLinksPopup().wait_until_appears()
|
||||
|
||||
|
||||
|
|
|
@ -6,17 +6,17 @@ from gui.components.settings.sync_new_device_popup import SyncNewDevicePopup
|
|||
from gui.elements.button import Button
|
||||
from gui.elements.object import QObject
|
||||
from gui.elements.text_label import TextLabel
|
||||
from gui.objects_map import names
|
||||
from gui.objects_map import settings_names, settings_names
|
||||
|
||||
|
||||
class SyncingSettingsView(QObject):
|
||||
|
||||
def __init__(self):
|
||||
super().__init__(names.mainWindow_SyncingView)
|
||||
self._setup_syncing_button = Button(names.settings_Setup_Syncing_StatusButton)
|
||||
self._backup_data_button = Button(names.settings_Backup_Data_StatusButton)
|
||||
self._sync_new_device_instructions_header = TextLabel(names.settings_Sync_New_Device_Header)
|
||||
self._sync_new_device_instructions_subtitle = TextLabel(names.settings_Sync_New_Device_SubTitle)
|
||||
super().__init__(settings_names.mainWindow_SyncingView)
|
||||
self._setup_syncing_button = Button(settings_names.settings_Setup_Syncing_StatusButton)
|
||||
self._backup_data_button = Button(settings_names.settings_Backup_Data_StatusButton)
|
||||
self._sync_new_device_instructions_header = TextLabel(settings_names.settings_Sync_New_Device_Header)
|
||||
self._sync_new_device_instructions_subtitle = TextLabel(settings_names.settings_Sync_New_Device_SubTitle)
|
||||
|
||||
@allure.step('Checking instructions elements: back up button presence')
|
||||
def is_backup_button_present(self):
|
||||
|
|
|
@ -22,24 +22,24 @@ from gui.elements.object import QObject
|
|||
from gui.elements.scroll import Scroll
|
||||
from gui.elements.text_edit import TextEdit
|
||||
from gui.elements.text_label import TextLabel
|
||||
from gui.objects_map import names
|
||||
from gui.objects_map import settings_names
|
||||
|
||||
|
||||
class WalletSettingsView(QObject):
|
||||
|
||||
def __init__(self):
|
||||
super().__init__(names.mainWindow_WalletView)
|
||||
self._scroll = Scroll(names.settingsContentBaseScrollView_Flickable)
|
||||
self._wallet_settings_add_new_account_button = Button(names.settings_Wallet_MainView_AddNewAccountButton)
|
||||
self._wallet_network_button = Button(names.settings_Wallet_MainView_Networks)
|
||||
self._account_order_button = Button(names.settingsContentBaseScrollView_accountOrderItem_StatusListItem)
|
||||
self._saved_addresses_button = Button(names.settingsContentBaseScrollView_savedAddressesItem_StatusListItem)
|
||||
self._status_account_in_keypair = QObject(names.settingsWalletAccountDelegate_Status_account)
|
||||
self._wallet_account_from_keypair = QObject(names.settingsWalletAccountDelegate)
|
||||
self._wallet_settings_keypair_item = QObject(names.settingsWalletKeyPairDelegate)
|
||||
self._wallet_settings_total_balance_item = QObject(names.settingsWalletAccountTotalBalance)
|
||||
self._wallet_settings_total_balance_toggle = CheckBox(names.settingsWalletAccountTotalBalanceToggle)
|
||||
self._rename_keypair_menu_item = QObject(names.rename_keypair_StatusMenuItem)
|
||||
super().__init__(settings_names.mainWindow_WalletView)
|
||||
self._scroll = Scroll(settings_names.settingsContentBaseScrollView_Flickable)
|
||||
self._wallet_settings_add_new_account_button = Button(settings_names.settings_Wallet_MainView_AddNewAccountButton)
|
||||
self._wallet_network_button = Button(settings_names.settings_Wallet_MainView_Networks)
|
||||
self._account_order_button = Button(settings_names.settingsContentBaseScrollView_accountOrderItem_StatusListItem)
|
||||
self._saved_addresses_button = Button(settings_names.settingsContentBaseScrollView_savedAddressesItem_StatusListItem)
|
||||
self._status_account_in_keypair = QObject(settings_names.settingsWalletAccountDelegate_Status_account)
|
||||
self._wallet_account_from_keypair = QObject(settings_names.settingsWalletAccountDelegate)
|
||||
self._wallet_settings_keypair_item = QObject(settings_names.settingsWalletKeyPairDelegate)
|
||||
self._wallet_settings_total_balance_item = QObject(settings_names.settingsWalletAccountTotalBalance)
|
||||
self._wallet_settings_total_balance_toggle = CheckBox(settings_names.settingsWalletAccountTotalBalanceToggle)
|
||||
self._rename_keypair_menu_item = QObject(settings_names.rename_keypair_StatusMenuItem)
|
||||
|
||||
@allure.step('Open add account pop up in wallet settings')
|
||||
def open_add_account_pop_up(self, attempts: int = 2) -> 'AccountPopup':
|
||||
|
@ -79,7 +79,7 @@ class WalletSettingsView(QObject):
|
|||
self._account_order_button.click()
|
||||
return EditAccountOrderSettings().wait_until_appears()
|
||||
|
||||
@allure.step('Get keypair names')
|
||||
@allure.step('Get keypair settings_names')
|
||||
def get_keypairs_names(self):
|
||||
keypair_names = []
|
||||
for item in driver.findAllObjects(self._wallet_settings_keypair_item.real_name):
|
||||
|
@ -129,19 +129,19 @@ class WalletSettingsView(QObject):
|
|||
class AccountDetailsView(WalletSettingsView):
|
||||
def __init__(self):
|
||||
super(AccountDetailsView, self).__init__()
|
||||
self._back_button = Button(names.main_toolBar_back_button)
|
||||
self._edit_account_button = Button(names.walletAccountViewEditAccountButton)
|
||||
self._remove_account_button = Button(names.walletAccountViewRemoveAccountButton)
|
||||
self._wallet_account_title = TextLabel(names.walletAccountViewAccountName)
|
||||
self._wallet_account_emoji = QObject(names.walletAccountViewAccountEmoji)
|
||||
self._wallet_account_details_label = TextLabel(names.walletAccountViewDetailsLabel)
|
||||
self._wallet_account_balance = QObject(names.walletAccountViewBalance)
|
||||
self._wallet_account_keypair_item = QObject(names.walletAccountViewKeypairItem)
|
||||
self._wallet_account_address = QObject(names.walletAccountViewAddress)
|
||||
self._wallet_account_origin = TextLabel(names.walletAccountViewOrigin)
|
||||
self._wallet_account_derivation_path = QObject(names.walletAccountViewDerivationPath)
|
||||
self._wallet_account_stored = TextLabel(names.walletAccountViewStored)
|
||||
self._wallet_preferred_networks = QObject(names.walletAccountViewPreferredNetworks)
|
||||
self._back_button = Button(settings_names.main_toolBar_back_button)
|
||||
self._edit_account_button = Button(settings_names.walletAccountViewEditAccountButton)
|
||||
self._remove_account_button = Button(settings_names.walletAccountViewRemoveAccountButton)
|
||||
self._wallet_account_title = TextLabel(settings_names.walletAccountViewAccountName)
|
||||
self._wallet_account_emoji = QObject(settings_names.walletAccountViewAccountEmoji)
|
||||
self._wallet_account_details_label = TextLabel(settings_names.walletAccountViewDetailsLabel)
|
||||
self._wallet_account_balance = QObject(settings_names.walletAccountViewBalance)
|
||||
self._wallet_account_keypair_item = QObject(settings_names.walletAccountViewKeypairItem)
|
||||
self._wallet_account_address = QObject(settings_names.walletAccountViewAddress)
|
||||
self._wallet_account_origin = TextLabel(settings_names.walletAccountViewOrigin)
|
||||
self._wallet_account_derivation_path = QObject(settings_names.walletAccountViewDerivationPath)
|
||||
self._wallet_account_stored = TextLabel(settings_names.walletAccountViewStored)
|
||||
self._wallet_preferred_networks = QObject(settings_names.walletAccountViewPreferredNetworks)
|
||||
|
||||
@allure.step('Click Edit button')
|
||||
def click_edit_account_button(self):
|
||||
|
@ -212,8 +212,8 @@ class AccountDetailsView(WalletSettingsView):
|
|||
class SavedAddressesWalletSettings(WalletSettingsView):
|
||||
def __init__(self):
|
||||
super(SavedAddressesWalletSettings, self).__init__()
|
||||
self.add_new_address_button = Button(names.settings_Wallet_SavedAddresses_AddAddressButton)
|
||||
self.saved_address_item = QObject(names.settings_Wallet_SavedAddress_ItemDelegate)
|
||||
self.add_new_address_button = Button(settings_names.settings_Wallet_SavedAddresses_AddAddressButton)
|
||||
self.saved_address_item = QObject(settings_names.settings_Wallet_SavedAddress_ItemDelegate)
|
||||
|
||||
@allure.step('Click add new address button')
|
||||
def open_add_saved_address_popup(self, attempt: int = 2) -> 'AddressPopup':
|
||||
|
@ -226,30 +226,30 @@ class SavedAddressesWalletSettings(WalletSettingsView):
|
|||
else:
|
||||
raise err
|
||||
|
||||
@allure.step('Get saved addresses names list')
|
||||
@allure.step('Get saved addresses settings_names list')
|
||||
def get_saved_address_names_list(self):
|
||||
names = [str(address.name) for address in driver.findAllObjects(self.saved_address_item.real_name)]
|
||||
return names
|
||||
settings_names = [str(address.name) for address in driver.findAllObjects(self.saved_address_item.real_name)]
|
||||
return settings_names
|
||||
|
||||
|
||||
class NetworkWalletSettings(WalletSettingsView):
|
||||
|
||||
def __init__(self):
|
||||
super(NetworkWalletSettings, self).__init__()
|
||||
self._testnet_text_item = QObject(names.settingsContentBaseScrollView_Goerli_testnet_active_StatusBaseText)
|
||||
self._testnet_mode_toggle = Button(names.settings_Wallet_NetworksView_TestNet_Toggle)
|
||||
self._testnet_mode_title = TextLabel(names.settings_Wallet_NetworksView_TestNet_Toggle_Title)
|
||||
self._back_button = Button(names.main_toolBar_back_button)
|
||||
self._mainnet_network_item = QObject(names.networkSettingsNetworks_Mainnet)
|
||||
self._mainnet_goerli_network_item = QObject(names.networkSettingsNetworks_Mainnet_Goerli)
|
||||
self._mainnet_goerli_network_item_test_label = TextLabel(names.networkSettingsNetowrks_Mainnet_Testlabel)
|
||||
self._optimism_network_item = QObject(names.networkSettingsNetworks_Optimism)
|
||||
self._optimism_goerli_network_item = QObject(names.networkSettingsNetworks_Optimism_Goerli)
|
||||
self._arbitrum_network_item = QObject(names.networkSettingsNetworks_Arbitrum)
|
||||
self._arbitrum__goerli_network_item = QObject(names.networkSettingsNetworks_Arbitrum_Goerli)
|
||||
self._wallet_network_item_template = QObject(names.settingsContentBaseScrollView_WalletNetworkDelegate_template)
|
||||
self._wallet_network_item_goerli_sensor = QObject(names.networkSettingsNetworks_Mainnet_Goerli_sensor)
|
||||
self._wallet_network_item_goerli_testlabel = TextLabel(names.networkSettingsNetowrks_Mainnet_Testlabel)
|
||||
self._testnet_text_item = QObject(settings_names.settingsContentBaseScrollView_Goerli_testnet_active_StatusBaseText)
|
||||
self._testnet_mode_toggle = Button(settings_names.settings_Wallet_NetworksView_TestNet_Toggle)
|
||||
self._testnet_mode_title = TextLabel(settings_names.settings_Wallet_NetworksView_TestNet_Toggle_Title)
|
||||
self._back_button = Button(settings_names.main_toolBar_back_button)
|
||||
self._mainnet_network_item = QObject(settings_names.networkSettingsNetworks_Mainnet)
|
||||
self._mainnet_goerli_network_item = QObject(settings_names.networkSettingsNetworks_Mainnet_Goerli)
|
||||
self._mainnet_goerli_network_item_test_label = TextLabel(settings_names.networkSettingsNetowrks_Mainnet_Testlabel)
|
||||
self._optimism_network_item = QObject(settings_names.networkSettingsNetworks_Optimism)
|
||||
self._optimism_goerli_network_item = QObject(settings_names.networkSettingsNetworks_Optimism_Goerli)
|
||||
self._arbitrum_network_item = QObject(settings_names.networkSettingsNetworks_Arbitrum)
|
||||
self._arbitrum__goerli_network_item = QObject(settings_names.networkSettingsNetworks_Arbitrum_Goerli)
|
||||
self._wallet_network_item_template = QObject(settings_names.settingsContentBaseScrollView_WalletNetworkDelegate_template)
|
||||
self._wallet_network_item_goerli_sensor = QObject(settings_names.networkSettingsNetworks_Mainnet_Goerli_sensor)
|
||||
self._wallet_network_item_goerli_testlabel = TextLabel(settings_names.networkSettingsNetowrks_Mainnet_Testlabel)
|
||||
|
||||
@allure.step('Check networks item title')
|
||||
def get_network_item_attribute_by_id_and_attr_name(self, attribute_name, network_id):
|
||||
|
@ -294,22 +294,22 @@ class NetworkWalletSettings(WalletSettingsView):
|
|||
class EditNetworkSettings(WalletSettingsView):
|
||||
def __init__(self):
|
||||
super(EditNetworkSettings, self).__init__()
|
||||
self._live_network_tab = Button(names.editNetworkLiveButton)
|
||||
self._test_network_tab = Button(names.editNetworkTestButton)
|
||||
self._network_name = TextEdit(names.editNetworkNameInput)
|
||||
self._network_short_name = TextEdit(names.editNetworkShortNameInput)
|
||||
self._network_chaid_id = TextEdit(names.editNetworkChainIdInput)
|
||||
self._network_native_token_symbol = TextEdit(names.editNetworkSymbolInput)
|
||||
self._network_main_json_rpc_url = TextEdit(names.editNetworkMainRpcInput)
|
||||
self._network_failover_json_rpc_url = TextEdit(names.editNetworkFailoverRpcUrlInput)
|
||||
self._network_block_explorer = TextEdit(names.editNetworkExplorerInput)
|
||||
self._network_acknowledgment_checkbox = CheckBox(names.editNetworkAknowledgmentCheckbox)
|
||||
self._network_revert_to_default = Button(names.editNetworkRevertButton)
|
||||
self._network_save_changes = Button(names.editNetworkSaveButton)
|
||||
self._network_edit_view_back_button = Button(names.main_toolBar_back_button)
|
||||
self._network_edit_scroll = Scroll(names.settingsContentBaseScrollView_Flickable)
|
||||
self._network_edit_main_rpc_url_error_message = QObject(names.mainRpcUrlInputObject)
|
||||
self._network_edit_failover_rpc_url_error_message = QObject(names.failoverRpcUrlInputObject)
|
||||
self._live_network_tab = Button(settings_names.editNetworkLiveButton)
|
||||
self._test_network_tab = Button(settings_names.editNetworkTestButton)
|
||||
self._network_name = TextEdit(settings_names.editNetworkNameInput)
|
||||
self._network_short_name = TextEdit(settings_names.editNetworkShortNameInput)
|
||||
self._network_chaid_id = TextEdit(settings_names.editNetworkChainIdInput)
|
||||
self._network_native_token_symbol = TextEdit(settings_names.editNetworkSymbolInput)
|
||||
self._network_main_json_rpc_url = TextEdit(settings_names.editNetworkMainRpcInput)
|
||||
self._network_failover_json_rpc_url = TextEdit(settings_names.editNetworkFailoverRpcUrlInput)
|
||||
self._network_block_explorer = TextEdit(settings_names.editNetworkExplorerInput)
|
||||
self._network_acknowledgment_checkbox = CheckBox(settings_names.editNetworkAknowledgmentCheckbox)
|
||||
self._network_revert_to_default = Button(settings_names.editNetworkRevertButton)
|
||||
self._network_save_changes = Button(settings_names.editNetworkSaveButton)
|
||||
self._network_edit_view_back_button = Button(settings_names.main_toolBar_back_button)
|
||||
self._network_edit_scroll = Scroll(settings_names.settingsContentBaseScrollView_Flickable)
|
||||
self._network_edit_main_rpc_url_error_message = QObject(settings_names.mainRpcUrlInputObject)
|
||||
self._network_edit_failover_rpc_url_error_message = QObject(settings_names.failoverRpcUrlInputObject)
|
||||
|
||||
@allure.step('Select Live Network tab')
|
||||
def click_live_network_tab(self):
|
||||
|
@ -493,10 +493,10 @@ class EditAccountOrderSettings(WalletSettingsView):
|
|||
|
||||
def __init__(self):
|
||||
super(EditAccountOrderSettings, self).__init__()
|
||||
self._account_item = QObject(names.settingsContentBaseScrollView_draggableDelegate_StatusDraggableListItem)
|
||||
self._accounts_list = QObject(names.statusDesktop_mainWindow)
|
||||
self._text_item = QObject(names.settingsContentBaseScrollView_StatusBaseText)
|
||||
self._back_button = Button(names.main_toolBar_back_button)
|
||||
self._account_item = QObject(settings_names.settingsContentBaseScrollView_draggableDelegate_StatusDraggableListItem)
|
||||
self._accounts_list = QObject(settings_names.statusDesktop_mainWindow)
|
||||
self._text_item = QObject(settings_names.settingsContentBaseScrollView_StatusBaseText)
|
||||
self._back_button = Button(settings_names.main_toolBar_back_button)
|
||||
|
||||
@property
|
||||
@allure.step('Get edit account order recommendations')
|
||||
|
|
|
@ -19,26 +19,26 @@ from gui.elements.button import Button
|
|||
from gui.elements.list import List
|
||||
from gui.elements.object import QObject
|
||||
from gui.elements.text_label import TextLabel
|
||||
from gui.objects_map import names
|
||||
from gui.objects_map import wallet_names, settings_names, names
|
||||
from scripts.utils.decorators import close_exists
|
||||
|
||||
|
||||
class WalletScreen(QObject):
|
||||
|
||||
def __init__(self):
|
||||
super().__init__(names.mainWindow_WalletLayout)
|
||||
super().__init__(wallet_names.mainWindow_WalletLayout)
|
||||
self.left_panel: LeftPanel = LeftPanel()
|
||||
|
||||
|
||||
class LeftPanel(QObject):
|
||||
|
||||
def __init__(self):
|
||||
super(LeftPanel, self).__init__(names.mainWallet_LeftTab)
|
||||
self._saved_addresses_button = Button(names.mainWallet_Saved_Addresses_Button)
|
||||
self._wallet_account_item = QObject(names.walletAccount_StatusListItem)
|
||||
self._add_account_button = Button(names.mainWallet_Add_Account_Button)
|
||||
self._all_accounts_button = Button(names.mainWallet_All_Accounts_Button)
|
||||
self._all_accounts_balance = TextLabel(names.mainWallet_All_Accounts_Balance)
|
||||
super(LeftPanel, self).__init__(wallet_names.mainWallet_LeftTab)
|
||||
self._saved_addresses_button = Button(wallet_names.mainWallet_Saved_Addresses_Button)
|
||||
self._wallet_account_item = QObject(wallet_names.walletAccount_StatusListItem)
|
||||
self._add_account_button = Button(wallet_names.mainWallet_Add_Account_Button)
|
||||
self._all_accounts_button = Button(wallet_names.mainWallet_All_Accounts_Button)
|
||||
self._all_accounts_balance = TextLabel(wallet_names.mainWallet_All_Accounts_Balance)
|
||||
|
||||
@allure.step('Get total balance visibility state')
|
||||
def is_total_balance_visible(self) -> bool:
|
||||
|
@ -136,17 +136,17 @@ class LeftPanel(QObject):
|
|||
class SavedAddressesView(QObject):
|
||||
|
||||
def __init__(self):
|
||||
super(SavedAddressesView, self).__init__(names.mainWindow_SavedAddressesView)
|
||||
self._add_new_address_button = Button(names.mainWallet_Saved_Addresses_Add_Buttton)
|
||||
self._address_list_item = QObject(names.savedAddressView_Delegate)
|
||||
self._addresses_area = QObject(names.savedAddresses_area)
|
||||
self._addresses_list_view = QObject(names.mainWallet_Saved_Addresses_List)
|
||||
self._send_button = Button(names.send_StatusRoundButton)
|
||||
self._open_menu_button = Button(names.savedAddressView_Delegate_menuButton)
|
||||
self._saved_address_item = QObject(names.savedAddressView_Delegate)
|
||||
super(SavedAddressesView, self).__init__(wallet_names.mainWindow_SavedAddressesView)
|
||||
self._add_new_address_button = Button(wallet_names.mainWallet_Saved_Addresses_Add_Buttton)
|
||||
self._address_list_item = QObject(wallet_names.savedAddressView_Delegate)
|
||||
self._addresses_area = QObject(wallet_names.savedAddresses_area)
|
||||
self._addresses_list_view = QObject(wallet_names.mainWallet_Saved_Addresses_List)
|
||||
self._send_button = Button(wallet_names.send_StatusRoundButton)
|
||||
self._open_menu_button = Button(wallet_names.savedAddressView_Delegate_menuButton)
|
||||
self._saved_address_item = QObject(wallet_names.savedAddressView_Delegate)
|
||||
|
||||
@property
|
||||
@allure.step('Get saved addresses names')
|
||||
@allure.step('Get saved addresses wallet_names')
|
||||
def address_names(self):
|
||||
address_names = []
|
||||
for child in walk_children(self._addresses_list_view.object):
|
||||
|
@ -193,9 +193,9 @@ class SavedAddressesView(QObject):
|
|||
class ManageTokensView(QObject):
|
||||
|
||||
def __init__(self):
|
||||
super(ManageTokensView, self).__init__(names.settingsContentBaseScrollView_manageTokensView_ManageTokensView)
|
||||
self._window_item = QObject(names.statusDesktop_mainWindow)
|
||||
self._token_item = QObject(names.settingsContentBaseScrollView_manageTokensDelegate_ManageTokensDelegate)
|
||||
super(ManageTokensView, self).__init__(wallet_names.settingsContentBaseScrollView_manageTokensView_ManageTokensView)
|
||||
self._window_item = QObject(wallet_names.statusDesktop_mainWindow)
|
||||
self._token_item = QObject(wallet_names.settingsContentBaseScrollView_manageTokensDelegate_ManageTokensDelegate)
|
||||
|
||||
@property
|
||||
@allure.step('Get tokens')
|
||||
|
@ -220,17 +220,17 @@ class ManageTokensView(QObject):
|
|||
class WalletAccountView(QObject):
|
||||
|
||||
def __init__(self):
|
||||
super(WalletAccountView, self).__init__(names.mainWindow_StatusSectionLayout_ContentItem)
|
||||
self._account_name_text_label = TextLabel(names.mainWallet_Account_Name)
|
||||
super(WalletAccountView, self).__init__(settings_names.mainWindow_StatusSectionLayout_ContentItem)
|
||||
self._account_name_text_label = TextLabel(wallet_names.mainWallet_Account_Name)
|
||||
self._addresses_panel = QObject(names.mainWallet_Address_Panel)
|
||||
self._send_button = Button(names.mainWindow_Send_Button)
|
||||
self._filter_button = Button(names.filterButton_StatusFlatButton)
|
||||
self._assets_combobox = List(names.cmbTokenOrder_SortOrderComboBox)
|
||||
self._assets_tab_button = Button(names.rightSideWalletTabBar_Assets_StatusTabButton)
|
||||
self._collectibles_tab_button = Button(names.rightSideWalletTabBar_Collectibles_StatusTabButton)
|
||||
self._asset_item_delegate = QObject(names.itemDelegate)
|
||||
self._asset_item = QObject(names.assetView_TokenListItem_TokenDelegate)
|
||||
self._arrow_icon = QObject(names.arrow_icon_StatusIcon)
|
||||
self._send_button = Button(wallet_names.mainWindow_Send_Button)
|
||||
self._filter_button = Button(wallet_names.filterButton_StatusFlatButton)
|
||||
self._assets_combobox = List(wallet_names.cmbTokenOrder_SortOrderComboBox)
|
||||
self._assets_tab_button = Button(wallet_names.rightSideWalletTabBar_Assets_StatusTabButton)
|
||||
self._collectibles_tab_button = Button(wallet_names.rightSideWalletTabBar_Collectibles_StatusTabButton)
|
||||
self._asset_item_delegate = QObject(wallet_names.itemDelegate)
|
||||
self._asset_item = QObject(wallet_names.assetView_TokenListItem_TokenDelegate)
|
||||
self._arrow_icon = QObject(wallet_names.arrow_icon_StatusIcon)
|
||||
|
||||
@property
|
||||
@allure.step('Get name of account')
|
||||
|
|
Loading…
Reference in New Issue