chore: changed a way we access object locators in object map
This commit is contained in:
parent
e27bc01626
commit
6823b1f5e2
|
@ -12,7 +12,7 @@ from datetime import datetime
|
|||
from configs.system import IS_LIN
|
||||
from driver import context
|
||||
from driver.server import SquishServer
|
||||
from gui.objects_map import statusDesktop_mainWindow
|
||||
from gui.objects_map.names import statusDesktop_mainWindow
|
||||
from scripts.utils import system_path, local_system
|
||||
from scripts.utils.system_path import SystemPath
|
||||
from scripts.utils.wait_for_port import wait_for_port
|
||||
|
|
|
@ -2,13 +2,14 @@ import allure
|
|||
|
||||
from gui.elements.button import Button
|
||||
from gui.elements.object import QObject
|
||||
from gui.objects_map import names
|
||||
|
||||
|
||||
class BackUpSeedPhraseBanner(QObject):
|
||||
def __init__(self):
|
||||
super(BackUpSeedPhraseBanner, self).__init__('mainWindow_secureYourSeedPhraseBanner_ModuleWarning')
|
||||
self._back_up_seedBanner = QObject('mainWindow_secureYourSeedPhraseBanner_ModuleWarning')
|
||||
self._back_up_seedButton = Button('mainWindow_secureYourSeedPhraseBanner_Button')
|
||||
super(BackUpSeedPhraseBanner, self).__init__(names.mainWindow_secureYourSeedPhraseBanner_ModuleWarning)
|
||||
self._back_up_seedBanner = QObject(names.mainWindow_secureYourSeedPhraseBanner_ModuleWarning)
|
||||
self._back_up_seedButton = Button(names.mainWindow_secureYourSeedPhraseBanner_Button)
|
||||
|
||||
@allure.step('Verify banner presence')
|
||||
def does_back_up_seed_banner_exist(self):
|
||||
|
|
|
@ -9,26 +9,27 @@ from gui.elements.button import Button
|
|||
from gui.elements.check_box import CheckBox
|
||||
from gui.elements.object import QObject
|
||||
from gui.elements.text_edit import TextEdit
|
||||
from gui.objects_map import names
|
||||
|
||||
|
||||
class BackUpYourSeedPhrasePopUp(BasePopup):
|
||||
|
||||
def __init__(self):
|
||||
super(BackUpYourSeedPhrasePopUp, self).__init__()
|
||||
self._i_have_a_pen_and_paper_check_box = CheckBox('i_have_a_pen_and_paper_StatusCheckBox')
|
||||
self._i_know_where_i_ll_store_it_check_box = CheckBox('i_know_where_I_ll_store_it_StatusCheckBox')
|
||||
self._i_am_ready_to_write_down_seed_phrase_check_box = CheckBox('i_am_ready_to_write_down_StatusCheckBox')
|
||||
self._not_now_button = Button('not_Now_StatusButton')
|
||||
self._confirm_seed_phrase_button = Button('confirm_Seed_Phrase_StatusButton')
|
||||
self._reveal_seed_phrase_button = Button('reveal_seed_phrase_StatusButton')
|
||||
self._continue_button = Button('continue_StatusButton')
|
||||
self._seed_phrase_panel = QObject('backup_seed_phrase_popup_StatusSeedPhraseInput_placeholder')
|
||||
self._seed_phrase_first_word_component = QObject('confirmFirstWord')
|
||||
self._prove_first_word_seed_phrase_text_edit = TextEdit('confirmFirstWord_inputText')
|
||||
self._seed_phrase_second_word_component = QObject('confirmSecondWord')
|
||||
self._prove_second_word_seed_phrase_text_edit = TextEdit('confirmSecondWord_inputText')
|
||||
self._acknowledge_check_box = CheckBox('i_acknowledge_StatusCheckBox')
|
||||
self._complete_and_delete_button = Button('completeAndDeleteSeedPhraseButton')
|
||||
self._i_have_a_pen_and_paper_check_box = CheckBox(names.i_have_a_pen_and_paper_StatusCheckBox)
|
||||
self._i_know_where_i_ll_store_it_check_box = CheckBox(names.i_know_where_I_ll_store_it_StatusCheckBox)
|
||||
self._i_am_ready_to_write_down_seed_phrase_check_box = CheckBox(names.i_am_ready_to_write_down_StatusCheckBox)
|
||||
self._not_now_button = Button(names.not_Now_StatusButton)
|
||||
self._confirm_seed_phrase_button = Button(names.confirm_Seed_Phrase_StatusButton)
|
||||
self._reveal_seed_phrase_button = Button(names.reveal_seed_phrase_StatusButton)
|
||||
self._continue_button = Button(names.continue_StatusButton)
|
||||
self._seed_phrase_panel = QObject(names.backup_seed_phrase_popup_StatusSeedPhraseInput_placeholder)
|
||||
self._seed_phrase_first_word_component = QObject(names.confirmFirstWord)
|
||||
self._prove_first_word_seed_phrase_text_edit = TextEdit(names.confirmFirstWord_inputText)
|
||||
self._seed_phrase_second_word_component = QObject(names.confirmSecondWord)
|
||||
self._prove_second_word_seed_phrase_text_edit = TextEdit(names.confirmSecondWord_inputText)
|
||||
self._acknowledge_check_box = CheckBox(names.i_acknowledge_StatusCheckBox)
|
||||
self._complete_and_delete_button = Button(names.completeAndDeleteSeedPhraseButton)
|
||||
|
||||
@allure.step('Set have pen and paper checkbox')
|
||||
def set_have_pen_and_paper(self, value: bool):
|
||||
|
|
|
@ -2,12 +2,13 @@ import allure
|
|||
|
||||
import driver
|
||||
from gui.elements.object import QObject
|
||||
from gui.objects_map import names
|
||||
|
||||
|
||||
class BasePopup(QObject):
|
||||
|
||||
def __init__(self):
|
||||
super(BasePopup, self).__init__('statusDesktop_mainWindow_overlay')
|
||||
super(BasePopup, self).__init__(names.statusDesktop_mainWindow_overlay)
|
||||
|
||||
@allure.step('Close')
|
||||
def close(self):
|
||||
|
|
|
@ -1,19 +1,19 @@
|
|||
import allure
|
||||
|
||||
import configs
|
||||
import driver
|
||||
from constants.settings import PasswordView
|
||||
from gui.components.base_popup import BasePopup
|
||||
from gui.elements.button import Button
|
||||
from gui.elements.text_label import TextLabel
|
||||
from gui.objects_map import names
|
||||
|
||||
|
||||
class ChangePasswordPopup(BasePopup):
|
||||
|
||||
def __init__(self):
|
||||
super(ChangePasswordPopup, self).__init__()
|
||||
self._re_encrypt_data_restart_button = Button('reEncryptRestartButton')
|
||||
self._re_encryption_complete_element = TextLabel('reEncryptionComplete')
|
||||
self._re_encrypt_data_restart_button = Button(names.reEncryptRestartButton)
|
||||
self._re_encryption_complete_element = TextLabel(names.reEncryptionComplete)
|
||||
|
||||
def click_re_encrypt_data_restart_button(self):
|
||||
"""
|
||||
|
@ -28,6 +28,3 @@ class ChangePasswordPopup(BasePopup):
|
|||
assert driver.waitForObject(self._re_encrypt_data_restart_button.real_name, 20000)
|
||||
assert getattr(self._re_encrypt_data_restart_button.object, 'text') == PasswordView.RESTART_STATUS.value
|
||||
self._re_encrypt_data_restart_button.click()
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -4,14 +4,15 @@ import configs
|
|||
from gui.components.base_popup import BasePopup
|
||||
from gui.elements.button import Button
|
||||
from gui.elements.text_edit import TextEdit
|
||||
from gui.objects_map import names
|
||||
|
||||
|
||||
class ColorSelectPopup(BasePopup):
|
||||
|
||||
def __init__(self):
|
||||
super().__init__()
|
||||
self._hex_color_text_edit = TextEdit('communitySettings_ColorPanel_HexColor_Input')
|
||||
self._save_button = Button('communitySettings_SaveColor_Button')
|
||||
self._hex_color_text_edit = TextEdit(names.communitySettings_ColorPanel_HexColor_Input)
|
||||
self._save_button = Button(names.communitySettings_SaveColor_Button)
|
||||
|
||||
@allure.step('Wait until appears {0}')
|
||||
def wait_until_appears(self, timeout_msec: int = configs.timeouts.UI_LOAD_TIMEOUT_MSEC):
|
||||
|
|
|
@ -5,16 +5,17 @@ from gui.components.base_popup import BasePopup
|
|||
from gui.elements.button import Button
|
||||
from gui.elements.object import QObject
|
||||
from gui.elements.text_edit import TextEdit
|
||||
from gui.objects_map import names
|
||||
|
||||
|
||||
class AuthenticatePopup(BasePopup):
|
||||
|
||||
def __init__(self):
|
||||
super().__init__()
|
||||
self._content = QObject('keycardSharedPopupContent_KeycardPopupContent')
|
||||
self._passwort_text_edit = TextEdit('password_PlaceholderText')
|
||||
self._authenticate_button = Button('authenticate_StatusButton')
|
||||
self._close_button = Button('headerCloseButton_StatusFlatRoundButton')
|
||||
self._content = QObject(names.keycardSharedPopupContent_KeycardPopupContent)
|
||||
self._passwort_text_edit = TextEdit(names.password_PlaceholderText)
|
||||
self._authenticate_button = Button(names.authenticate_StatusButton)
|
||||
self._close_button = Button(names.headerCloseButton_StatusFlatRoundButton)
|
||||
|
||||
@allure.step('Wait until appears {0}')
|
||||
def wait_until_appears(self, timeout_msec: int = configs.timeouts.UI_LOAD_TIMEOUT_MSEC):
|
||||
|
|
|
@ -7,15 +7,16 @@ from gui.elements.button import Button
|
|||
from gui.elements.check_box import CheckBox
|
||||
from gui.elements.object import QObject
|
||||
from gui.elements.text_edit import TextEdit
|
||||
from gui.objects_map import names
|
||||
|
||||
|
||||
class CategoryPopup(BasePopup):
|
||||
|
||||
def __init__(self):
|
||||
super(CategoryPopup, self).__init__()
|
||||
self._name_text_edit = TextEdit('createOrEditCommunityCategoryNameInput_TextEdit')
|
||||
self._channel_item_checkbox = CheckBox('channelItemCheckbox_StatusCheckBox')
|
||||
self._channels_view = QObject('createOrEditCommunityCategoryChannelList_StatusListView')
|
||||
self._name_text_edit = TextEdit(names.createOrEditCommunityCategoryNameInput_TextEdit)
|
||||
self._channel_item_checkbox = CheckBox(names.channelItemCheckbox_StatusCheckBox)
|
||||
self._channels_view = QObject(names.createOrEditCommunityCategoryChannelList_StatusListView)
|
||||
|
||||
@allure.step('Wait until appears {0}')
|
||||
def wait_until_appears(self, timeout_msec: int = configs.timeouts.UI_LOAD_TIMEOUT_MSEC):
|
||||
|
@ -41,7 +42,7 @@ class NewCategoryPopup(CategoryPopup):
|
|||
|
||||
def __init__(self):
|
||||
super(NewCategoryPopup, self).__init__()
|
||||
self._create_button = Button('create_StatusButton')
|
||||
self._create_button = Button(names.create_StatusButton)
|
||||
|
||||
@allure.step('Create category')
|
||||
def create(self, name: str, checkbox_state: bool):
|
||||
|
@ -56,8 +57,8 @@ class EditCategoryPopup(CategoryPopup):
|
|||
|
||||
def __init__(self):
|
||||
super(EditCategoryPopup, self).__init__()
|
||||
self._delete_button = Button('delete_Category_StatusButton')
|
||||
self._save_button = Button('save_StatusButton')
|
||||
self._delete_button = Button(names.delete_Category_StatusButton)
|
||||
self._save_button = Button(names.save_StatusButton)
|
||||
|
||||
@allure.step('Click save in edit category popup')
|
||||
def save(self):
|
||||
|
|
|
@ -3,16 +3,17 @@ from gui.components.base_popup import BasePopup
|
|||
from gui.components.emoji_popup import EmojiPopup
|
||||
from gui.elements.button import Button
|
||||
from gui.elements.text_edit import TextEdit
|
||||
from gui.objects_map import names
|
||||
|
||||
|
||||
class ChannelPopup(BasePopup):
|
||||
|
||||
def __init__(self):
|
||||
super(ChannelPopup, self).__init__()
|
||||
self._name_text_edit = TextEdit('createOrEditCommunityChannelNameInput_TextEdit')
|
||||
self._description_text_edit = TextEdit('createOrEditCommunityChannelDescriptionInput_TextEdit')
|
||||
self._save_create_button = Button('createOrEditCommunityChannelBtn_StatusButton')
|
||||
self._emoji_button = Button('createOrEditCommunityChannel_EmojiButton')
|
||||
self._name_text_edit = TextEdit(names.createOrEditCommunityChannelNameInput_TextEdit)
|
||||
self._description_text_edit = TextEdit(names.createOrEditCommunityChannelDescriptionInput_TextEdit)
|
||||
self._save_create_button = Button(names.createOrEditCommunityChannelBtn_StatusButton)
|
||||
self._emoji_button = Button(names.createOrEditCommunityChannel_EmojiButton)
|
||||
|
||||
def wait_until_appears(self, timeout_msec: int = configs.timeouts.UI_LOAD_TIMEOUT_MSEC):
|
||||
self._name_text_edit.wait_until_appears(timeout_msec)
|
||||
|
|
|
@ -13,6 +13,7 @@ from gui.elements.check_box import CheckBox
|
|||
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.screens.community import CommunityScreen
|
||||
|
||||
LOG = logging.getLogger(__name__)
|
||||
|
@ -22,7 +23,7 @@ class CreateCommunitiesBanner(BasePopup):
|
|||
|
||||
def __init__(self):
|
||||
super().__init__()
|
||||
self._crete_community_button = Button('create_new_StatusButton')
|
||||
self._crete_community_button = Button(names.create_new_StatusButton)
|
||||
|
||||
def open_create_community_popup(self) -> 'CreateCommunityPopup':
|
||||
self._crete_community_button.click()
|
||||
|
@ -33,22 +34,22 @@ class CreateCommunityPopup(BasePopup):
|
|||
|
||||
def __init__(self):
|
||||
super().__init__()
|
||||
self._scroll = Scroll('o_Flickable')
|
||||
self._name_text_edit = TextEdit('createCommunityNameInput_TextEdit')
|
||||
self._description_text_edit = TextEdit('createCommunityDescriptionInput_TextEdit')
|
||||
self._add_logo_button = Button('addButton_StatusRoundButton2')
|
||||
self._add_banner_button = Button('addButton_StatusRoundButton')
|
||||
self._select_color_button = Button('StatusPickerButton')
|
||||
self._choose_tag_button = Button('choose_tags_StatusPickerButton')
|
||||
self._archive_support_checkbox = CheckBox('archiveSupportToggle_StatusCheckBox')
|
||||
self._request_to_join_checkbox = CheckBox('requestToJoinToggle_StatusCheckBox')
|
||||
self._pin_messages_checkbox = CheckBox('pinMessagesToggle_StatusCheckBox')
|
||||
self._next_button = Button('createCommunityNextBtn_StatusButton')
|
||||
self._intro_text_edit = TextEdit('createCommunityIntroMessageInput_TextEdit')
|
||||
self._outro_text_edit = TextEdit('createCommunityOutroMessageInput_TextEdit')
|
||||
self._create_community_button = Button('createCommunityFinalBtn_StatusButton')
|
||||
self._cropped_image_logo_item = QObject('croppedImageLogo')
|
||||
self._cropped_image_banner_item = QObject('croppedImageBanner')
|
||||
self._scroll = Scroll(names.o_Flickable)
|
||||
self._name_text_edit = TextEdit(names.createCommunityNameInput_TextEdit)
|
||||
self._description_text_edit = TextEdit(names.createCommunityDescriptionInput_TextEdit)
|
||||
self._add_logo_button = Button(names.addButton_StatusRoundButton2)
|
||||
self._add_banner_button = Button(names.addButton_StatusRoundButton)
|
||||
self._select_color_button = Button(names.StatusPickerButton)
|
||||
self._choose_tag_button = Button(names.choose_tags_StatusPickerButton)
|
||||
self._archive_support_checkbox = CheckBox(names.archiveSupportToggle_StatusCheckBox)
|
||||
self._request_to_join_checkbox = CheckBox(names.requestToJoinToggle_StatusCheckBox)
|
||||
self._pin_messages_checkbox = CheckBox(names.pinMessagesToggle_StatusCheckBox)
|
||||
self._next_button = Button(names.createCommunityNextBtn_StatusButton)
|
||||
self._intro_text_edit = TextEdit(names.createCommunityIntroMessageInput_TextEdit)
|
||||
self._outro_text_edit = TextEdit(names.createCommunityOutroMessageInput_TextEdit)
|
||||
self._create_community_button = Button(names.createCommunityFinalBtn_StatusButton)
|
||||
self._cropped_image_logo_item = QObject(names.croppedImageLogo)
|
||||
self._cropped_image_banner_item = QObject(names.croppedImageBanner)
|
||||
|
||||
@property
|
||||
@allure.step('Get community name')
|
||||
|
|
|
@ -8,17 +8,18 @@ from gui.components.base_popup import BasePopup
|
|||
from gui.elements.button import Button
|
||||
from gui.elements.object import QObject
|
||||
from gui.elements.text_edit import TextEdit
|
||||
from gui.objects_map import names
|
||||
|
||||
|
||||
class InviteContactsPopup(BasePopup):
|
||||
|
||||
def __init__(self):
|
||||
super().__init__()
|
||||
self._member_item = QObject('o_StatusMemberListItem')
|
||||
self._next_button = Button('next_StatusButton')
|
||||
self._message_text_edit = TextEdit('communityProfilePopupInviteMessagePanel_MessageInput_TextEdit')
|
||||
self._invited_member_item = QObject('o_StatusMemberListItem_2')
|
||||
self._send_button = Button('send_1_invite_StatusButton')
|
||||
self._member_item = QObject(names.o_StatusMemberListItem)
|
||||
self._next_button = Button(names.next_StatusButton)
|
||||
self._message_text_edit = TextEdit(names.communityProfilePopupInviteMessagePanel_MessageInput_TextEdit)
|
||||
self._invited_member_item = QObject(names.o_StatusMemberListItem_2)
|
||||
self._send_button = Button(names.send_1_invite_StatusButton)
|
||||
|
||||
@property
|
||||
@allure.step('Get contacts')
|
||||
|
|
|
@ -8,14 +8,15 @@ import driver
|
|||
from gui.components.base_popup import BasePopup
|
||||
from gui.elements.button import Button
|
||||
from gui.elements.object import QObject
|
||||
from gui.objects_map import names
|
||||
|
||||
|
||||
class TagsSelectPopup(BasePopup):
|
||||
|
||||
def __init__(self):
|
||||
super().__init__()
|
||||
self._tag_template = QObject('o_StatusCommunityTag')
|
||||
self._save_button = Button('confirm_Community_Tags_StatusButton')
|
||||
self._tag_template = QObject(names.o_StatusCommunityTag)
|
||||
self._save_button = Button(names.confirm_Community_Tags_StatusButton)
|
||||
|
||||
@allure.step('Wait until appears {0}')
|
||||
def wait_until_appears(self, timeout_msec: int = configs.timeouts.UI_LOAD_TIMEOUT_MSEC):
|
||||
|
|
|
@ -5,6 +5,7 @@ from gui.components.community.authenticate_popup import AuthenticatePopup
|
|||
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 scripts.tools.image import Image
|
||||
|
||||
|
||||
|
@ -12,13 +13,13 @@ class WelcomeCommunityPopup(BasePopup):
|
|||
|
||||
def __init__(self):
|
||||
super().__init__()
|
||||
self._title_text_label = TextLabel('headerTitle_StatusBaseText')
|
||||
self._community_icon = QObject('image_StatusImage')
|
||||
self._intro_text_label = TextLabel('intro_StatusBaseText')
|
||||
self._select_address_button = Button('select_addresses_to_share_StatusFlatButton')
|
||||
self._join_button = Button('join_StatusButton')
|
||||
self._authenticate_button = Button('welcome_authenticate_StatusButton')
|
||||
self._share_address_button = Button('share_your_addresses_to_join_StatusButton')
|
||||
self._title_text_label = TextLabel(names.headerTitle_StatusBaseText)
|
||||
self._community_icon = QObject(names.image_StatusImage)
|
||||
self._intro_text_label = TextLabel(names.intro_StatusBaseText)
|
||||
self._select_address_button = Button(names.select_addresses_to_share_StatusFlatButton)
|
||||
self._join_button = Button(names.join_StatusButton)
|
||||
self._authenticate_button = Button(names.welcome_authenticate_StatusButton)
|
||||
self._share_address_button = Button(names.share_your_addresses_to_join_StatusButton)
|
||||
|
||||
@property
|
||||
@allure.step('Get title')
|
||||
|
|
|
@ -1,19 +1,20 @@
|
|||
import allure
|
||||
|
||||
from gui.elements.object import QObject
|
||||
from gui.objects_map import names
|
||||
|
||||
|
||||
class ContextMenu(QObject):
|
||||
|
||||
def __init__(self):
|
||||
super(ContextMenu, self).__init__('contextMenu_PopupItem')
|
||||
self._menu_item = QObject('contextMenuItem')
|
||||
self._context_add_watched_address_option = QObject('contextMenuItem_AddWatchOnly')
|
||||
self._context_delete_account_option = QObject('contextMenuItem_Delete')
|
||||
self._context_edit_account_option = QObject('contextMenuItem_Edit')
|
||||
self._context_hide_include_in_total_balance = QObject('contextMenuItem_HideInclude')
|
||||
self._context_edit_saved_address_option = QObject('contextSavedAddressEdit')
|
||||
self._context_delete_saved_address_option = QObject('contextSavedAddressDelete')
|
||||
super(ContextMenu, self).__init__(names.contextMenu_PopupItem)
|
||||
self._menu_item = QObject(names.contextMenuItem)
|
||||
self._context_add_watched_address_option = QObject(names.contextMenuItem_AddWatchOnly)
|
||||
self._context_delete_account_option = QObject(names.contextMenuItem_Delete)
|
||||
self._context_edit_account_option = QObject(names.contextMenuItem_Edit)
|
||||
self._context_hide_include_in_total_balance = QObject(names.contextMenuItem_HideInclude)
|
||||
self._context_edit_saved_address_option = QObject(names.contextSavedAddressEdit)
|
||||
self._context_delete_saved_address_option = QObject(names.contextSavedAddressDelete)
|
||||
|
||||
@allure.step('Select in context menu')
|
||||
def select(self, value: str):
|
||||
|
|
|
@ -2,13 +2,14 @@ import allure
|
|||
|
||||
from gui.components.base_popup import BasePopup
|
||||
from gui.elements.button import Button
|
||||
from gui.objects_map import names
|
||||
|
||||
|
||||
class DeletePopup(BasePopup):
|
||||
|
||||
def __init__(self):
|
||||
super().__init__()
|
||||
self._delete_button = Button('delete_StatusButton')
|
||||
self._delete_button = Button(names.delete_StatusButton)
|
||||
|
||||
@allure.step("Delete channel")
|
||||
def delete(self, attempts: int = 2):
|
||||
|
@ -27,4 +28,4 @@ class DeleteCategoryPopup(DeletePopup):
|
|||
|
||||
def __init__(self):
|
||||
super().__init__()
|
||||
self._delete_button = Button('confirm_StatusButton')
|
||||
self._delete_button = Button(names.confirm_StatusButton)
|
||||
|
|
|
@ -3,14 +3,14 @@ import allure
|
|||
import configs
|
||||
from gui.elements.object import QObject
|
||||
from gui.elements.text_edit import TextEdit
|
||||
from .base_popup import BasePopup
|
||||
from gui.objects_map import names
|
||||
|
||||
|
||||
class EmojiPopup(QObject):
|
||||
def __init__(self):
|
||||
super(EmojiPopup, self).__init__('mainWallet_AddEditAccountPopup_AccountEmojiSearchBox')
|
||||
self._search_text_edit = TextEdit('mainWallet_AddEditAccountPopup_AccountEmojiSearchBox')
|
||||
self._emoji_item = QObject('mainWallet_AddEditAccountPopup_AccountEmoji')
|
||||
super(EmojiPopup, self).__init__(names.mainWallet_AddEditAccountPopup_AccountEmojiSearchBox)
|
||||
self._search_text_edit = TextEdit(names.mainWallet_AddEditAccountPopup_AccountEmojiSearchBox)
|
||||
self._emoji_item = QObject(names.mainWallet_AddEditAccountPopup_AccountEmoji)
|
||||
|
||||
@allure.step('Wait until appears {0}')
|
||||
def wait_until_appears(self, timeout_msec: int = configs.timeouts.UI_LOAD_TIMEOUT_MSEC):
|
||||
|
|
|
@ -3,14 +3,15 @@ import allure
|
|||
from gui.components.base_popup import BasePopup
|
||||
from gui.elements.button import Button
|
||||
from gui.elements.text_edit import TextEdit
|
||||
from gui.objects_map import names
|
||||
|
||||
|
||||
class EditGroupNameAndImagePopup(BasePopup):
|
||||
|
||||
def __init__(self):
|
||||
super(EditGroupNameAndImagePopup, self).__init__()
|
||||
self._group_name_field = TextEdit('groupChatEdit_name_TextEdit')
|
||||
self._save_changes_button = Button('save_changes_StatusButton')
|
||||
self._group_name_field = TextEdit(names.groupChatEdit_name_TextEdit)
|
||||
self._save_changes_button = Button(names.save_changes_StatusButton)
|
||||
|
||||
@allure.step('Change group name')
|
||||
def change_group_name(self, name: str):
|
||||
|
|
|
@ -2,13 +2,14 @@ import allure
|
|||
|
||||
from gui.components.base_popup import BasePopup
|
||||
from gui.elements.button import Button
|
||||
from gui.objects_map import names
|
||||
|
||||
|
||||
class LeaveGroupPopup(BasePopup):
|
||||
|
||||
def __init__(self):
|
||||
super().__init__()
|
||||
self._leave_button = Button('leave_StatusButton')
|
||||
self._leave_button = Button(names.leave_StatusButton)
|
||||
|
||||
@allure.step("Confirm leaving group")
|
||||
def confirm_leaving(self):
|
||||
|
|
|
@ -4,17 +4,18 @@ from gui.components.base_popup import BasePopup
|
|||
from gui.elements.button import Button
|
||||
from gui.elements.check_box import CheckBox
|
||||
from gui.elements.object import QObject
|
||||
from gui.objects_map import names
|
||||
|
||||
|
||||
class BeforeStartedPopUp(BasePopup):
|
||||
|
||||
def __init__(self):
|
||||
super(BeforeStartedPopUp, self).__init__()
|
||||
self._acknowledge_checkbox = CheckBox('acknowledge_checkbox')
|
||||
self._terms_of_use_checkBox = CheckBox('termsOfUseCheckBox_StatusCheckBox')
|
||||
self._get_started_button = Button('getStartedStatusButton_StatusButton')
|
||||
self._terms_of_use_link = QObject('termsOfUseLink_StatusBaseText')
|
||||
self._privacy_policy_link = QObject('privacyPolicyLink_StatusBaseText')
|
||||
self._acknowledge_checkbox = CheckBox(names.acknowledge_checkbox)
|
||||
self._terms_of_use_checkBox = CheckBox(names.termsOfUseCheckBox_StatusCheckBox)
|
||||
self._get_started_button = Button(names.getStartedStatusButton_StatusButton)
|
||||
self._terms_of_use_link = QObject(names.termsOfUseLink_StatusBaseText)
|
||||
self._privacy_policy_link = QObject(names.privacyPolicyLink_StatusBaseText)
|
||||
|
||||
@property
|
||||
@allure.step('Get visible attribute')
|
||||
|
|
|
@ -4,15 +4,16 @@ from gui.components.base_popup import BasePopup
|
|||
from gui.elements.button import Button
|
||||
from gui.elements.check_box import CheckBox
|
||||
from gui.elements.object import QObject
|
||||
from gui.objects_map import names
|
||||
|
||||
|
||||
class BetaConsentPopup(QObject):
|
||||
|
||||
def __init__(self):
|
||||
self._agree_to_use_checkbox = CheckBox('agreeToUse_StatusCheckBox')
|
||||
self._ready_to_use_checkbox = CheckBox('readyToUse_StatusCheckBox')
|
||||
self._ready_to_use_button = Button('i_m_ready_to_use_Status_Desktop_Beta_StatusButton')
|
||||
super(BetaConsentPopup, self).__init__('betaConsent_StatusModal')
|
||||
self._agree_to_use_checkbox = CheckBox(names.agreeToUse_StatusCheckBox)
|
||||
self._ready_to_use_checkbox = CheckBox(names.readyToUse_StatusCheckBox)
|
||||
self._ready_to_use_button = Button(names.i_m_ready_to_use_Status_Desktop_Beta_StatusButton)
|
||||
super(BetaConsentPopup, self).__init__(names.betaConsent_StatusModal)
|
||||
|
||||
@allure.step('Confirm all')
|
||||
def confirm(self):
|
||||
|
|
|
@ -9,18 +9,19 @@ from gui.components.profile_popup import ProfilePopup
|
|||
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
|
||||
|
||||
|
||||
class OnlineIdentifier(QObject):
|
||||
|
||||
def __init__(self):
|
||||
super(OnlineIdentifier, self).__init__('onlineIdentifierProfileHeader')
|
||||
self._always_active_button = Button('userContextmenu_AlwaysActiveButton')
|
||||
self._inactive_button = Button('userContextmenu_InActiveButton')
|
||||
self._automatic_button = Button('userContextmenu_AutomaticButton')
|
||||
self._view_my_profile_button = Button('userContextMenu_ViewMyProfileAction')
|
||||
self._user_name_text_label = TextLabel('userLabel_StyledText')
|
||||
self._identicon_ring = QObject('o_StatusIdenticonRing')
|
||||
super(OnlineIdentifier, self).__init__(names.onlineIdentifierProfileHeader)
|
||||
self._always_active_button = Button(names.userContextmenu_AlwaysActiveButton)
|
||||
self._inactive_button = Button(names.userContextmenu_InActiveButton)
|
||||
self._automatic_button = Button(names.userContextmenu_AutomaticButton)
|
||||
self._view_my_profile_button = Button(names.userContextMenu_ViewMyProfileAction)
|
||||
self._user_name_text_label = TextLabel(names.userLabel_StyledText)
|
||||
self._identicon_ring = QObject(names.o_StatusIdenticonRing)
|
||||
|
||||
@allure.step('Wait until appears {0}')
|
||||
def wait_until_appears(self, timeout_msec: int = configs.timeouts.UI_LOAD_TIMEOUT_MSEC):
|
||||
|
@ -63,4 +64,3 @@ class OnlineIdentifier(QObject):
|
|||
self.open_profile_popup_from_online_identifier(attempts - 1)
|
||||
else:
|
||||
raise ex
|
||||
|
||||
|
|
|
@ -5,6 +5,7 @@ import allure
|
|||
import driver
|
||||
from gui.elements.text_edit import TextEdit
|
||||
from gui.elements.window import Window
|
||||
from gui.objects_map import names
|
||||
from scripts.utils.system_path import SystemPath
|
||||
|
||||
LOG = logging.getLogger(__name__)
|
||||
|
@ -13,8 +14,8 @@ LOG = logging.getLogger(__name__)
|
|||
class OpenFileDialog(Window):
|
||||
|
||||
def __init__(self):
|
||||
super(OpenFileDialog, self).__init__('chooseAnImageALogo_QQuickWindow')
|
||||
self._file_path_text_edit = TextEdit('titleBar_currentPathField_TextField')
|
||||
super(OpenFileDialog, self).__init__(names.chooseAnImageALogo_QQuickWindow)
|
||||
self._file_path_text_edit = TextEdit(names.titleBar_currentPathField_TextField)
|
||||
|
||||
@allure.step('Open file')
|
||||
def open_file(self, fp: SystemPath):
|
||||
|
|
|
@ -8,6 +8,7 @@ from gui.components.base_popup import BasePopup
|
|||
from gui.elements.button import Button
|
||||
from gui.elements.object import QObject
|
||||
from gui.elements.slider import Slider
|
||||
from gui.objects_map import names
|
||||
|
||||
shift_image = namedtuple('Shift', ['left', 'right', 'top', 'bottom'])
|
||||
|
||||
|
@ -16,10 +17,10 @@ class PictureEditPopup(BasePopup):
|
|||
|
||||
def __init__(self):
|
||||
super(PictureEditPopup, self).__init__()
|
||||
self._zoom_slider = Slider('o_StatusSlider')
|
||||
self._view = QObject('cropSpaceItem_Item')
|
||||
self._make_picture_button = Button('make_picture_StatusButton')
|
||||
self._slider_handler = QObject('o_DropShadow')
|
||||
self._zoom_slider = Slider(names.o_StatusSlider)
|
||||
self._view = QObject(names.cropSpaceItem_Item)
|
||||
self._make_picture_button = Button(names.make_picture_StatusButton)
|
||||
self._slider_handler = QObject(names.o_DropShadow)
|
||||
|
||||
@allure.step('Make picture')
|
||||
def make_picture(
|
||||
|
|
|
@ -7,20 +7,20 @@ from gui.components.base_popup import BasePopup
|
|||
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.screens.settings_profile import ProfileSettingsView
|
||||
from scripts.tools.image import Image
|
||||
|
||||
|
||||
class ProfilePopup(BasePopup):
|
||||
|
||||
def __init__(self):
|
||||
super(ProfilePopup, self).__init__()
|
||||
self._profile_image = QObject('ProfileHeader_userImage')
|
||||
self._user_name_label = TextLabel('ProfilePopup_displayName')
|
||||
self._edit_profile_button = Button('ProfilePopup_editButton')
|
||||
self._chat_key_text_label = TextLabel('https_status_app_StatusBaseText')
|
||||
self._emoji_hash = QObject('profileDialog_userEmojiHash_EmojiHash')
|
||||
self._chat_key_copy_button = Button('copy_icon_CopyButton')
|
||||
self._profile_image = QObject(names.ProfileHeader_userImage)
|
||||
self._user_name_label = TextLabel(names.ProfilePopup_displayName)
|
||||
self._edit_profile_button = Button(names.ProfilePopup_editButton)
|
||||
self._chat_key_text_label = TextLabel(names.https_status_app_StatusBaseText)
|
||||
self._emoji_hash = QObject(names.profileDialog_userEmojiHash_EmojiHash)
|
||||
self._chat_key_copy_button = Button(names.copy_icon_CopyButton)
|
||||
|
||||
@property
|
||||
@allure.step('Get profile image')
|
||||
|
|
|
@ -2,14 +2,15 @@ import allure
|
|||
|
||||
from gui.elements.button import Button
|
||||
from gui.elements.object import QObject
|
||||
from gui.objects_map import names
|
||||
|
||||
|
||||
class ChangesDetectedToastMessage(QObject):
|
||||
|
||||
def __init__(self):
|
||||
super(ChangesDetectedToastMessage, self).__init__(
|
||||
'mainWindow_settingsDirtyToastMessage_SettingsDirtyToastMessage')
|
||||
self._save_button = Button('settingsSave_StatusButton')
|
||||
names.mainWindow_settingsDirtyToastMessage_SettingsDirtyToastMessage)
|
||||
self._save_button = Button(names.settingsSave_StatusButton)
|
||||
|
||||
@allure.step('Save changes')
|
||||
def save(self):
|
||||
|
|
|
@ -13,38 +13,38 @@ from gui.elements.check_box import CheckBox
|
|||
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
|
||||
|
||||
|
||||
class KeycardPopup(BasePopup):
|
||||
|
||||
def __init__(self):
|
||||
super().__init__()
|
||||
self._keycard_image = QObject('img_Image')
|
||||
self._keycard_popup_header = TextLabel('headerTitle')
|
||||
self._keycard_instruction_text = TextLabel('keycard_reader_instruction_text')
|
||||
self._next_button = Button('nextStatusButton')
|
||||
self._reveal_seed_phrase_button = Button('revealSeedPhraseButton')
|
||||
self._seed_phrase_panel = QObject('seedPhraseWordAtIndex_Placeholder')
|
||||
self._seed_phrase_first_word_component = QObject('word0_StatusInput')
|
||||
self._seed_phrase_second_word_component = QObject('word1_StatusInput')
|
||||
self._seed_phrase_third_word_component = QObject('word2_StatusInput')
|
||||
self._seed_phrase_word_text_edit = TextEdit('statusSeedPhraseInputField_TextEdit')
|
||||
self._seed_phrase_12_words_button = Button('switchTabBar_12_words_StatusSwitchTabButton')
|
||||
self._seed_phrase_18_words_button = Button('switchTabBar_18_words_StatusSwitchTabButton')
|
||||
self._seed_phrase_24_words_button = Button('switchTabBar_24_words_StatusSwitchTabButton')
|
||||
self._field_object = QObject('edit_TextEdit')
|
||||
self._keypair_item = QObject('o_KeyPairItem')
|
||||
self._keypair_on_keycard_item = QObject('o_KeyPairUnknownItem')
|
||||
self._keypair_tag = QObject('o_StatusListItemTag')
|
||||
self._selection_box = QObject('radioButton_StatusRadioButton')
|
||||
self._keycard_init = QObject('o_KeycardInit')
|
||||
self._cancel_button = Button('cancel_StatusButton')
|
||||
self._keycard_image = QObject(names.img_Image)
|
||||
self._keycard_popup_header = TextLabel(names.headerTitle)
|
||||
self._keycard_instruction_text = TextLabel(names.keycard_reader_instruction_text)
|
||||
self._next_button = Button(names.nextStatusButton)
|
||||
self._reveal_seed_phrase_button = Button(names.revealSeedPhraseButton)
|
||||
self._seed_phrase_panel = QObject(names.seedPhraseWordAtIndex_Placeholder)
|
||||
self._seed_phrase_first_word_component = QObject(names.word0_StatusInput)
|
||||
self._seed_phrase_second_word_component = QObject(names.word1_StatusInput)
|
||||
self._seed_phrase_third_word_component = QObject(names.word2_StatusInput)
|
||||
self._seed_phrase_word_text_edit = TextEdit(names.statusSeedPhraseInputField_TextEdit)
|
||||
self._seed_phrase_12_words_button = Button(names.switchTabBar_12_words_StatusSwitchTabButton)
|
||||
self._seed_phrase_18_words_button = Button(names.switchTabBar_18_words_StatusSwitchTabButton)
|
||||
self._seed_phrase_24_words_button = Button(names.switchTabBar_24_words_StatusSwitchTabButton)
|
||||
self._field_object = QObject(names.edit_TextEdit)
|
||||
self._keypair_item = QObject(names.o_KeyPairItem)
|
||||
self._keypair_on_keycard_item = QObject(names.o_KeyPairUnknownItem)
|
||||
self._keypair_tag = QObject(names.o_StatusListItemTag)
|
||||
self._selection_box = QObject(names.radioButton_StatusRadioButton)
|
||||
self._keycard_init = QObject(names.o_KeycardInit)
|
||||
self._cancel_button = Button(names.cancel_StatusButton)
|
||||
self._understand_keypair_deleted_checkbox = CheckBox(
|
||||
'i_understand_the_key_pair_on_this_Keycard_will_be_deleted_StatusCheckBox')
|
||||
self._emoji_button = QObject('statusSmartIdenticonLetter_StatusLetterIdenticon')
|
||||
self._add_another_account_button = Button('add_another_account_StatusButton')
|
||||
self._secondary_button = Button('secondary_StatusButton')
|
||||
self._color_radiobutton = QObject('color_StatusColorRadioButton')
|
||||
names.i_understand_the_key_pair_on_this_Keycard_will_be_deleted_StatusCheckBox)
|
||||
self._emoji_button = QObject(names.statusSmartIdenticonLetter_StatusLetterIdenticon)
|
||||
self._secondary_button = Button(names.secondary_StatusButton)
|
||||
self._color_radiobutton = QObject(names.color_StatusColorRadioButton)
|
||||
|
||||
@property
|
||||
@allure.step('Get keycard image source path')
|
||||
|
@ -87,7 +87,7 @@ class KeycardPopup(BasePopup):
|
|||
def account_tags(self) -> typing.List[wallet_account_list_item]:
|
||||
_account_tags = []
|
||||
for account_tag_item in driver.findAllObjects(self._keypair_tag.real_name):
|
||||
element = QObject(name='', real_name=driver.objectMap.realName(account_tag_item))
|
||||
element = QObject(real_name=driver.objectMap.realName(account_tag_item))
|
||||
name = str(account_tag_item.title)
|
||||
icon_emoji = str(account_tag_item.asset.emoji)
|
||||
icon_color = str(account_tag_item.bgColor.name)
|
||||
|
|
|
@ -6,18 +6,19 @@ from gui.components.base_popup import BasePopup
|
|||
from gui.elements.button import Button
|
||||
from gui.elements.object import QObject
|
||||
from gui.elements.text_edit import TextEdit
|
||||
from gui.objects_map import names
|
||||
|
||||
|
||||
class RespondToIDRequestPopup(BasePopup):
|
||||
|
||||
def __init__(self):
|
||||
super().__init__()
|
||||
self._message_input = QObject('messageInput_StatusInput')
|
||||
self._answer_to_verification_request_field = TextEdit('edit_TextEdit')
|
||||
self._send_answer_button = Button('send_Answer_StatusButton')
|
||||
self._refuse_verification_button = Button('refuse_Verification_StatusButton')
|
||||
self._change_answer_button = Button('change_answer_StatusFlatButton')
|
||||
self._close_button = Button('close_StatusButton')
|
||||
self._message_input = QObject(names.messageInput_StatusInput)
|
||||
self._answer_to_verification_request_field = TextEdit(names.edit_TextEdit)
|
||||
self._send_answer_button = Button(names.send_Answer_StatusButton)
|
||||
self._refuse_verification_button = Button(names.refuse_Verification_StatusButton)
|
||||
self._change_answer_button = Button(names.change_answer_StatusFlatButton)
|
||||
self._close_button = Button(names.close_StatusButton)
|
||||
|
||||
@property
|
||||
@allure.step('Get message note from identity verification request')
|
||||
|
|
|
@ -3,15 +3,16 @@ import allure
|
|||
from gui.components.base_popup import BasePopup
|
||||
from gui.elements.button import Button
|
||||
from gui.elements.text_edit import TextEdit
|
||||
from gui.objects_map import names
|
||||
|
||||
|
||||
class SendContactRequest(BasePopup):
|
||||
|
||||
def __init__(self):
|
||||
super().__init__()
|
||||
self._chat_key_text_edit = TextEdit('sendContactRequestModal_ChatKey_Input_TextEdit')
|
||||
self._message_text_edit = TextEdit('sendContactRequestModal_SayWhoYouAre_Input_TextEdit')
|
||||
self._send_button = Button('send_Contact_Request_StatusButton')
|
||||
self._chat_key_text_edit = TextEdit(names.sendContactRequestModal_ChatKey_Input_TextEdit)
|
||||
self._message_text_edit = TextEdit(names.sendContactRequestModal_SayWhoYouAre_Input_TextEdit)
|
||||
self._send_button = Button(names.send_Contact_Request_StatusButton)
|
||||
|
||||
@allure.step('Send contact request')
|
||||
def send(self, chat_key: str, message: str):
|
||||
|
|
|
@ -2,13 +2,14 @@ import allure
|
|||
|
||||
from gui.components.base_popup import BasePopup
|
||||
from gui.elements.button import Button
|
||||
from gui.objects_map import names
|
||||
|
||||
|
||||
class SignOutPopup(BasePopup):
|
||||
|
||||
def __init__(self):
|
||||
super().__init__()
|
||||
self._sign_out_and_quit_button = Button('signOutConfirmationButton')
|
||||
self._sign_out_and_quit_button = Button(names.signOutConfirmationButton)
|
||||
|
||||
@allure.step('Click sign out and quit button')
|
||||
def sign_out_and_quit(self, attempts: int = 2):
|
||||
|
|
|
@ -5,17 +5,18 @@ from gui.components.base_popup import BasePopup
|
|||
from gui.elements.button import Button
|
||||
from gui.elements.object import QObject
|
||||
from gui.elements.text_edit import TextEdit
|
||||
from gui.objects_map import names
|
||||
|
||||
|
||||
class SyncNewDevicePopup(BasePopup):
|
||||
|
||||
def __init__(self):
|
||||
super().__init__()
|
||||
self._copy_button = Button('copy_SyncCodeStatusButton')
|
||||
self._done_button = Button('done_SyncCodeStatusButton')
|
||||
self._sync_code_field = TextEdit('syncCodeInput_StatusPasswordInput')
|
||||
self._close_button = Button('close_StatusButton')
|
||||
self._error_message = QObject('errorView_SyncingErrorMessage')
|
||||
self._copy_button = Button(names.copy_SyncCodeStatusButton)
|
||||
self._done_button = Button(names.done_SyncCodeStatusButton)
|
||||
self._sync_code_field = TextEdit(names.syncCodeInput_StatusPasswordInput)
|
||||
self._close_button = Button(names.close_StatusButton)
|
||||
self._error_message = QObject(names.errorView_SyncingErrorMessage)
|
||||
|
||||
@property
|
||||
@allure.step('Get primary error message')
|
||||
|
|
|
@ -5,15 +5,16 @@ import driver
|
|||
from gui.components.base_popup import BasePopup
|
||||
from gui.elements.object import QObject
|
||||
from gui.elements.text_edit import TextEdit
|
||||
from gui.objects_map import names
|
||||
|
||||
|
||||
class VerifyIdentityPopup(BasePopup):
|
||||
|
||||
def __init__(self):
|
||||
super().__init__()
|
||||
self._message_input = QObject('messageInput_StatusInput')
|
||||
self._identity_verification_text_field = TextEdit('profileSendContactRequestModal_sayWhoYouAreInput_TextEdit')
|
||||
self._send_verification_button = TextEdit('send_verification_request_StatusButton')
|
||||
self._message_input = QObject(names.messageInput_StatusInput)
|
||||
self._identity_verification_text_field = TextEdit(names.profileSendContactRequestModal_sayWhoYouAreInput_TextEdit)
|
||||
self._send_verification_button = TextEdit(names.send_verification_request_StatusButton)
|
||||
|
||||
@property
|
||||
@allure.step('Get message note from identity verification request')
|
||||
|
|
|
@ -2,13 +2,14 @@ import allure
|
|||
|
||||
from gui.elements.button import Button
|
||||
from gui.elements.object import QObject
|
||||
from gui.objects_map import names
|
||||
|
||||
|
||||
class SigningPhrasePopup(QObject):
|
||||
|
||||
def __init__(self):
|
||||
super(SigningPhrasePopup, self).__init__('signPhrase_Ok_Button')
|
||||
self._ok_got_it_button = Button('signPhrase_Ok_Button')
|
||||
super(SigningPhrasePopup, self).__init__(names.signPhrase_Ok_Button)
|
||||
self._ok_got_it_button = Button(names.signPhrase_Ok_Button)
|
||||
|
||||
@allure.step('Confirm signing phrase in popup')
|
||||
def confirm_phrase(self):
|
||||
|
|
|
@ -7,16 +7,17 @@ from gui.elements.button import Button
|
|||
from gui.elements.object import QObject
|
||||
from gui.elements.text_edit import TextEdit
|
||||
from .base_popup import BasePopup
|
||||
from ..objects_map import names
|
||||
|
||||
|
||||
class SocialLinksPopup(BasePopup):
|
||||
|
||||
def __init__(self):
|
||||
super(SocialLinksPopup, self).__init__()
|
||||
self._add_social_link_list_item = QObject('socialLink_StatusListItem')
|
||||
self._social_link_text_field = TextEdit('edit_TextEdit')
|
||||
self._back_button = Button('social_links_back_StatusBackButton')
|
||||
self._add_button = Button('social_links_add_StatusBackButton')
|
||||
self._add_social_link_list_item = QObject(names.socialLink_StatusListItem)
|
||||
self._social_link_text_field = TextEdit(names.edit_TextEdit)
|
||||
self._back_button = Button(names.social_links_back_StatusBackButton)
|
||||
self._add_button = Button(names.social_links_add_StatusBackButton)
|
||||
|
||||
@allure.step('Get social link')
|
||||
def _get_list_item(self, title: str) -> QObject:
|
||||
|
|
|
@ -2,12 +2,13 @@ import allure
|
|||
|
||||
import configs
|
||||
from gui.elements.object import QObject
|
||||
from gui.objects_map import names
|
||||
|
||||
|
||||
class SplashScreen(QObject):
|
||||
|
||||
def __init__(self):
|
||||
super(SplashScreen, self).__init__('splashScreen')
|
||||
super(SplashScreen, self).__init__(names.splashScreen)
|
||||
|
||||
@allure.step('Wait until appears {0}')
|
||||
def wait_until_appears(self, timeout_msec: int = configs.timeouts.UI_LOAD_TIMEOUT_MSEC):
|
||||
|
|
|
@ -2,13 +2,14 @@ import allure
|
|||
|
||||
import driver
|
||||
from gui.elements.object import QObject
|
||||
from gui.objects_map import names
|
||||
|
||||
|
||||
class ToastMessage(QObject):
|
||||
|
||||
def __init__(self):
|
||||
super(ToastMessage, self).__init__('ephemeral_Notification_List')
|
||||
self._toast_message = QObject('ephemeralNotificationList_StatusToastMessage')
|
||||
super(ToastMessage, self).__init__(names.ephemeral_Notification_List)
|
||||
self._toast_message = QObject(names.ephemeralNotificationList_StatusToastMessage)
|
||||
|
||||
@property
|
||||
@allure.step('Get toast messages')
|
||||
|
|
|
@ -6,27 +6,28 @@ from gui.elements.check_box import CheckBox
|
|||
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
|
||||
|
||||
|
||||
class AddSavedAddressPopup(BasePopup):
|
||||
def __init__(self):
|
||||
super(AddSavedAddressPopup, self).__init__()
|
||||
self._name_text_edit = TextEdit('mainWallet_Saved_Addreses_Popup_Name_Input')
|
||||
self._save_add_address_button = Button('mainWallet_Saved_Addreses_Popup_Address_Add_Button')
|
||||
self._add_networks_selector = QObject('mainWallet_Saved_Addreses_Popup_Add_Network_Selector_Tag')
|
||||
self._add_networks_button = Button('mainWallet_Saved_Addreses_Popup_Add_Network_Button')
|
||||
self._name_text_edit = TextEdit(names.mainWallet_Saved_Addreses_Popup_Name_Input)
|
||||
self._save_add_address_button = Button(names.mainWallet_Saved_Addreses_Popup_Address_Add_Button)
|
||||
self._add_networks_selector = QObject(names.mainWallet_Saved_Addreses_Popup_Add_Network_Selector_Tag)
|
||||
self._add_networks_button = Button(names.mainWallet_Saved_Addreses_Popup_Add_Network_Button)
|
||||
self._ethereum_mainnet_checkbox = CheckBox(
|
||||
'mainWallet_Saved_Addresses_Popup_Add_Network_Selector_Mainnet_checkbox')
|
||||
names.mainWallet_Saved_Addresses_Popup_Add_Network_Selector_Mainnet_checkbox)
|
||||
self._optimism_mainnet_checkbox = CheckBox(
|
||||
'mainWallet_Saved_Addresses_Popup_Add_Network_Selector_Optimism_checkbox')
|
||||
names.mainWallet_Saved_Addresses_Popup_Add_Network_Selector_Optimism_checkbox)
|
||||
self._arbitrum_mainnet_checkbox = CheckBox(
|
||||
'mainWallet_Saved_Addresses_Popup_Add_Network_Selector_Arbitrum_checkbox')
|
||||
names.mainWallet_Saved_Addresses_Popup_Add_Network_Selector_Arbitrum_checkbox)
|
||||
self._ethereum_mainnet_network_tag = QObject(
|
||||
'mainWallet_Saved_Addresses_Popup_Network_Selector_Mainnet_network_tag')
|
||||
names.mainWallet_Saved_Addresses_Popup_Network_Selector_Mainnet_network_tag)
|
||||
self._optimism_mainnet_network_tag = QObject(
|
||||
'mainWallet_Saved_Addresses_Popup_Network_Selector_Optimism_network_tag')
|
||||
names.mainWallet_Saved_Addresses_Popup_Network_Selector_Optimism_network_tag)
|
||||
self._arbitrum_mainnet_network_tag = QObject(
|
||||
'mainWallet_Saved_Addresses_Popup_Network_Selector_Arbitrum_network_tag')
|
||||
names.mainWallet_Saved_Addresses_Popup_Network_Selector_Arbitrum_network_tag)
|
||||
|
||||
@allure.step('Set ethereum mainnet network checkbox')
|
||||
def set_ethereum_mainnet_network(self, value: bool):
|
||||
|
@ -63,7 +64,7 @@ class AddSavedAddressPopup(BasePopup):
|
|||
class AddressPopup(AddSavedAddressPopup):
|
||||
def __init__(self):
|
||||
super(AddressPopup, self).__init__()
|
||||
self._address_text_edit = TextEdit('mainWallet_Saved_Addreses_Popup_Address_Input_Edit')
|
||||
self._address_text_edit = TextEdit(names.mainWallet_Saved_Addreses_Popup_Address_Input_Edit)
|
||||
|
||||
@allure.step('Add saved address')
|
||||
def add_saved_address(self, name: str, address: str):
|
||||
|
@ -88,7 +89,7 @@ class EditSavedAddressPopup(AddSavedAddressPopup):
|
|||
|
||||
def __init__(self):
|
||||
super(EditSavedAddressPopup, self).__init__()
|
||||
self._address_text_label = TextLabel('mainWallet_Saved_Addreses_Popup_Address_Input_Edit')
|
||||
self._address_text_label = TextLabel(names.mainWallet_Saved_Addreses_Popup_Address_Input_Edit)
|
||||
|
||||
@allure.step('Edit saved address')
|
||||
def edit_saved_address(self, new_name: str, address: str):
|
||||
|
|
|
@ -3,14 +3,15 @@ import allure
|
|||
from gui.elements.button import Button
|
||||
from gui.elements.object import QObject
|
||||
from gui.elements.text_edit import TextEdit
|
||||
from gui.objects_map import names
|
||||
|
||||
|
||||
class AuthenticatePopup(QObject):
|
||||
|
||||
def __init__(self):
|
||||
super(AuthenticatePopup, self).__init__('contextMenu_PopupItem')
|
||||
self._password_text_edit = TextEdit('sharedPopup_Password_Input')
|
||||
self._primary_button = Button('sharedPopup_Primary_Button')
|
||||
super(AuthenticatePopup, self).__init__(names.contextMenu_PopupItem)
|
||||
self._password_text_edit = TextEdit(names.sharedPopup_Password_Input)
|
||||
self._primary_button = Button(names.sharedPopup_Primary_Button)
|
||||
|
||||
@allure.step('Authenticate action with password')
|
||||
def authenticate(self, password: str, attempt: int = 2):
|
||||
|
|
|
@ -8,25 +8,26 @@ from gui.elements.button import Button
|
|||
from gui.elements.check_box import CheckBox
|
||||
from gui.elements.object import QObject
|
||||
from gui.elements.text_edit import TextEdit
|
||||
from gui.objects_map import names
|
||||
|
||||
|
||||
class BackUpYourSeedPhrasePopUp(BasePopup):
|
||||
|
||||
def __init__(self):
|
||||
super(BackUpYourSeedPhrasePopUp, self).__init__()
|
||||
self._i_have_a_pen_and_paper_check_box = CheckBox('mainWallet_AddEditAccountPopup_HavePenAndPaperCheckBox')
|
||||
self._i_have_a_pen_and_paper_check_box = CheckBox(names.mainWallet_AddEditAccountPopup_HavePenAndPaperCheckBox)
|
||||
self._i_know_where_i_ll_store_it_check_box = CheckBox(
|
||||
'mainWallet_AddEditAccountPopup_StoringSeedPhraseConfirmedCheckBox')
|
||||
names.mainWallet_AddEditAccountPopup_StoringSeedPhraseConfirmedCheckBox)
|
||||
self._i_am_ready_to_write_down_seed_phrase_check_box = CheckBox(
|
||||
'mainWallet_AddEditAccountPopup_SeedPhraseWrittenCheckBox')
|
||||
self._primary_button = Button('mainWallet_AddEditAccountPopup_PrimaryButton')
|
||||
self._reveal_seed_phrase_button = Button('mainWallet_AddEditAccountPopup_RevealSeedPhraseButton')
|
||||
self._seed_phrase_panel = QObject('confirmSeedPhrasePanel_StatusSeedPhraseInput')
|
||||
self._seed_phrase_word_component = QObject('mainWallet_AddEditAccountPopup_EnterSeedPhraseWordComponent')
|
||||
self._prove_word_seed_phrase_text_edit = TextEdit('mainWallet_AddEditAccountPopup_EnterSeedPhraseWord')
|
||||
self._acknowledge_check_box = CheckBox('mainWallet_AddEditAccountPopup_SeedBackupAknowledgeCheckBox')
|
||||
self._seed_phrase_name_text_edit = TextEdit('mainWallet_AddEditAccountPopup_GeneratedSeedPhraseKeyName')
|
||||
self._complete_and_delete_button = Button('completeAndDeleteSeedPhraseButton')
|
||||
names.mainWallet_AddEditAccountPopup_SeedPhraseWrittenCheckBox)
|
||||
self._primary_button = Button(names.mainWallet_AddEditAccountPopup_PrimaryButton)
|
||||
self._reveal_seed_phrase_button = Button(names.mainWallet_AddEditAccountPopup_RevealSeedPhraseButton)
|
||||
self._seed_phrase_panel = QObject(names.confirmSeedPhrasePanel_StatusSeedPhraseInput)
|
||||
self._seed_phrase_word_component = QObject(names.mainWallet_AddEditAccountPopup_EnterSeedPhraseWordComponent)
|
||||
self._prove_word_seed_phrase_text_edit = TextEdit(names.mainWallet_AddEditAccountPopup_EnterSeedPhraseWord)
|
||||
self._acknowledge_check_box = CheckBox(names.mainWallet_AddEditAccountPopup_SeedBackupAknowledgeCheckBox)
|
||||
self._seed_phrase_name_text_edit = TextEdit(names.mainWallet_AddEditAccountPopup_GeneratedSeedPhraseKeyName)
|
||||
self._complete_and_delete_button = Button(names.completeAndDeleteSeedPhraseButton)
|
||||
|
||||
@allure.step('Set have pen and paper checkbox')
|
||||
def set_have_pen_and_paper(self, value: bool):
|
||||
|
|
|
@ -3,15 +3,16 @@ import allure
|
|||
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
|
||||
|
||||
|
||||
class ConfirmationPopup(QObject):
|
||||
|
||||
def __init__(self):
|
||||
super(ConfirmationPopup, self).__init__('contextMenu_PopupItem')
|
||||
self._confirm_button = Button('mainWallet_Saved_Addresses_More_Confirm_Delete')
|
||||
self._cancel_button = Button('mainWallet_Saved_Addresses_More_Confirm_Cancel')
|
||||
self._confirmation_notification = TextLabel('mainWallet_Saved_Addresses_More_Confirm_Notification')
|
||||
super(ConfirmationPopup, self).__init__(names.contextMenu_PopupItem)
|
||||
self._confirm_button = Button(names.mainWallet_Saved_Addresses_More_Confirm_Delete)
|
||||
self._cancel_button = Button(names.mainWallet_Saved_Addresses_More_Confirm_Cancel)
|
||||
self._confirmation_notification = TextLabel(names.mainWallet_Saved_Addresses_More_Confirm_Notification)
|
||||
|
||||
@allure.step('Confirm delete action')
|
||||
def confirm(self):
|
||||
|
|
|
@ -5,6 +5,7 @@ from gui.components.base_popup import BasePopup
|
|||
from gui.elements.button import Button
|
||||
from gui.elements.check_box import CheckBox
|
||||
from gui.elements.text_label import TextLabel
|
||||
from gui.objects_map import names
|
||||
from gui.screens.settings_wallet import *
|
||||
from gui.elements.object import QObject
|
||||
|
||||
|
@ -13,12 +14,12 @@ class RemoveAccountConfirmationSettings(BasePopup):
|
|||
|
||||
def __init__(self):
|
||||
super(RemoveAccountConfirmationSettings, self).__init__()
|
||||
self._remove_confirmation_close_button = Button('removeConfirmationCrossCloseButton')
|
||||
self._remove_confirmation_title_text = TextLabel('removeConfirmationTextTitle')
|
||||
self._remove_confirmation_body_text = TextLabel('removeConfirmationTextBody')
|
||||
self._remove_confirmation_remove_account_button = Button('removeConfirmationRemoveButton')
|
||||
self._remove_confirmation_agreement_checkbox = CheckBox('removeConfirmationAgreementCheckBox')
|
||||
self._remove_confirmation_confirm_button = Button('removeConfirmationConfirmButton')
|
||||
self._remove_confirmation_close_button = Button(names.removeConfirmationCrossCloseButton)
|
||||
self._remove_confirmation_title_text = TextLabel(names.removeConfirmationTextTitle)
|
||||
self._remove_confirmation_body_text = TextLabel(names.removeConfirmationTextBody)
|
||||
self._remove_confirmation_remove_account_button = Button(names.removeConfirmationRemoveButton)
|
||||
self._remove_confirmation_agreement_checkbox = CheckBox(names.removeConfirmationAgreementCheckBox)
|
||||
self._remove_confirmation_confirm_button = Button(names.removeConfirmationConfirmButton)
|
||||
|
||||
@allure.step('Click Remove account button')
|
||||
def remove_account_with_confirmation(self):
|
||||
|
|
|
@ -4,15 +4,16 @@ import configs
|
|||
from gui.components.base_popup import BasePopup
|
||||
from gui.elements.button import Button
|
||||
from gui.elements.check_box import CheckBox
|
||||
from gui.objects_map import names
|
||||
|
||||
|
||||
class RemoveWalletAccountPopup(BasePopup):
|
||||
|
||||
def __init__(self):
|
||||
super(RemoveWalletAccountPopup, self).__init__()
|
||||
self._confirm_button = Button('mainWallet_Remove_Account_Popup_ConfirmButton')
|
||||
self._cancel_button = Button('mainWallet_Remove_Account_Popup_CancelButton')
|
||||
self._have_pen_paper_checkbox = CheckBox('mainWallet_Remove_Account_Popup_HavePenPaperCheckBox')
|
||||
self._confirm_button = Button(names.mainWallet_Remove_Account_Popup_ConfirmButton)
|
||||
self._cancel_button = Button(names.mainWallet_Remove_Account_Popup_CancelButton)
|
||||
self._have_pen_paper_checkbox = CheckBox(names.mainWallet_Remove_Account_Popup_HavePenPaperCheckBox)
|
||||
|
||||
@allure.step('Wait until appears {0}')
|
||||
def wait_until_appears(self, timeout_msec: int = configs.timeouts.UI_LOAD_TIMEOUT_MSEC):
|
||||
|
|
|
@ -1,35 +1,31 @@
|
|||
import time
|
||||
|
||||
import allure
|
||||
|
||||
import configs
|
||||
import constants
|
||||
import driver
|
||||
from driver.objects_access import wait_for_template
|
||||
from gui.components.base_popup import BasePopup
|
||||
from gui.components.community.authenticate_popup import AuthenticatePopup
|
||||
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
|
||||
|
||||
|
||||
class SendPopup(BasePopup):
|
||||
|
||||
def __init__(self):
|
||||
super().__init__()
|
||||
self._tab_item_template = QObject('tab_Status_template')
|
||||
self._search_field = TextEdit('search_TextEdit')
|
||||
self._asset_list_item = QObject('o_TokenBalancePerChainDelegate_template')
|
||||
self._amount_text_edit = TextEdit('amountInput_TextEdit')
|
||||
self._paste_button = Button('paste_StatusButton')
|
||||
self._ens_address_text_edit = TextEdit('ens_or_address_TextEdit')
|
||||
self._my_accounts_tab = Button('accountSelectionTabBar_My_Accounts_StatusTabButton')
|
||||
self._account_list_item = QObject('status_account_WalletAccountListItem_template')
|
||||
self._arbitrum_network = QObject('arbitrum_StatusListItem')
|
||||
self._mainnet_network = QObject('mainnet_StatusListItem')
|
||||
self._fiat_fees_label = TextLabel('fiatFees_StatusBaseText')
|
||||
self._send_button = Button('send_StatusFlatButton')
|
||||
self._tab_item_template = QObject(names.tab_Status_template)
|
||||
self._search_field = TextEdit(names.search_TextEdit)
|
||||
self._asset_list_item = QObject(names.o_TokenBalancePerChainDelegate_template)
|
||||
self._amount_text_edit = TextEdit(names.amountInput_TextEdit)
|
||||
self._paste_button = Button(names.paste_StatusButton)
|
||||
self._ens_address_text_edit = TextEdit(names.ens_or_address_TextEdit)
|
||||
self._my_accounts_tab = Button(names.accountSelectionTabBar_My_Accounts_StatusTabButton)
|
||||
self._account_list_item = QObject(names.status_account_WalletAccountListItem_template)
|
||||
self._arbitrum_network = QObject(names.arbitrum_StatusListItem)
|
||||
self._mainnet_network = QObject(names.mainnet_StatusListItem)
|
||||
self._fiat_fees_label = TextLabel(names.fiatFees_StatusBaseText)
|
||||
self._send_button = Button(names.send_StatusFlatButton)
|
||||
|
||||
def _select_asset(self, asset: str):
|
||||
for item in driver.findAllObjects(self._asset_list_item.real_name):
|
||||
|
|
|
@ -1,8 +1,9 @@
|
|||
from gui.elements.button import Button
|
||||
from gui.elements.object import QObject
|
||||
from gui.objects_map import names
|
||||
|
||||
|
||||
class TestnetModeBanner(QObject):
|
||||
def __init__(self):
|
||||
super(TestnetModeBanner, self).__init__('mainWindow_testnetBanner_ModuleWarning')
|
||||
self._turn_off_button = Button('mainWindow_Turn_off_Button')
|
||||
super(TestnetModeBanner, self).__init__(names.mainWindow_testnetBanner_ModuleWarning)
|
||||
self._turn_off_button = Button(names.mainWindow_Turn_off_Button)
|
||||
|
|
|
@ -2,15 +2,16 @@ import allure
|
|||
|
||||
from gui.components.base_popup import BasePopup
|
||||
from gui.elements.button import Button
|
||||
from gui.objects_map import names
|
||||
|
||||
|
||||
class TestnetModePopup(BasePopup):
|
||||
def __init__(self):
|
||||
super(TestnetModePopup, self).__init__()
|
||||
self._cancel_button = Button('testnet_mode_cancelButton')
|
||||
self._close_cross_button = Button('testnet_mode_closeCrossButton')
|
||||
self._turn_on_button = Button('turn_on_testnet_mode_StatusButton')
|
||||
self._turn_off_button = Button('turn_off_testnet_mode_StatusButton')
|
||||
self._cancel_button = Button(names.testnet_mode_cancelButton)
|
||||
self._close_cross_button = Button(names.testnet_mode_closeCrossButton)
|
||||
self._turn_on_button = Button(names.turn_on_testnet_mode_StatusButton)
|
||||
self._turn_off_button = Button(names.turn_off_testnet_mode_StatusButton)
|
||||
|
||||
@allure.step('Close testnet mode modal with cross button')
|
||||
def close_testnet_modal_with_cross_button(self, attempts: int = 2):
|
||||
|
|
|
@ -6,6 +6,7 @@ import allure
|
|||
import configs
|
||||
from constants.wallet import *
|
||||
import driver
|
||||
from gui.objects_map import names
|
||||
from gui.screens.settings_wallet import *
|
||||
from gui.components.base_popup import BasePopup
|
||||
from gui.components.emoji_popup import EmojiPopup
|
||||
|
@ -24,27 +25,27 @@ GENERATED_PAGES_LIMIT = 20
|
|||
class AccountPopup(BasePopup):
|
||||
def __init__(self):
|
||||
super(AccountPopup, self).__init__()
|
||||
self._scroll = Scroll('o_Flickable')
|
||||
self._name_text_edit = TextEdit('mainWallet_AddEditAccountPopup_AccountName')
|
||||
self._emoji_button = Button('mainWallet_AddEditAccountPopup_AccountEmojiPopupButton')
|
||||
self._color_radiobutton = QObject('color_StatusColorRadioButton')
|
||||
self._popup_header_title = TextLabel('mainWallet_AddEditAccountPopup_HeaderTitle')
|
||||
self._scroll = Scroll(names.o_Flickable)
|
||||
self._name_text_edit = TextEdit(names.mainWallet_AddEditAccountPopup_AccountName)
|
||||
self._emoji_button = Button(names.mainWallet_AddEditAccountPopup_AccountEmojiPopupButton)
|
||||
self._color_radiobutton = QObject(names.color_StatusColorRadioButton)
|
||||
self._popup_header_title = TextLabel(names.mainWallet_AddEditAccountPopup_HeaderTitle)
|
||||
# origin
|
||||
self._origin_combobox = QObject('mainWallet_AddEditAccountPopup_SelectedOrigin')
|
||||
self._watched_address_origin_item = QObject("mainWallet_AddEditAccountPopup_OriginOptionWatchOnlyAcc")
|
||||
self._new_master_key_origin_item = QObject('mainWallet_AddEditAccountPopup_OriginOptionNewMasterKey')
|
||||
self._existing_origin_item = QObject('addAccountPopup_OriginOption_StatusListItem')
|
||||
self._use_keycard_button = QObject('mainWallet_AddEditAccountPopup_MasterKey_GoToKeycardSettingsOption')
|
||||
self._origin_combobox = QObject(names.mainWallet_AddEditAccountPopup_SelectedOrigin)
|
||||
self._watched_address_origin_item = QObject(names.mainWallet_AddEditAccountPopup_OriginOptionWatchOnlyAcc)
|
||||
self._new_master_key_origin_item = QObject(names.mainWallet_AddEditAccountPopup_OriginOptionNewMasterKey)
|
||||
self._existing_origin_item = QObject(names.addAccountPopup_OriginOption_StatusListItem)
|
||||
self._use_keycard_button = QObject(names.mainWallet_AddEditAccountPopup_MasterKey_GoToKeycardSettingsOption)
|
||||
# derivation
|
||||
self._address_text_edit = TextEdit('mainWallet_AddEditAccountPopup_AccountWatchOnlyAddress')
|
||||
self._add_account_button = Button('mainWallet_AddEditAccountPopup_PrimaryButton')
|
||||
self._edit_derivation_path_button = Button('mainWallet_AddEditAccountPopup_EditDerivationPathButton')
|
||||
self._derivation_path_combobox_button = Button('mainWallet_AddEditAccountPopup_PreDefinedDerivationPathsButton')
|
||||
self._derivation_path_list_item = QObject('mainWallet_AddEditAccountPopup_derivationPath')
|
||||
self._reset_derivation_path_button = Button('mainWallet_AddEditAccountPopup_ResetDerivationPathButton')
|
||||
self._derivation_path_text_edit = TextEdit('mainWallet_AddEditAccountPopup_DerivationPathInput')
|
||||
self._address_combobox_button = Button('mainWallet_AddEditAccountPopup_GeneratedAddressComponent')
|
||||
self._non_eth_checkbox = CheckBox('mainWallet_AddEditAccountPopup_NonEthDerivationPathCheckBox')
|
||||
self._address_text_edit = TextEdit(names.mainWallet_AddEditAccountPopup_AccountWatchOnlyAddress)
|
||||
self._add_account_button = Button(names.mainWallet_AddEditAccountPopup_PrimaryButton)
|
||||
self._edit_derivation_path_button = Button(names.mainWallet_AddEditAccountPopup_EditDerivationPathButton)
|
||||
self._derivation_path_combobox_button = Button(names.mainWallet_AddEditAccountPopup_PreDefinedDerivationPathsButton)
|
||||
self._derivation_path_list_item = QObject(names.mainWallet_AddEditAccountPopup_derivationPath)
|
||||
self._reset_derivation_path_button = Button(names.mainWallet_AddEditAccountPopup_ResetDerivationPathButton)
|
||||
self._derivation_path_text_edit = TextEdit(names.mainWallet_AddEditAccountPopup_DerivationPathInput)
|
||||
self._address_combobox_button = Button(names.mainWallet_AddEditAccountPopup_GeneratedAddressComponent)
|
||||
self._non_eth_checkbox = CheckBox(names.mainWallet_AddEditAccountPopup_NonEthDerivationPathCheckBox)
|
||||
|
||||
def verify_account_popup_present(self, timeout_msec: int = configs.timeouts.UI_LOAD_TIMEOUT_MSEC):
|
||||
driver.waitFor(lambda: self._popup_header_title.exists, timeout_msec)
|
||||
|
@ -143,11 +144,11 @@ class AccountPopup(BasePopup):
|
|||
class EditAccountFromSettingsPopup(BasePopup):
|
||||
def __init__(self):
|
||||
super(EditAccountFromSettingsPopup, self).__init__()
|
||||
self._change_name_button = Button('editWalletSettings_renameButton')
|
||||
self._account_name_input = TextEdit('editWalletSettings_AccountNameInput')
|
||||
self._emoji_selector = QObject('editWalletSettings_EmojiSelector')
|
||||
self._color_radiobutton = QObject('editWalletSettings_ColorSelector')
|
||||
self._emoji_item = QObject('editWalletSettings_EmojiItem')
|
||||
self._change_name_button = Button(names.editWalletSettings_renameButton)
|
||||
self._account_name_input = TextEdit(names.editWalletSettings_AccountNameInput)
|
||||
self._emoji_selector = QObject(names.editWalletSettings_EmojiSelector)
|
||||
self._color_radiobutton = QObject(names.editWalletSettings_ColorSelector)
|
||||
self._emoji_item = QObject(names.editWalletSettings_EmojiItem)
|
||||
|
||||
@allure.step('Click Change name button')
|
||||
def click_change_name_button(self):
|
||||
|
@ -182,18 +183,18 @@ class AddNewAccountPopup(BasePopup):
|
|||
|
||||
def __init__(self):
|
||||
super(AddNewAccountPopup, self).__init__()
|
||||
self._import_private_key_button = Button('mainWallet_AddEditAccountPopup_MasterKey_ImportPrivateKeyOption')
|
||||
self._private_key_text_edit = TextEdit('mainWallet_AddEditAccountPopup_PrivateKey')
|
||||
self._private_key_name_text_edit = TextEdit('mainWallet_AddEditAccountPopup_PrivateKeyName')
|
||||
self._continue_button = Button('mainWallet_AddEditAccountPopup_PrimaryButton')
|
||||
self._import_seed_phrase_button = Button('mainWallet_AddEditAccountPopup_MasterKey_ImportSeedPhraseOption')
|
||||
self._generate_master_key_button = Button('mainWallet_AddEditAccountPopup_MasterKey_GenerateSeedPhraseOption')
|
||||
self._seed_phrase_12_words_button = Button("mainWallet_AddEditAccountPopup_12WordsButton")
|
||||
self._seed_phrase_18_words_button = Button("mainWallet_AddEditAccountPopup_18WordsButton")
|
||||
self._seed_phrase_24_words_button = Button("mainWallet_AddEditAccountPopup_24WordsButton")
|
||||
self._seed_phrase_word_text_edit = TextEdit('mainWallet_AddEditAccountPopup_SPWord')
|
||||
self._import_private_key_button = Button(names.mainWallet_AddEditAccountPopup_MasterKey_ImportPrivateKeyOption)
|
||||
self._private_key_text_edit = TextEdit(names.mainWallet_AddEditAccountPopup_PrivateKey)
|
||||
self._private_key_name_text_edit = TextEdit(names.mainWallet_AddEditAccountPopup_PrivateKeyName)
|
||||
self._continue_button = Button(names.mainWallet_AddEditAccountPopup_PrimaryButton)
|
||||
self._import_seed_phrase_button = Button(names.mainWallet_AddEditAccountPopup_MasterKey_ImportSeedPhraseOption)
|
||||
self._generate_master_key_button = Button(names.mainWallet_AddEditAccountPopup_MasterKey_GenerateSeedPhraseOption)
|
||||
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.mainWallet_AddEditAccountPopup_SPWord)
|
||||
self._seed_phrase_phrase_key_name_text_edit = TextEdit(
|
||||
'mainWallet_AddEditAccountPopup_ImportedSeedPhraseKeyName')
|
||||
names.mainWallet_AddEditAccountPopup_ImportedSeedPhraseKeyName)
|
||||
|
||||
@allure.step('Import private key')
|
||||
def import_private_key(self, private_key: str) -> str:
|
||||
|
@ -231,9 +232,9 @@ class AddNewAccountPopup(BasePopup):
|
|||
class GeneratedAddressesList(QObject):
|
||||
|
||||
def __init__(self):
|
||||
super(GeneratedAddressesList, self).__init__('statusDesktop_mainWindow_overlay_popup2')
|
||||
self._address_list_item = QObject('addAccountPopup_GeneratedAddress')
|
||||
self._paginator_page = QObject('page_StatusBaseButton')
|
||||
super(GeneratedAddressesList, self).__init__(names.statusDesktop_mainWindow_overlay_popup2)
|
||||
self._address_list_item = QObject(names.addAccountPopup_GeneratedAddress)
|
||||
self._paginator_page = QObject(names.page_StatusBaseButton)
|
||||
|
||||
@property
|
||||
@allure.step('Load generated addresses list')
|
||||
|
|
|
@ -6,7 +6,7 @@ import allure
|
|||
|
||||
import configs
|
||||
import driver
|
||||
from gui import objects_map
|
||||
from gui.objects_map import names
|
||||
from scripts.tools.image import Image
|
||||
|
||||
LOG = logging.getLogger(__name__)
|
||||
|
@ -14,20 +14,10 @@ LOG = logging.getLogger(__name__)
|
|||
|
||||
class QObject:
|
||||
|
||||
def __init__(self, name, real_name: [str, dict] = None):
|
||||
self.symbolic_name = name
|
||||
if real_name:
|
||||
self.real_name = real_name
|
||||
else:
|
||||
self.real_name = getattr(objects_map, name)
|
||||
def __init__(self, real_name: [str, dict] = None):
|
||||
self.real_name = real_name
|
||||
self._image = Image(self.real_name)
|
||||
|
||||
def __str__(self):
|
||||
return f'{type(self).__qualname__}({self.symbolic_name})'
|
||||
|
||||
def __repr__(self):
|
||||
return f'{type(self).__qualname__}({self.symbolic_name})'
|
||||
|
||||
@property
|
||||
@allure.step('Get object {0}')
|
||||
def object(self):
|
||||
|
|
|
@ -20,6 +20,7 @@ from gui.elements.button import Button
|
|||
from gui.elements.object import QObject
|
||||
from gui.elements.window import Window
|
||||
from gui.mocked_keycard_controller import MockedKeycardController
|
||||
from gui.objects_map import names
|
||||
from gui.screens.community import CommunityScreen
|
||||
from gui.screens.community_portal import CommunitiesPortal
|
||||
from gui.screens.messages import MessagesScreen
|
||||
|
@ -34,14 +35,14 @@ LOG = logging.getLogger(__name__)
|
|||
class LeftPanel(QObject):
|
||||
|
||||
def __init__(self):
|
||||
super(LeftPanel, self).__init__('mainWindow_StatusAppNavBar')
|
||||
self._profile_button = Button('mainWindow_ProfileNavBarButton')
|
||||
self._messages_button = Button('messages_navbar_StatusNavBarTabButton')
|
||||
self._communities_portal_button = Button('communities_Portal_navbar_StatusNavBarTabButton')
|
||||
self._community_template_button = Button('statusCommunityMainNavBarListView_CommunityNavBarButton')
|
||||
self._settings_button = Button('settings_navbar_StatusNavBarTabButton')
|
||||
self._wallet_button = Button('wallet_navbar_StatusNavBarTabButton')
|
||||
self._community_invite_people_context_item = QObject('invite_People_StatusMenuItem')
|
||||
super(LeftPanel, self).__init__(names.mainWindow_StatusAppNavBar)
|
||||
self._profile_button = Button(names.mainWindow_ProfileNavBarButton)
|
||||
self._messages_button = Button(names.messages_navbar_StatusNavBarTabButton)
|
||||
self._communities_portal_button = Button(names.communities_Portal_navbar_StatusNavBarTabButton)
|
||||
self._community_template_button = Button(names.statusCommunityMainNavBarListView_CommunityNavBarButton)
|
||||
self._settings_button = Button(names.settings_navbar_StatusNavBarTabButton)
|
||||
self._wallet_button = Button(names.wallet_navbar_StatusNavBarTabButton)
|
||||
self._community_invite_people_context_item = QObject(names.invite_People_StatusMenuItem)
|
||||
|
||||
@property
|
||||
@allure.step('Get communities names')
|
||||
|
@ -163,7 +164,7 @@ class LeftPanel(QObject):
|
|||
class MainWindow(Window):
|
||||
|
||||
def __init__(self):
|
||||
super(MainWindow, self).__init__('statusDesktop_mainWindow')
|
||||
super(MainWindow, self).__init__(names.statusDesktop_mainWindow)
|
||||
self.left_panel = LeftPanel()
|
||||
|
||||
# TODO: we need to handle all the issues with keycard mock var before using keycard window in tests
|
||||
|
|
|
@ -9,30 +9,31 @@ from gui.elements.button import Button
|
|||
from gui.elements.object import QObject
|
||||
from gui.elements.scroll import Scroll
|
||||
from gui.elements.window import Window
|
||||
from gui.objects_map import names
|
||||
|
||||
|
||||
class MockedKeycardController(Window):
|
||||
|
||||
def __init__(self):
|
||||
super(MockedKeycardController, self).__init__('QQuickApplicationWindow')
|
||||
self._plugin_reader_button = Button('plugin_Reader_StatusButton')
|
||||
self._unplug_reader_button = Button('unplug_Reader_StatusButton')
|
||||
self._insert_keycard_1_button = Button('insert_Keycard_1_StatusButton')
|
||||
self._insert_keycard_2_button = Button('insert_Keycard_2_StatusButton')
|
||||
self._remove_keycard_button = Button('remove_Keycard_StatusButton')
|
||||
self._reader_state_button = Button('set_initial_reader_state_StatusButton')
|
||||
self._keycard_state_button = Button('set_initial_keycard_state_StatusButton')
|
||||
self._register_keycard_button = Button('register_Keycard_StatusButton')
|
||||
self._reader_unplugged_item = QObject('reader_Unplugged_StatusMenuItem')
|
||||
self._keycard_not_inserted_item = QObject('keycard_Not_Inserted_StatusMenuItem')
|
||||
self._keycard_inserted_item = QObject('keycard_Inserted_StatusMenuItem')
|
||||
self._custom_keycard_item = QObject('custom_Keycard_StatusMenuItem')
|
||||
self._not_status_keycard_item = QObject('not_Status_Keycard_StatusMenuItem')
|
||||
self._empty_keycard_item = QObject('empty_Keycard_StatusMenuItem')
|
||||
self._max_slots_reached_item = QObject('max_Pairing_Slots_Reached_StatusMenuItem')
|
||||
self._mnemonic_metadata_item = QObject('keycard_With_Mnemonic_Metadata_StatusMenuItem')
|
||||
self._field_object = QObject('keycard_edit_TextEdit')
|
||||
self._scroll = Scroll('keycardFlickable')
|
||||
super(MockedKeycardController, self).__init__(names.QQuickApplicationWindow)
|
||||
self._plugin_reader_button = Button(names.plugin_Reader_StatusButton)
|
||||
self._unplug_reader_button = Button(names.unplug_Reader_StatusButton)
|
||||
self._insert_keycard_1_button = Button(names.insert_Keycard_1_StatusButton)
|
||||
self._insert_keycard_2_button = Button(names.insert_Keycard_2_StatusButton)
|
||||
self._remove_keycard_button = Button(names.remove_Keycard_StatusButton)
|
||||
self._reader_state_button = Button(names.set_initial_reader_state_StatusButton)
|
||||
self._keycard_state_button = Button(names.set_initial_keycard_state_StatusButton)
|
||||
self._register_keycard_button = Button(names.register_Keycard_StatusButton)
|
||||
self._reader_unplugged_item = QObject(names.reader_Unplugged_StatusMenuItem)
|
||||
self._keycard_not_inserted_item = QObject(names.keycard_Not_Inserted_StatusMenuItem)
|
||||
self._keycard_inserted_item = QObject(names.keycard_Inserted_StatusMenuItem)
|
||||
self._custom_keycard_item = QObject(names.custom_Keycard_StatusMenuItem)
|
||||
self._not_status_keycard_item = QObject(names.not_Status_Keycard_StatusMenuItem)
|
||||
self._empty_keycard_item = QObject(names.empty_Keycard_StatusMenuItem)
|
||||
self._max_slots_reached_item = QObject(names.max_Pairing_Slots_Reached_StatusMenuItem)
|
||||
self._mnemonic_metadata_item = QObject(names.keycard_With_Mnemonic_Metadata_StatusMenuItem)
|
||||
self._field_object = QObject(names.keycard_edit_TextEdit)
|
||||
self._scroll = Scroll(names.keycardFlickable)
|
||||
|
||||
def wait_until_appears(self, timeout_msec: int = configs.timeouts.UI_LOAD_TIMEOUT_MSEC):
|
||||
driver.waitFor(lambda: self._plugin_reader_button.exists, timeout_msec)
|
||||
|
@ -86,7 +87,7 @@ class MockedKeycardController(Window):
|
|||
@allure.step('Input custom keycard details to custom text field')
|
||||
def input_custom_keycard_details(self, details: str, index: int):
|
||||
fields = self.get_text_fields
|
||||
self._scroll.vertical_scroll_to(QObject(name='', real_name=driver.objectMap.realName(fields[index])))
|
||||
self._scroll.vertical_scroll_to(QObject(real_name=driver.objectMap.realName(fields[index])))
|
||||
driver.type(fields[index], details)
|
||||
time.sleep(1)
|
||||
|
||||
|
|
|
@ -1,9 +0,0 @@
|
|||
from .community_names import *
|
||||
from .component_names import *
|
||||
from .main_names import *
|
||||
from .messages_names import *
|
||||
from .onboarding_names import *
|
||||
from .os_names import *
|
||||
from .settings_names import *
|
||||
from .wallet_names import *
|
||||
from .mocked_keycard_controller_names import *
|
|
@ -1,161 +0,0 @@
|
|||
from .main_names import statusDesktop_mainWindow, statusDesktop_mainWindow_overlay, mainWindow_StatusWindow
|
||||
|
||||
# Community Portal
|
||||
mainWindow_communitiesPortalLayout_CommunitiesPortalLayout = {"container": statusDesktop_mainWindow, "objectName": "communitiesPortalLayout", "type": "CommunitiesPortalLayout", "visible": True}
|
||||
mainWindow_Create_New_Community_StatusButton = {"checkable": False, "container": mainWindow_communitiesPortalLayout_CommunitiesPortalLayout, "objectName": "createCommunityButton", "type": "StatusButton", "visible": True}
|
||||
|
||||
# Community View
|
||||
mainWindow_communityLoader_Loader = {"container": statusDesktop_mainWindow, "id": "communityLoader", "type": "Loader", "unnamed": 1, "visible": True}
|
||||
# Left Panel
|
||||
mainWindow_communityColumnView_CommunityColumnView = {"container": mainWindow_communityLoader_Loader, "objectName": "communityColumnView", "type": "CommunityColumnView", "visible": True}
|
||||
mainWindow_communityHeaderButton_StatusChatInfoButton = {"checkable": False, "container": mainWindow_communityColumnView_CommunityColumnView, "objectName": "communityHeaderButton", "type": "StatusChatInfoButton", "visible": True}
|
||||
mainWindow_identicon_StatusSmartIdenticon = {"container": mainWindow_communityHeaderButton_StatusChatInfoButton, "id": "identicon", "type": "StatusSmartIdenticon", "unnamed": 1, "visible": True}
|
||||
mainWindow_statusChatInfoButtonNameText_TruncatedTextWithTooltip = {"container": mainWindow_communityHeaderButton_StatusChatInfoButton, "objectName": "statusChatInfoButtonNameText", "type": "TruncatedTextWithTooltip", "visible": True}
|
||||
mainWindow_Members_TruncatedTextWithTooltip = {"container": mainWindow_communityHeaderButton_StatusChatInfoButton, "type": "TruncatedTextWithTooltip", "unnamed": 1, "visible": True}
|
||||
mainWindow_startChatButton_StatusIconTabButton = {"checkable": True, "container": mainWindow_communityColumnView_CommunityColumnView, "objectName": "startChatButton", "type": "StatusIconTabButton", "visible": True}
|
||||
mainWindow_createChatOrCommunity_Loader = {"container": mainWindow_communityColumnView_CommunityColumnView, "id": "createChatOrCommunity", "type": "Loader", "unnamed": 1, "visible": True}
|
||||
mainWindow_scrollView_StatusScrollView = {"container": mainWindow_communityColumnView_CommunityColumnView, "id": "scrollView", "type": "StatusScrollView", "unnamed": 1, "visible": True}
|
||||
scrollView_Flickable = {"container": mainWindow_scrollView_StatusScrollView, "type": "Flickable", "unnamed": 1, "visible": True}
|
||||
scrollView_chatListItems_StatusListView = {"container": scrollView_Flickable, "objectName": "chatListItems", "type": "StatusListView", "visible": True}
|
||||
channel_listItem = {"container": scrollView_chatListItems_StatusListView, "id": "chatListDelegate", "type": "DropArea", "isCategory": False, "visible": True}
|
||||
channel_identicon_StatusSmartIdenticon = {"container": None, "id": "identicon", "type": "StatusSmartIdenticon", "unnamed": 1, "visible": True}
|
||||
channel_name_StatusBaseText = {"container": None, "type": "StatusBaseText", "unnamed": 1, "visible": True}
|
||||
mainWindow_createChannelOrCategoryBtn_StatusBaseText = {"container": mainWindow_communityColumnView_CommunityColumnView, "objectName": "createChannelOrCategoryBtn", "type": "StatusBaseText", "visible": True}
|
||||
create_channel_StatusMenuItem = {"container": statusDesktop_mainWindow_overlay, "enabled": True, "objectName": "createCommunityChannelBtn", "type": "StatusMenuItem", "visible": True}
|
||||
mainWindow_Join_Community_StatusButton = {"checkable": False, "container": mainWindow_StatusWindow, "type": "StatusButton", "unnamed": 1, "visible": True}
|
||||
add_categories_StatusFlatButton = {"checkable": False, "container": mainWindow_scrollView_StatusScrollView, "id": "manageBtn", "type": "StatusFlatButton", "visible": True}
|
||||
categoryItem_StatusChatListCategoryItem = {"container": mainWindow_scrollView_StatusScrollView, "objectName": "categoryItem", "type": "StatusChatListCategoryItem", "visible": True}
|
||||
delete_Category_StatusMenuItem = {"checkable": False, "container": statusDesktop_mainWindow_overlay, "enabled": True, "objectName": "deleteCategoryMenuItem", "type": "StatusMenuItem", "visible": True}
|
||||
create_category_StatusMenuItem = {"checkable": False, "container": statusDesktop_mainWindow_overlay, "enabled": True, "objectName": "createCommunityCategoryBtn", "type": "StatusMenuItem", "visible": True}
|
||||
edit_Category_StatusMenuItem = {"checkable": False, "container": statusDesktop_mainWindow_overlay, "enabled": True, "objectName": "editCategoryMenuItem", "type": "StatusMenuItem", "visible": True}
|
||||
scrollView_menuButton_StatusChatListCategoryItemButton = {"container": mainWindow_scrollView_StatusScrollView, "id": "menuButton", "type": "StatusChatListCategoryItemButton", "unnamed": 1, "visible": True}
|
||||
scrollView_toggleButton_StatusChatListCategoryItemButton = {"container": mainWindow_scrollView_StatusScrollView, "id": "toggleButton", "type": "StatusChatListCategoryItemButton", "unnamed": 1, "visible": True}
|
||||
scrollView_addButton_StatusChatListCategoryItemButton = {"container": mainWindow_scrollView_StatusScrollView, "id": "addButton", "type": "StatusChatListCategoryItemButton", "unnamed": 1, "visible": True}
|
||||
add_channels_StatusButton = {"checkable": False, "container": mainWindow_scrollView_StatusScrollView, "id": "addMembersBtn", "type": "StatusButton", "unnamed": 1, "visible": True}
|
||||
scrollView_general_StatusChatListItem = {"container": mainWindow_scrollView_StatusScrollView, "objectName": "general", "type": "StatusChatListItem", "visible": True}
|
||||
|
||||
# Tool Bar
|
||||
mainWindow_statusToolBar_StatusToolBar = {"container": mainWindow_communityLoader_Loader, "objectName": "statusToolBar", "type": "StatusToolBar", "visible": True}
|
||||
statusToolBar_chatToolbarMoreOptionsButton = {"container": mainWindow_statusToolBar_StatusToolBar, "objectName": "chatToolbarMoreOptionsButton", "type": "StatusFlatRoundButton", "visible": True}
|
||||
delete_Channel_StatusMenuItem = {"checkable": False, "container": statusDesktop_mainWindow_overlay, "enabled": True, "objectName": "deleteOrLeaveMenuItem", "type": "StatusMenuItem", "visible": True}
|
||||
edit_Channel_StatusMenuItem = {"checkable": False, "container": statusDesktop_mainWindow_overlay, "enabled": True, "objectName": "editChannelMenuItem", "type": "StatusMenuItem", "visible": True}
|
||||
statusToolBar_statusSmartIdenticonLetter_StatusLetterIdenticon = {"container": mainWindow_statusToolBar_StatusToolBar, "objectName": "statusSmartIdenticonLetter", "type": "StatusLetterIdenticon", "visible": True}
|
||||
statusToolBar_statusChatInfoButtonNameText_TruncatedTextWithTooltip = {"container": mainWindow_statusToolBar_StatusToolBar, "objectName": "statusChatInfoButtonNameText", "type": "TruncatedTextWithTooltip", "visible": True}
|
||||
statusToolBar_TruncatedTextWithTooltip = {"container": mainWindow_statusToolBar_StatusToolBar, "type": "TruncatedTextWithTooltip", "unnamed": 1, "visible": True}
|
||||
statusToolBar_chatInfoBtnInHeader_StatusChatInfoButton = {"checkable": False, "container": mainWindow_statusToolBar_StatusToolBar, "objectName": "chatInfoBtnInHeader", "type": "StatusChatInfoButton", "visible": True}
|
||||
statusToolBar_StatusChatInfo_pinText_TruncatedTextWithTooltip = {"container": mainWindow_statusToolBar_StatusToolBar, "objectName": "StatusChatInfo_pinText", "type": "TruncatedTextWithTooltip", "visible": True}
|
||||
|
||||
# Chat
|
||||
mainWindow_ChatMessagesView = {"container": mainWindow_StatusWindow, "type": "ChatMessagesView", "unnamed": 1, "visible": True}
|
||||
mainWindow_ChatColumnView = {"container": mainWindow_communityLoader_Loader, "type": "ChatColumnView", "unnamed": 1, "visible": True}
|
||||
chatMessageViewDelegate_channelIdentifierNameText_StyledText = {"container": mainWindow_ChatColumnView, "objectName": "channelIdentifierNameText", "type": "StyledText", "visible": True}
|
||||
chatMessageViewDelegate_Welcome = {"container": mainWindow_ChatColumnView, "type": "StatusBaseText", "unnamed": 1, "visible": True}
|
||||
chatMessageViewDelegate_channelIdentifierSmartIdenticon_StatusSmartIdenticon = {"container": mainWindow_ChatMessagesView, "objectName": "channelIdentifierSmartIdenticon", "type": "StatusSmartIdenticon", "visible": True}
|
||||
mainWindow_chatLogView_StatusListView = {"container": mainWindow_StatusWindow, "objectName": "chatLogView", "type": "StatusListView", "visible": True}
|
||||
chatLogView_chatMessageViewDelegate_MessageView = {"container": mainWindow_chatLogView_StatusListView, "index": 0, "objectName": "chatMessageViewDelegate", "type": "MessageView", "visible": True}
|
||||
|
||||
# Community Settings
|
||||
mainWindow_communitySettingsBackToCommunityButton_StatusBaseText = {"container": mainWindow_communityLoader_Loader, "objectName": "communitySettingsBackToCommunityButton", "type": "StatusBaseText", "visible": True}
|
||||
mainWindow_listView_StatusListView = {"container": mainWindow_communityLoader_Loader, "id": "listView", "type": "StatusListView", "unnamed": 1, "visible": True}
|
||||
overview_StatusNavigationListItem = {"container": mainWindow_listView_StatusListView, "objectName": "CommunitySettingsView_NavigationListItem_Overview", "type": "StatusNavigationListItem", "visible": True}
|
||||
members_StatusNavigationListItem = {"container": mainWindow_listView_StatusListView, "index": 1, "objectName": "CommunitySettingsView_NavigationListItem_Members", "type": "StatusNavigationListItem", "visible": True}
|
||||
permissions_StatusNavigationListItem = {"container": mainWindow_listView_StatusListView, "index": 2, "objectName": "CommunitySettingsView_NavigationListItem_Permissions", "type": "StatusNavigationListItem", "visible": True}
|
||||
tokens_StatusNavigationListItem = {"container": mainWindow_listView_StatusListView, "index": 3, "objectName": "CommunitySettingsView_NavigationListItem_Tokens", "type": "StatusNavigationListItem", "visible": True}
|
||||
airdrops_StatusNavigationListItem = {"container": mainWindow_listView_StatusListView, "index": 4, "objectName": "CommunitySettingsView_NavigationListItem_Airdrops", "type": "StatusNavigationListItem", "visible": True}
|
||||
|
||||
# Overview Settings View
|
||||
mainWindow_OverviewSettingsPanel = {"container": mainWindow_communityLoader_Loader, "type": "OverviewSettingsPanel", "unnamed": 1, "visible": True}
|
||||
communityOverviewSettingsCommunityName_StatusBaseText = {"container": mainWindow_OverviewSettingsPanel, "objectName": "communityOverviewSettingsCommunityName", "type": "StatusBaseText", "visible": True}
|
||||
communityOverviewSettingsCommunityDescription_StatusBaseText = {"container": mainWindow_OverviewSettingsPanel, "objectName": "communityOverviewSettingsCommunityDescription", "type": "StatusBaseText", "visible": True}
|
||||
mainWindow_Edit_Community_StatusButton = {"checkable": False, "container": mainWindow_OverviewSettingsPanel, "objectName": "communityOverviewSettingsEditCommunityButton", "text": "Edit Community", "type": "StatusButton", "visible": True}
|
||||
|
||||
# Members Settings View
|
||||
mainWindow_MembersSettingsPanel = {"container": mainWindow_communityLoader_Loader, "type": "MembersSettingsPanel", "unnamed": 1, "visible": True}
|
||||
embersListViews_ListView = {"container": mainWindow_MembersSettingsPanel, "objectName": "CommunityMembersTabPanel_MembersListViews", "type": "ListView", "visible": True}
|
||||
memberItem_StatusMemberListItem = {"container": embersListViews_ListView, "id": "memberItem", "type": "StatusMemberListItem", "unnamed": 1, "visible": True}
|
||||
|
||||
# Tokens View
|
||||
mainWindow_mintPanel_MintTokensSettingsPanel = {"container": mainWindow_StatusWindow, "id": "mintPanel", "type": "MintTokensSettingsPanel", "unnamed": 1, "visible": True}
|
||||
mainWindow_MintedTokensView = {"container": mainWindow_StatusWindow, "type": "MintedTokensView", "unnamed": 1, "visible": True}
|
||||
mainWindow_Mint_token_StatusButton = {"checkable": False, "container": mainWindow_StatusWindow, "objectName": "addNewItemButton", "type": "StatusButton", "visible": True}
|
||||
welcomeSettingsTokens_Image = {"container": mainWindow_MintedTokensView, "objectName": "welcomeSettingsImage", "type": "Image", "visible": True}
|
||||
welcomeSettingsTokens_Title = {"container": mainWindow_MintedTokensView, "objectName": "welcomeSettingsTitle", "type": "StatusBaseText", "visible": True}
|
||||
welcomeSettingsTokensSubtitle = {"container": mainWindow_MintedTokensView, "objectName": "welcomeSettingsSubtitle", "type": "StatusBaseText", "visible": True}
|
||||
checkListText_0_Tokens = {"container": mainWindow_MintedTokensView, "objectName": "checkListText_0", "type": "StatusBaseText", "visible": True}
|
||||
checkListText_1_Tokens = {"container": mainWindow_MintedTokensView, "objectName": "checkListText_1", "type": "StatusBaseText", "visible": True}
|
||||
checkListText_2_Tokens = {"container": mainWindow_MintedTokensView, "objectName": "checkListText_2", "type": "StatusBaseText", "visible": True}
|
||||
mint_Owner_Tokens_InfoBoxPanel = {"container": mainWindow_MintedTokensView, "type": "StatusInfoBoxPanel", "unnamed": 1, "visible": True}
|
||||
mint_Owner_Tokens_StatusButton = {"checkable": False, "container": mainWindow_MintedTokensView, "id": "button", "type": "StatusButton", "unnamed": 1, "visible": True}
|
||||
|
||||
# Airdrops View
|
||||
mainWindow_airdropPanel_AirdropsSettingsPanel = {"container": mainWindow_StatusWindow, "id": "airdropPanel", "type": "AirdropsSettingsPanel", "unnamed": 1, "visible": True}
|
||||
mainWindow_WelcomeSettingsView = {"container": mainWindow_StatusWindow, "type": "WelcomeSettingsView", "unnamed": 1, "visible": True}
|
||||
mainWindow_New_Airdrop_StatusButton = {"checkable": False, "container": mainWindow_StatusWindow, "objectName": "addNewItemButton", "type": "StatusButton", "visible": True}
|
||||
welcomeSettingsAirdrops_Image = {"container": mainWindow_WelcomeSettingsView, "objectName": "welcomeSettingsImage", "type": "Image", "visible": True}
|
||||
welcomeSettingsAirdrops_Title = {"container": mainWindow_WelcomeSettingsView, "objectName": "welcomeSettingsTitle", "type": "StatusBaseText", "visible": True}
|
||||
welcomeSettingsAirdrops_Subtitle = {"container": mainWindow_WelcomeSettingsView, "objectName": "welcomeSettingsSubtitle", "type": "StatusBaseText", "visible": True}
|
||||
checkListText_0_Airdrops = {"container": mainWindow_WelcomeSettingsView, "objectName": "checkListText_0", "type": "StatusBaseText", "visible": True}
|
||||
checkListText_1_Airdrops = {"container": mainWindow_WelcomeSettingsView, "objectName": "checkListText_1", "type": "StatusBaseText", "visible": True}
|
||||
checkListText_2_Airdrops = {"container": mainWindow_WelcomeSettingsView, "objectName": "checkListText_2", "type": "StatusBaseText", "visible": True}
|
||||
infoBox_StatusInfoBoxPanel = {"container": mainWindow_WelcomeSettingsView, "id": "infoBox", "type": "StatusInfoBoxPanel", "unnamed": 1, "visible": True}
|
||||
mint_Owner_token_Airdrops_StatusButton = {"checkable": False, "container": mainWindow_WelcomeSettingsView, "id": "button", "type": "StatusButton", "unnamed": 1, "visible": True}
|
||||
|
||||
# Permissions Intro View
|
||||
community_welcome_screen_image = {"container": statusDesktop_mainWindow, "objectName": "welcomeSettingsImage", "type": "Image", "visible": True}
|
||||
community_welcome_screen_title = {"container": statusDesktop_mainWindow, "objectName": "welcomeSettingsTitle", "type": "StatusBaseText", "visible": True}
|
||||
community_welcome_screen_subtitle = {"container": statusDesktop_mainWindow, "objectName": "welcomeSettingsSubtitle", "type": "StatusBaseText", "visible": True}
|
||||
community_welcome_screen_checkList_element1 = {"container": statusDesktop_mainWindow, "objectName": "checkListText_0", "type": "StatusBaseText", "visible": True}
|
||||
community_welcome_screen_checkList_element2 = {"container": statusDesktop_mainWindow, "objectName": "checkListText_1", "type": "StatusBaseText", "visible": True}
|
||||
community_welcome_screen_checkList_element3 = {"container": statusDesktop_mainWindow, "objectName": "checkListText_2", "type": "StatusBaseText", "visible": True}
|
||||
add_new_permission_button = {"container": statusDesktop_mainWindow, "objectName": "addNewItemButton", "type": "StatusButton", "visible": True}
|
||||
|
||||
# Permissions Settings View
|
||||
mainWindow_editPermissionView_EditPermissionView = {"container": statusDesktop_mainWindow, "id": "editPermissionView", "type": "EditPermissionView", "unnamed": 1, "visible": True}
|
||||
editPermissionView_Who_holds_StatusItemSelector = {"container": mainWindow_editPermissionView_EditPermissionView, "id": "tokensSelector", "type": "StatusItemSelector", "unnamed": 1, "visible": True}
|
||||
editPermissionView_Is_allowed_to_StatusFlowSelector = {"container": mainWindow_editPermissionView_EditPermissionView, "id": "permissionsSelector", "type": "StatusFlowSelector", "unnamed": 1, "visible": True}
|
||||
editPermissionView_In_StatusItemSelector = {"container": mainWindow_editPermissionView_EditPermissionView, "id": "inSelector", "type": "StatusItemSelector", "unnamed": 1, "visible": True}
|
||||
editPermissionView_whoHoldsSwitch_StatusSwitch = {"checkable": True, "container": mainWindow_editPermissionView_EditPermissionView, "id": "whoHoldsSwitch", "type": "StatusSwitch", "unnamed": 1, "visible": True}
|
||||
edit_TextEdit = {"container": statusDesktop_mainWindow_overlay, "type": "TextEdit", "unnamed": 1, "visible": True}
|
||||
inputValue_StyledTextField = {"container": statusDesktop_mainWindow_overlay, "echoMode": 0, "id": "inputValue", "type": "StyledTextField", "unnamed": 1, "visible": True}
|
||||
o_TokenItem = {"container": statusDesktop_mainWindow_overlay, "index": 0, "type": "TokenItem", "unnamed": 1, "visible": True}
|
||||
add_StatusButton = {"checkable": False, "container": statusDesktop_mainWindow_overlay, "type": "StatusButton", "unnamed": 1, "visible": True}
|
||||
customPermissionListItem = {"container": statusDesktop_mainWindow_overlay, "objectName": "becomeAdmin", "type": "CustomPermissionListItem", "visible": True}
|
||||
communityItem_CommunityListItem = {"container": statusDesktop_mainWindow_overlay, "id": "communityItem", "type": "CommunityListItem", "unnamed": 1, "visible": True}
|
||||
editPermissionView_switchItem_StatusSwitch = {"checkable": True, "container": mainWindow_editPermissionView_EditPermissionView, "id": "switchItem", "type": "StatusSwitch", "unnamed": 1, "visible": True}
|
||||
editPermissionView_Create_permission_StatusButton = {"checkable": False, "container": mainWindow_editPermissionView_EditPermissionView, "text": "Create permission", "type": "StatusButton", "unnamed": 1, "visible": True}
|
||||
mainWindow_PermissionsView = {"container": statusDesktop_mainWindow, "type": "PermissionsView", "unnamed": 1, "visible": True}
|
||||
o_StatusListItemTag = {"container": mainWindow_PermissionsView, "type": "StatusListItemTag", "visible": True}
|
||||
o_IntroPanel = {"container": mainWindow_PermissionsView, "type": "IntroPanel", "unnamed": 1, "visible": True}
|
||||
mainWindow_PermissionsSettingsPanel = {"container": statusDesktop_mainWindow, "type": "PermissionsSettingsPanel", "unnamed": 1, "visible": True}
|
||||
whoHoldsTagListItem = {"container": mainWindow_PermissionsView, "objectName": "whoHoldsStatusListItem", "type": "StatusListItemTag", "visible": True}
|
||||
isAllowedTagListItem = {"container": mainWindow_PermissionsView, "objectName": "isAllowedStatusListItem", "type": "StatusListItemTag", "visible": True}
|
||||
inCommunityTagListItem = {"container": mainWindow_PermissionsView, "objectName": "inCommunityStatusListItem", "type": "StatusListItemTag", "visible": True}
|
||||
|
||||
# Edit Community
|
||||
mainWindow_communityEditPanelScrollView_EditSettingsPanel = {"container": statusDesktop_mainWindow, "objectName": "communityEditPanelScrollView", "type": "EditSettingsPanel", "visible": True}
|
||||
communityEditPanelScrollView_Flickable = {"container": mainWindow_communityEditPanelScrollView_EditSettingsPanel, "type": "Flickable", "unnamed": 1, "visible": True}
|
||||
communityEditPanelScrollView_communityNameInput_TextEdit = {"container": mainWindow_communityEditPanelScrollView_EditSettingsPanel, "objectName": "communityNameInput", "type": "TextEdit", "visible": True}
|
||||
communityEditPanelScrollView_communityDescriptionInput_TextEdit = {"container": mainWindow_communityEditPanelScrollView_EditSettingsPanel, "objectName": "communityDescriptionInput", "type": "TextEdit", "visible": True}
|
||||
communityEditPanelScrollView_communityLogoPicker_LogoPicker = {"container": mainWindow_communityEditPanelScrollView_EditSettingsPanel, "objectName": "communityLogoPicker", "type": "LogoPicker", "visible": True}
|
||||
communityEditPanelScrollView_image_StatusImage = {"container": communityEditPanelScrollView_communityLogoPicker_LogoPicker, "id": "image", "type": "StatusImage", "unnamed": 1, "visible": True}
|
||||
communityEditPanelScrollView_editButton_StatusRoundButton = {"container": communityEditPanelScrollView_communityLogoPicker_LogoPicker, "id": "editButton", "type": "StatusRoundButton", "unnamed": 1, "visible": True}
|
||||
communityEditPanelScrollView_communityBannerPicker_BannerPicker = {"container": mainWindow_communityEditPanelScrollView_EditSettingsPanel, "objectName": "communityBannerPicker", "type": "BannerPicker", "visible": True}
|
||||
communityEditPanelScrollView_image_StatusImage_2 = {"container": communityEditPanelScrollView_communityBannerPicker_BannerPicker, "id": "image", "type": "StatusImage", "unnamed": 1, "visible": True}
|
||||
communityEditPanelScrollView_editButton_StatusRoundButton_2 = {"container": communityEditPanelScrollView_communityBannerPicker_BannerPicker, "id": "editButton", "type": "StatusRoundButton", "unnamed": 1, "visible": True}
|
||||
communityEditPanelScrollView_StatusPickerButton = {"checkable": False, "container": mainWindow_communityEditPanelScrollView_EditSettingsPanel, "type": "StatusPickerButton", "unnamed": 1, "visible": True}
|
||||
communityEditPanelScrollView_communityTagsPicker_TagsPicker = {"container": mainWindow_communityEditPanelScrollView_EditSettingsPanel, "objectName": "communityTagsPicker", "type": "TagsPicker", "visible": True}
|
||||
communityEditPanelScrollView_flow_Flow = {"container": communityEditPanelScrollView_communityTagsPicker_TagsPicker, "id": "flow", "type": "Flow", "unnamed": 1, "visible": True}
|
||||
communityEditPanelScrollView_StatusCommunityTag = {"container": communityEditPanelScrollView_communityTagsPicker_TagsPicker, "type": "StatusCommunityTag", "unnamed": 1, "visible": True}
|
||||
communityEditPanelScrollView_Choose_StatusPickerButton = {"checkable": False, "container": communityEditPanelScrollView_communityTagsPicker_TagsPicker, "type": "StatusPickerButton", "unnamed": 1, "visible": True}
|
||||
communityEditPanelScrollView_archiveSupportToggle_StatusCheckBox = {"checkable": True, "container": mainWindow_communityEditPanelScrollView_EditSettingsPanel, "id": "archiveSupportToggle", "type": "StatusCheckBox", "unnamed": 1, "visible": True}
|
||||
communityEditPanelScrollView_requestToJoinToggle_StatusCheckBox = {"checkable": True, "container": mainWindow_communityEditPanelScrollView_EditSettingsPanel, "id": "requestToJoinToggle", "type": "StatusCheckBox", "unnamed": 1, "visible": True}
|
||||
communityEditPanelScrollView_pinMessagesToggle_StatusCheckBox = {"checkable": True, "container": mainWindow_communityEditPanelScrollView_EditSettingsPanel, "id": "pinMessagesToggle", "type": "StatusCheckBox", "unnamed": 1, "visible": True}
|
||||
communityEditPanelScrollView_editCommunityIntroInput_TextEdit = {"container": mainWindow_communityEditPanelScrollView_EditSettingsPanel, "objectName": "editCommunityIntroInput", "type": "TextEdit", "visible": True}
|
||||
communityEditPanelScrollView_editCommunityOutroInput_TextEdit = {"container": mainWindow_communityEditPanelScrollView_EditSettingsPanel, "objectName": "editCommunityOutroInput", "type": "TextEdit", "visible": True}
|
||||
mainWindow_Save_changes_StatusButton = {"container": statusDesktop_mainWindow, "objectName": "settingsDirtyToastMessageSaveButton", "type": "DisabledTooltipButton", "visible": True}
|
||||
croppedImageEditLogo = {"container": mainWindow_communityEditPanelScrollView_EditSettingsPanel, "objectName": "editCroppedImageItem_Community logo", "type": "EditCroppedImagePanel", "visible": True}
|
||||
croppedImageEditBanner = {"container": mainWindow_communityEditPanelScrollView_EditSettingsPanel, "objectName": "editCroppedImageItem_Community banner", "type": "EditCroppedImagePanel", "visible": True}
|
||||
|
||||
# User List Panel
|
||||
mainWindow_UserListPanel = {"container": statusDesktop_mainWindow, "type": "UserListPanel", "unnamed": 1, "visible": True}
|
||||
userListPanel_StatusMemberListItem = {"container": mainWindow_UserListPanel, "type": "StatusMemberListItem", "unnamed": 1, "visible": True}
|
|
@ -1,406 +0,0 @@
|
|||
from objectmaphelper import *
|
||||
|
||||
from .main_names import statusDesktop_mainWindow_overlay, statusDesktop_mainWindow, \
|
||||
statusDesktop_mainWindow_overlay_popup2
|
||||
|
||||
# Scroll
|
||||
o_Flickable = {"container": statusDesktop_mainWindow_overlay, "type": "Flickable", "unnamed": 1, "visible": True}
|
||||
|
||||
# Context Menu
|
||||
o_StatusListView = {"container": statusDesktop_mainWindow_overlay, "type": "StatusListView", "unnamed": 1, "visible": True}
|
||||
|
||||
|
||||
""" Onboarding """
|
||||
# Before you get started Popup
|
||||
acknowledge_checkbox = {"checkable": True, "container": statusDesktop_mainWindow_overlay, "objectName": "acknowledgeCheckBox", "type": "StatusCheckBox", "visible": True}
|
||||
termsOfUseCheckBox_StatusCheckBox = {"checkable": True, "container": statusDesktop_mainWindow_overlay, "objectName":"termsOfUseCheckBox", "type": "StatusCheckBox", "visible": True}
|
||||
getStartedStatusButton_StatusButton = {"container": statusDesktop_mainWindow_overlay, "objectName": "getStartedStatusButton", "type": "StatusButton", "visible": True}
|
||||
termsOfUseLink_StatusBaseText = {"container": statusDesktop_mainWindow_overlay, "objectName": "termsOfUseLink", "type": "StatusBaseText", "visible": True}
|
||||
privacyPolicyLink_StatusBaseText = {"container": statusDesktop_mainWindow_overlay, "objectName": "privacyPolicyLink", "type": "StatusBaseText", "visible": True}
|
||||
|
||||
# Back Up Your Seed Phrase Popup
|
||||
o_PopupItem = {"container": statusDesktop_mainWindow_overlay, "type": "PopupItem", "unnamed": 1, "visible": True}
|
||||
i_have_a_pen_and_paper_StatusCheckBox = {"checkable": True, "container": statusDesktop_mainWindow_overlay, "objectName": "Acknowledgements_havePen", "type": "StatusCheckBox", "visible": True}
|
||||
i_know_where_I_ll_store_it_StatusCheckBox = {"checkable": True, "container": statusDesktop_mainWindow_overlay, "objectName": "Acknowledgements_storeIt", "type": "StatusCheckBox", "visible": True}
|
||||
i_am_ready_to_write_down_StatusCheckBox = {"checkable": True, "container": statusDesktop_mainWindow_overlay, "objectName": "Acknowledgements_writeDown", "type": "StatusCheckBox", "visible": True}
|
||||
not_Now_StatusButton = {"checkable": False, "container": statusDesktop_mainWindow_overlay, "type": "StatusButton", "unnamed": 1, "visible": True}
|
||||
confirm_Seed_Phrase_StatusButton = {"checkable": False, "container": statusDesktop_mainWindow_overlay, "objectName": "BackupSeedModal_nextButton", "type": "StatusButton", "visible": True}
|
||||
backup_seed_phrase_popup_StatusSeedPhraseInput_placeholder = {"container": statusDesktop_mainWindow_overlay, "objectName": "ConfirmSeedPhrasePanel_StatusSeedPhraseInput_%WORD_NO%", "type": "StatusSeedPhraseInput", "visible": True}
|
||||
reveal_seed_phrase_StatusButton = {"checkable": False, "container": statusDesktop_mainWindow_overlay, "objectName": "ConfirmSeedPhrasePanel_RevealSeedPhraseButton", "type": "StatusButton", "visible": True}
|
||||
blur_GaussianBlur = {"container": statusDesktop_mainWindow_overlay, "id": "blur", "type": "GaussianBlur", "unnamed": 1, "visible": True}
|
||||
confirmSeedPhrasePanel_StatusSeedPhraseInput = {"container": statusDesktop_mainWindow_overlay, "type": "StatusSeedPhraseInput", "visible": True}
|
||||
confirmFirstWord = {"container": statusDesktop_mainWindow_overlay, "objectName": "BackupSeedModal_BackupSeedStepBase_confirmFirstWord", "type": "BackupSeedStepBase", "visible": True}
|
||||
confirmFirstWord_inputText = {"container": confirmFirstWord, "objectName": "BackupSeedStepBase_inputText", "type": "TextEdit", "visible": True}
|
||||
continue_StatusButton = {"checkable": False, "container": statusDesktop_mainWindow_overlay, "objectName": "BackupSeedModal_nextButton", "type": "StatusButton", "visible": True}
|
||||
confirmSecondWord = {"container": statusDesktop_mainWindow_overlay, "objectName": "BackupSeedModal_BackupSeedStepBase_confirmSecondWord", "type": "BackupSeedStepBase", "visible": True}
|
||||
confirmSecondWord_inputText = {"container": confirmSecondWord, "objectName": "BackupSeedStepBase_inputText", "type": "TextEdit", "visible": True}
|
||||
i_acknowledge_StatusCheckBox = {"checkable": True, "container": statusDesktop_mainWindow_overlay, "objectName": "ConfirmStoringSeedPhrasePanel_storeCheck", "type": "StatusCheckBox", "visible": True}
|
||||
completeAndDeleteSeedPhraseButton = {"container": statusDesktop_mainWindow_overlay, "objectName": "BackupSeedModal_completeAndDeleteSeedPhraseButton", "type": "StatusButton", "visible": True}
|
||||
|
||||
# Send Contact Request Popup
|
||||
contactRequest_ChatKey_Input = {"container": statusDesktop_mainWindow_overlay, "objectName": "SendContactRequestModal_ChatKey_Input", "type": "TextEdit"}
|
||||
contactRequest_SayWhoYouAre_Input = {"container": statusDesktop_mainWindow_overlay, "objectName": "SendContactRequestModal_SayWhoYouAre_Input", "type": "TextEdit"}
|
||||
contactRequest_Send_Button = {"container": statusDesktop_mainWindow_overlay, "objectName": "SendContactRequestModal_Send_Button", "type": "StatusButton"}
|
||||
|
||||
# Change Language Popup
|
||||
close_the_app_now_StatusButton = {"checkable": False, "container": statusDesktop_mainWindow_overlay, "type": "StatusButton", "unnamed": 1, "visible": True}
|
||||
|
||||
# User Status Profile Menu
|
||||
onlineIdentifierProfileHeader = {"container": statusDesktop_mainWindow_overlay, "objectName": "onlineIdentifierProfileHeader", "type": "ProfileHeader", "visible": True}
|
||||
userContextmenu_AlwaysActiveButton= {"container": o_StatusListView, "objectName": "userStatusMenuAlwaysOnlineAction", "type": "StatusMenuItem", "visible": True}
|
||||
userContextmenu_InActiveButton= {"container": o_StatusListView, "objectName": "userStatusMenuInactiveAction", "type": "StatusMenuItem", "visible": True}
|
||||
userContextmenu_AutomaticButton= {"container": o_StatusListView, "objectName": "userStatusMenuAutomaticAction", "type": "StatusMenuItem", "visible": True}
|
||||
userContextMenu_ViewMyProfileAction = {"container": o_StatusListView, "objectName": "userStatusViewMyProfileAction", "type": "StatusMenuItem", "visible": True}
|
||||
userLabel_StyledText = {"container": o_StatusListView, "type": "StyledText", "unnamed": 1, "visible": True}
|
||||
o_StatusIdenticonRing = {"container": o_StatusListView, "type": "StatusIdenticonRing", "unnamed": 1, "visible": True}
|
||||
|
||||
# My Profile Popup
|
||||
ProfileHeader_userImage = {"container": statusDesktop_mainWindow_overlay, "objectName": "ProfileDialog_userImage", "type": "UserImage", "visible": True}
|
||||
ProfilePopup_displayName = {"container": statusDesktop_mainWindow_overlay, "objectName": "ProfileDialog_displayName", "type": "StatusBaseText", "visible": True}
|
||||
ProfilePopup_editButton = {"container": statusDesktop_mainWindow_overlay, "objectName": "editProfileButton", "type": "StatusButton", "visible": True}
|
||||
ProfilePopup_SendContactRequestButton = {"container": statusDesktop_mainWindow_overlay, "objectName": "profileDialog_sendContactRequestButton", "type": "StatusButton", "visible": True}
|
||||
profileDialog_userEmojiHash_EmojiHash = {"container": statusDesktop_mainWindow_overlay, "objectName": "ProfileDialog_userEmojiHash", "type": "EmojiHash", "visible": True}
|
||||
edit_TextEdit = {"container": statusDesktop_mainWindow_overlay, "id": "edit", "type": "TextEdit", "unnamed": 1, "visible": True}
|
||||
https_status_app_StatusBaseText = {"container": edit_TextEdit, "type": "StatusBaseText", "unnamed": 1, "visible": True}
|
||||
copy_icon_CopyButton = {"container": statusDesktop_mainWindow_overlay, "objectName": "copy-icon", "type": "CopyButton", "visible": True}
|
||||
|
||||
# Welcome Status Popup
|
||||
betaConsent_StatusModal = {"container": statusDesktop_mainWindow_overlay, "objectName": "desktopBetaStatusModal", "type": "StatusModal", "visible": True}
|
||||
agreeToUse_StatusCheckBox = {"checkable": True, "container": statusDesktop_mainWindow_overlay, "objectName": "desktopBetaAgreeCheckBox", "type": "StatusCheckBox", "visible": True}
|
||||
readyToUse_StatusCheckBox = {"checkable": True, "container": statusDesktop_mainWindow_overlay, "objectName": "desktopBetaReadyCheckBox", "type": "StatusCheckBox", "visible": True}
|
||||
i_m_ready_to_use_Status_Desktop_Beta_StatusButton = {"container": statusDesktop_mainWindow_overlay, "type": "StatusButton", "objectName": "desktopBetaStatusButton", "visible": True}
|
||||
|
||||
""" Communities """
|
||||
|
||||
# Create Community Banner
|
||||
create_new_StatusButton = {"checkable": False, "container": statusDesktop_mainWindow_overlay, "objectName": "communityBannerButton", "type": "StatusButton", "visible": True}
|
||||
|
||||
# Create Community Popup
|
||||
createCommunityNameInput_TextEdit = {"container": statusDesktop_mainWindow_overlay, "objectName": "communityNameInput", "type": "TextEdit", "visible": True}
|
||||
createCommunityDescriptionInput_TextEdit = {"container": statusDesktop_mainWindow_overlay, "objectName": "communityDescriptionInput", "type": "TextEdit", "visible": True}
|
||||
communityBannerPicker_BannerPicker = {"container": statusDesktop_mainWindow_overlay, "objectName": "communityBannerPicker", "type": "BannerPicker", "visible": True}
|
||||
addButton_StatusRoundButton = {"container": communityBannerPicker_BannerPicker, "id": "addButton", "type": "StatusRoundButton", "unnamed": 1, "visible": True}
|
||||
communityLogoPicker_LogoPicker = {"container": statusDesktop_mainWindow_overlay, "objectName": "communityLogoPicker", "type": "LogoPicker", "visible": True}
|
||||
addButton_StatusRoundButton2 = {"container": communityLogoPicker_LogoPicker, "id": "addButton", "type": "StatusRoundButton", "unnamed": 1, "visible": True}
|
||||
communityColorPicker_ColorPicker = {"container": statusDesktop_mainWindow_overlay, "objectName": "communityColorPicker", "type": "ColorPicker", "visible": True}
|
||||
StatusPickerButton = {"checkable": False, "container": communityColorPicker_ColorPicker, "type": "StatusPickerButton", "unnamed": 1, "visible": True}
|
||||
communityTagsPicker_TagsPicker = {"container": statusDesktop_mainWindow_overlay, "objectName": "communityTagsPicker", "type": "TagsPicker", "visible": True}
|
||||
choose_tags_StatusPickerButton = {"checkable": False, "container": communityTagsPicker_TagsPicker, "type": "StatusPickerButton", "unnamed": 1, "visible": True}
|
||||
archiveSupportToggle_StatusCheckBox = {"checkable": True, "container": statusDesktop_mainWindow_overlay, "id": "archiveSupportToggle", "type": "StatusCheckBox", "unnamed": 1, "visible": True}
|
||||
requestToJoinToggle_StatusCheckBox = {"checkable": True, "container": statusDesktop_mainWindow_overlay, "id": "requestToJoinToggle", "type": "StatusCheckBox", "unnamed": 1, "visible": True}
|
||||
pinMessagesToggle_StatusCheckBox = {"checkable": True, "container": statusDesktop_mainWindow_overlay, "id": "pinMessagesToggle", "type": "StatusCheckBox", "unnamed": 1, "visible": True}
|
||||
createCommunityNextBtn_StatusButton = {"container": statusDesktop_mainWindow_overlay, "objectName": "createCommunityNextBtn", "type": "StatusButton", "visible": True}
|
||||
createCommunityIntroMessageInput_TextEdit = {"container": statusDesktop_mainWindow_overlay, "objectName": "createCommunityIntroMessageInput", "type": "TextEdit", "visible": True}
|
||||
createCommunityOutroMessageInput_TextEdit = {"container": statusDesktop_mainWindow_overlay, "objectName": "createCommunityOutroMessageInput", "type": "TextEdit", "visible": True}
|
||||
createCommunityFinalBtn_StatusButton = {"container": statusDesktop_mainWindow_overlay, "objectName": "createCommunityFinalBtn", "type": "StatusButton", "visible": True}
|
||||
createOrEditCommunityCategoryChannelList_StatusListView = {"container": statusDesktop_mainWindow_overlay, "objectName": "createOrEditCommunityCategoryChannelList", "type": "StatusListView", "visible": True}
|
||||
croppedImageLogo = {"container": statusDesktop_mainWindow_overlay, "objectName": "editCroppedImageItem_Community logo", "type": "EditCroppedImagePanel", "visible": True}
|
||||
croppedImageBanner = {"container": statusDesktop_mainWindow_overlay, "objectName": "editCroppedImageItem_Community banner", "type": "EditCroppedImagePanel", "visible": True}
|
||||
|
||||
# Community Channel Popup
|
||||
createOrEditCommunityChannelNameInput_TextEdit = {"container": statusDesktop_mainWindow_overlay, "objectName": "createOrEditCommunityChannelNameInput", "type": "TextEdit", "visible": True}
|
||||
createOrEditCommunityChannelDescriptionInput_TextEdit = {"container": statusDesktop_mainWindow_overlay, "objectName": "createOrEditCommunityChannelDescriptionInput", "type": "TextEdit", "visible": True}
|
||||
createOrEditCommunityChannelBtn_StatusButton = {"container": statusDesktop_mainWindow_overlay, "objectName": "createOrEditCommunityChannelBtn", "type": "StatusButton", "visible": True}
|
||||
createOrEditCommunityChannel_EmojiButton = {"container": statusDesktop_mainWindow_overlay, "objectName": "StatusChannelPopup_emojiButton", "type": "StatusRoundButton", "visible": True}
|
||||
|
||||
# Community Category Popup
|
||||
createOrEditCommunityCategoryNameInput_TextEdit = {"container": statusDesktop_mainWindow_overlay, "objectName": "createOrEditCommunityCategoryNameInput", "type": "TextEdit", "visible": True}
|
||||
category_item_name_general_StatusListItem = {"container": statusDesktop_mainWindow_overlay, "objectName": "category_item_name_general", "type": "StatusListItem", "visible": True}
|
||||
create_StatusButton = {"checkable": False, "container": statusDesktop_mainWindow_overlay, "objectName": "createOrEditCommunityCategoryBtn", "type": "StatusButton", "visible": True}
|
||||
channelItemCheckbox_StatusCheckBox = {"checkable": True, "container": statusDesktop_mainWindow_overlay, "id": "channelItemCheckbox", "type": "StatusCheckBox", "unnamed": 1, "visible": True}
|
||||
delete_Category_StatusButton = {"checkable": False, "container": statusDesktop_mainWindow_overlay, "type": "StatusButton", "unnamed": 1, "visible": True}
|
||||
save_StatusButton = {"checkable": False, "container": statusDesktop_mainWindow_overlay, "objectName": "createOrEditCommunityCategoryBtn", "type": "StatusButton", "visible": True}
|
||||
|
||||
# Invite Contacts Popup
|
||||
communityProfilePopupInviteFrindsPanel = {"container": statusDesktop_mainWindow_overlay, "objectName": "CommunityProfilePopupInviteFrindsPanel_ColumnLayout", "type": "ProfilePopupInviteFriendsPanel", "visible": True}
|
||||
communityProfilePopupInviteMessagePanel = {"container": statusDesktop_mainWindow_overlay, "objectName": "CommunityProfilePopupInviteMessagePanel_ColumnLayout", "type": "ProfilePopupInviteMessagePanel", "visible": True}
|
||||
o_StatusMemberListItem = {"container": communityProfilePopupInviteFrindsPanel, "type": "StatusMemberListItem", "unnamed": 1, "visible": True}
|
||||
next_StatusButton = {"checkable": False, "container": statusDesktop_mainWindow_overlay, "objectName": "InviteFriendsToCommunityPopup_NextButton", "text": "Next", "type": "StatusButton", "visible": True}
|
||||
communityProfilePopupInviteMessagePanel_MessageInput_TextEdit = {"container": communityProfilePopupInviteMessagePanel, "objectName": "CommunityProfilePopupInviteMessagePanel_MessageInput", "type": "TextEdit", "visible": True}
|
||||
send_1_invite_StatusButton = {"checkable": False, "container": statusDesktop_mainWindow_overlay, "objectName": "InviteFriendsToCommunityPopup_SendButton", "text": "Send 1 invite", "type": "StatusButton", "visible": True}
|
||||
o_StatusMemberListItem_2 = {"container": communityProfilePopupInviteMessagePanel, "type": "StatusMemberListItem", "unnamed": 1, "visible": True}
|
||||
|
||||
# Welcome community
|
||||
o_ColumnLayout = {"container": statusDesktop_mainWindow_overlay, "type": "ColumnLayout", "unnamed": 1, "visible": True}
|
||||
headerTitle_StatusBaseText = {"container": statusDesktop_mainWindow_overlay, "objectName": "headerTitle", "type": "StatusBaseText", "visible": True}
|
||||
image_StatusImage = {"container": statusDesktop_mainWindow_overlay, "id": "image", "type": "StatusImage", "unnamed": 1, "visible": True}
|
||||
intro_StatusBaseText = {"container": o_ColumnLayout, "type": "StatusBaseText", "unnamed": 1, "visible": True}
|
||||
select_addresses_to_share_StatusFlatButton = {"checkable": False, "container": statusDesktop_mainWindow_overlay, "type": "StatusFlatButton", "unnamed": 1, "visible": True}
|
||||
join_StatusButton = {"checkable": False, "container": statusDesktop_mainWindow_overlay, "type": "StatusButton", "unnamed": 1, "visible": True}
|
||||
welcome_authenticate_StatusButton = {"checkable": False, "container": statusDesktop_mainWindow_overlay, "type": "StatusButton", "text": "Authenticate", "unnamed": 1, "visible": True}
|
||||
share_your_addresses_to_join_StatusButton = {"checkable": False, "container": statusDesktop_mainWindow_overlay, "type": "StatusButton", "unnamed": 1, "visible": True}
|
||||
|
||||
""" Settings """
|
||||
|
||||
# Send Contact Request
|
||||
sendContactRequestModal_ChatKey_Input_TextEdit = {"container": statusDesktop_mainWindow_overlay, "objectName": "SendContactRequestModal_ChatKey_Input", "type": "TextEdit", "visible": True}
|
||||
sendContactRequestModal_SayWhoYouAre_Input_TextEdit = {"container": statusDesktop_mainWindow_overlay, "objectName": "SendContactRequestModal_SayWhoYouAre_Input", "type": "TextEdit", "visible": True}
|
||||
send_Contact_Request_StatusButton = {"container": statusDesktop_mainWindow_overlay, "objectName": "SendContactRequestModal_Send_Button", "type": "StatusButton", "visible": True}
|
||||
|
||||
""" Common """
|
||||
|
||||
edit_TextEdit = {"container": statusDesktop_mainWindow_overlay, "type": "TextEdit", "unnamed": 1, "visible": True}
|
||||
|
||||
# Select Color Popup
|
||||
communitySettings_ColorPanel_HexColor_Input = {"container": statusDesktop_mainWindow_overlay, "objectName": "communityColorPanelHexInput", "type": "TextEdit", "visible": True}
|
||||
communitySettings_SaveColor_Button = {"container": statusDesktop_mainWindow_overlay, "objectName": "communityColorPanelSelectColorButton", "type": "StatusButton", "visible": True}
|
||||
|
||||
# Select Tag Popup
|
||||
o_StatusCommunityTag = {"container": statusDesktop_mainWindow_overlay, "type": "StatusCommunityTag", "unnamed": 1, "visible": True}
|
||||
confirm_Community_Tags_StatusButton = {"checkable": False, "container": statusDesktop_mainWindow_overlay, "type": "StatusButton", "unnamed": 1, "visible": True}
|
||||
|
||||
# Signing phrase popup
|
||||
signPhrase_Ok_Button = {"container": statusDesktop_mainWindow, "type": "StatusFlatButton", "objectName": "signPhraseModalOkButton", "visible": True}
|
||||
|
||||
# Remove account popup:
|
||||
mainWallet_Remove_Account_Popup_Account_Notification = {"container": statusDesktop_mainWindow, "objectName": "RemoveAccountPopup-Notification", "type": "StatusBaseText", "visible": True}
|
||||
mainWallet_Remove_Account_Popup_Account_Path_Component = {"container": statusDesktop_mainWindow, "objectName": "RemoveAccountPopup-DerivationPath", "type": "StatusInput", "visible": True}
|
||||
mainWallet_Remove_Account_Popup_Account_Path = {"container": mainWallet_Remove_Account_Popup_Account_Path_Component, "type": "TextEdit", "unnamed": 1, "visible": True}
|
||||
mainWallet_Remove_Account_Popup_HavePenPaperCheckBox = {"checkable": True, "container": statusDesktop_mainWindow, "objectName": "RemoveAccountPopup-HavePenPaper", "type": "StatusCheckBox", "visible": True}
|
||||
mainWallet_Remove_Account_Popup_ConfirmButton = {"container": statusDesktop_mainWindow, "objectName": "RemoveAccountPopup-ConfirmButton", "type": "StatusButton", "visible": True}
|
||||
mainWallet_Remove_Account_Popup_CancelButton = {"container": statusDesktop_mainWindow, "objectName": "RemoveAccountPopup-CancelButton", "type": "StatusFlatButton", "visible": True}
|
||||
|
||||
# Add saved address popup
|
||||
mainWallet_Saved_Addreses_Popup_Name_Input = {"container": statusDesktop_mainWindow, "objectName": "savedAddressNameInput", "type": "TextEdit"}
|
||||
mainWallet_Saved_Addreses_Popup_Address_Input = {"container": statusDesktop_mainWindow, "objectName": "savedAddressAddressInput", "type": "StatusInput"}
|
||||
mainWallet_Saved_Addreses_Popup_Address_Input_Edit = {"container": statusDesktop_mainWindow, "objectName": "savedAddressAddressInputEdit", "type": "TextEdit"}
|
||||
mainWallet_Saved_Addreses_Popup_Address_Add_Button = {"container": statusDesktop_mainWindow, "objectName": "addSavedAddress", "type": "StatusButton"}
|
||||
mainWallet_Saved_Addreses_Popup_Add_Network_Selector = {"container": statusDesktop_mainWindow, "objectName": "addSavedAddressNetworkSelector", "type": "StatusNetworkSelector", "visible": True}
|
||||
mainWallet_Saved_Addreses_Popup_Add_Network_Button = {"container": statusDesktop_mainWindow_overlay, "objectName": "addNetworkTagItemButton", "type": "StatusRoundButton", "visible": True}
|
||||
mainWallet_Saved_Addreses_Popup_Add_Network_Selector_Tag = {"container": statusDesktop_mainWindow_overlay, "objectName": "networkSelectorTag", "type": "StatusNetworkListItemTag"}
|
||||
mainWallet_Saved_Addresses_Popup_Add_Network_Selector_Mainnet_checkbox = {"container": statusDesktop_mainWindow_overlay, "objectName": "networkSelectionCheckbox_Mainnet", "type": "StatusCheckBox", "visible": True}
|
||||
mainWallet_Saved_Addresses_Popup_Add_Network_Selector_Optimism_checkbox = {"container": statusDesktop_mainWindow_overlay, "objectName": "networkSelectionCheckbox_Optimism", "type": "StatusCheckBox", "visible": True}
|
||||
mainWallet_Saved_Addresses_Popup_Add_Network_Selector_Arbitrum_checkbox = {"container": statusDesktop_mainWindow_overlay, "objectName": "networkSelectionCheckbox_Arbitrum", "type": "StatusCheckBox", "visible": True}
|
||||
mainWallet_Saved_Addresses_Popup_Network_Selector_Mainnet_network_tag = {"container": statusDesktop_mainWindow_overlay, "objectName": "networkTagRectangle_eth", "type": "Rectangle", "visible": True}
|
||||
mainWallet_Saved_Addresses_Popup_Network_Selector_Optimism_network_tag = {"container": statusDesktop_mainWindow_overlay, "objectName": "networkTagRectangle_opt", "type": "Rectangle", "visible": True}
|
||||
mainWallet_Saved_Addresses_Popup_Network_Selector_Arbitrum_network_tag = {"container": statusDesktop_mainWindow_overlay, "objectName": "networkTagRectangle_arb", "type": "Rectangle", "visible": True}
|
||||
|
||||
# Context Menu
|
||||
contextMenu_PopupItem = {"container": statusDesktop_mainWindow_overlay, "type": "PopupItem", "unnamed": 1, "visible": True}
|
||||
contextMenuItem = {"container": statusDesktop_mainWindow_overlay, "type": "StatusBaseText", "unnamed": 1, "visible": True}
|
||||
contextMenuItem_AddWatchOnly = {"container": statusDesktop_mainWindow_overlay, "enabled": True, "objectName": RegularExpression("AccountMenu-AddWatchOnlyAccountAction*"), "type": "StatusMenuItem"}
|
||||
contextMenuItem_Delete = {"container": statusDesktop_mainWindow_overlay, "enabled": True, "objectName": RegularExpression("AccountMenu-DeleteAction*"), "type": "StatusMenuItem"}
|
||||
contextMenuItem_Edit = {"container": statusDesktop_mainWindow_overlay, "enabled": True, "objectName": RegularExpression("AccountMenu-EditAction*"), "type": "StatusMenuItem"}
|
||||
contextMenuItem_HideInclude = {"container": statusDesktop_mainWindow_overlay, "enabled": True, "objectName": RegularExpression("AccountMenu-HideFromTotalBalance*"), "type": "StatusMenuItem"}
|
||||
contextSavedAddressEdit = {"container": statusDesktop_mainWindow, "objectName": "editSavedAddress", "type": "StatusMenuItem"}
|
||||
contextSavedAddressDelete = {"container": statusDesktop_mainWindow, "objectName": "deleteSavedAddress", "type": "StatusMenuItem"}
|
||||
|
||||
# Confirmation Popup
|
||||
confirmButton = {"container": statusDesktop_mainWindow_overlay, "objectName": RegularExpression("confirm*"), "type": "StatusButton"}
|
||||
mainWallet_Saved_Addresses_More_Confirm_Delete = {"container": statusDesktop_mainWindow, "objectName": "RemoveSavedAddressPopup-ConfirmButton", "type": "StatusButton"}
|
||||
mainWallet_Saved_Addresses_More_Confirm_Cancel = {"container": statusDesktop_mainWindow, "objectName": "RemoveSavedAddressPopup-CancelButton", "type": "StatusFlatButton"}
|
||||
mainWallet_Saved_Addresses_More_Confirm_Notification = {"container": statusDesktop_mainWindow, "objectName": "RemoveSavedAddressPopup-Notification", "type": "StatusBaseText"}
|
||||
|
||||
# Picture Edit Popup
|
||||
o_StatusSlider = {"container": statusDesktop_mainWindow_overlay, "type": "StatusSlider", "unnamed": 1, "visible": True}
|
||||
cropSpaceItem_Item = {"container": statusDesktop_mainWindow_overlay, "id": "cropSpaceItem", "type": "Item", "unnamed": 1, "visible": True}
|
||||
make_picture_StatusButton = {"checkable": False, "container": statusDesktop_mainWindow_overlay, "objectName": "imageCropperAcceptButton", "type": "StatusButton", "visible": True}
|
||||
o_DropShadow = {"container": statusDesktop_mainWindow_overlay, "type": "DropShadow", "unnamed": 1, "visible": True}
|
||||
|
||||
# Emoji Popup
|
||||
mainWallet_AddEditAccountPopup_AccountEmojiSearchBox = {"container": statusDesktop_mainWindow, "objectName": "StatusEmojiPopup_searchBox", "type": "TextEdit", "visible": True}
|
||||
mainWallet_AddEditAccountPopup_AccountEmoji = {"container": statusDesktop_mainWindow, "type": "StatusEmoji", "visible": True}
|
||||
|
||||
# Delete Popup
|
||||
o_StatusDialogBackground = {"container": statusDesktop_mainWindow_overlay, "type": "StatusDialogBackground", "unnamed": 1, "visible": True}
|
||||
delete_StatusButton = {"checkable": False, "container": statusDesktop_mainWindow_overlay, "objectName": "deleteChatConfirmationDialogDeleteButton", "type": "StatusButton", "visible": True}
|
||||
confirm_StatusButton = {"checkable": False, "container": statusDesktop_mainWindow_overlay, "objectName": "confirmDeleteCategoryButton", "type": "StatusButton", "visible": True}
|
||||
|
||||
# Authenticate Popup
|
||||
keycardSharedPopupContent_KeycardPopupContent = {"container": statusDesktop_mainWindow_overlay, "objectName": "KeycardSharedPopupContent", "type": "KeycardPopupContent", "visible": True}
|
||||
password_PlaceholderText = {"container": statusDesktop_mainWindow_overlay, "type": "PlaceholderText", "unnamed": 1, "visible": True}
|
||||
authenticate_StatusButton = {"container": statusDesktop_mainWindow_overlay, "objectName": "PrimaryButton", "text": "Authenticate", "type": "StatusButton", "visible": True}
|
||||
headerCloseButton_StatusFlatRoundButton = {"container": statusDesktop_mainWindow_overlay, "objectName": "headerCloseButton", "type": "StatusFlatRoundButton", "visible": True}
|
||||
|
||||
# Shared Popup
|
||||
sharedPopup_Popup_Content = {"container": statusDesktop_mainWindow, "objectName": "KeycardSharedPopupContent", "type": "Item"}
|
||||
sharedPopup_Password_Input = {"container": sharedPopup_Popup_Content, "objectName": "keycardPasswordInput", "type": "TextField"}
|
||||
sharedPopup_Primary_Button = {"container": statusDesktop_mainWindow, "objectName": "PrimaryButton", "type": "StatusButton", "visible": True, "enabled": True}
|
||||
|
||||
# Wallet Account Popup
|
||||
mainWallet_AddEditAccountPopup_derivationPath = {"container": statusDesktop_mainWindow, "objectName": RegularExpression("AddAccountPopup-PreDefinedDerivationPath*"), "type": "StatusListItem", "visible": True}
|
||||
mainWallet_Address_Panel = {"container": statusDesktop_mainWindow, "objectName": "addressPanel", "type": "StatusAddressPanel", "visible": True}
|
||||
addAccountPopup_GeneratedAddress = {"container": statusDesktop_mainWindow_overlay_popup2, "type": "Rectangle", "visible": True}
|
||||
address_0x_StatusBaseText = {"container": statusDesktop_mainWindow_overlay_popup2, "text": RegularExpression("0x*"), "type": "StatusBaseText", "unnamed": 1, "visible": True}
|
||||
addAccountPopup_GeneratedAddressesListPageIndicatior_StatusPageIndicator = {"container": statusDesktop_mainWindow_overlay_popup2, "objectName": "AddAccountPopup-GeneratedAddressesListPageIndicatior", "type": "StatusPageIndicator", "visible": True}
|
||||
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}
|
||||
|
||||
mainWallet_AddEditAccountPopup_Content = {"container": statusDesktop_mainWindow, "objectName": "AddAccountPopup-Content", "type": "Item", "visible": True}
|
||||
mainWallet_AddEditAccountPopup_PrimaryButton = {"container": statusDesktop_mainWindow, "objectName": "AddAccountPopup-PrimaryButton", "type": "StatusButton", "visible": True}
|
||||
mainWallet_AddEditAccountPopup_BackButton = {"container": statusDesktop_mainWindow, "objectName": "AddAccountPopup-BackButton", "type": "StatusBackButton", "visible": True}
|
||||
mainWallet_AddEditAccountPopup_AccountNameComponent = {"container": mainWallet_AddEditAccountPopup_Content, "objectName": "AddAccountPopup-AccountName", "type": "StatusInput", "visible": True}
|
||||
mainWallet_AddEditAccountPopup_AccountName = {"container": mainWallet_AddEditAccountPopup_AccountNameComponent, "type": "TextEdit", "unnamed": 1, "visible": True}
|
||||
mainWallet_AddEditAccountPopup_HeaderTitle = {"container": statusDesktop_mainWindow_overlay, "objectName": "headerTitle", "type": "StatusBaseText", "visible": True}
|
||||
mainWallet_AddEditAccountPopup_AccountColorComponent = {"container": mainWallet_AddEditAccountPopup_Content, "objectName": "AddAccountPopup-AccountColor", "type": "StatusColorSelectorGrid", "visible": True}
|
||||
mainWallet_AddEditAccountPopup_AccountColorSelector = {"container": mainWallet_AddEditAccountPopup_AccountColorComponent, "type": "Repeater", "objectName": "statusColorRepeater", "visible": True, "enabled": True}
|
||||
mainWallet_AddEditAccountPopup_AccountEmojiPopupButton = {"container": mainWallet_AddEditAccountPopup_Content, "objectName": "AddAccountPopup-AccountEmoji", "type": "StatusFlatRoundButton", "visible": True}
|
||||
mainWallet_AddEditAccountPopup_SelectedOrigin = {"container": mainWallet_AddEditAccountPopup_Content, "objectName": "AddAccountPopup-SelectedOrigin", "type": "StatusListItem", "visible": True}
|
||||
mainWallet_AddEditAccountPopup_OriginOption_Placeholder = {"container": statusDesktop_mainWindow, "objectName": "AddAccountPopup-OriginOption-%NAME%", "type": "StatusListItem", "visible": True}
|
||||
mainWallet_AddEditAccountPopup_OriginOptionNewMasterKey = {"container": statusDesktop_mainWindow, "objectName": "AddAccountPopup-OriginOption-LABEL-OPTION-ADD-NEW-MASTER-KEY", "type": "StatusListItem", "visible": True}
|
||||
addAccountPopup_OriginOption_StatusListItem = {"container": statusDesktop_mainWindow_overlay, "type": "StatusListItem", "visible": True}
|
||||
|
||||
mainWallet_AddEditAccountPopup_OriginOptionWatchOnlyAcc = {"container": statusDesktop_mainWindow, "objectName": "AddAccountPopup-OriginOption-LABEL-OPTION-ADD-WATCH-ONLY-ACC", "type": "StatusListItem", "visible": True}
|
||||
mainWallet_AddEditAccountPopup_AccountWatchOnlyAddressComponent = {"container": mainWallet_AddEditAccountPopup_Content, "objectName": "AddAccountPopup-WatchOnlyAddress", "type": "StatusInput", "visible": True}
|
||||
mainWallet_AddEditAccountPopup_AccountWatchOnlyAddress = {"container": mainWallet_AddEditAccountPopup_AccountWatchOnlyAddressComponent, "type": "TextEdit", "unnamed": 1, "visible": True}
|
||||
mainWallet_AddEditAccountPopup_EditDerivationPathButton = {"container": statusDesktop_mainWindow, "objectName": "AddAccountPopup-EditDerivationPath", "type": "StatusButton", "visible": True}
|
||||
mainWallet_AddEditAccountPopup_ResetDerivationPathButton = {"container": statusDesktop_mainWindow, "objectName": "AddAccountPopup-ResetDerivationPath", "type": "StatusLinkText", "enabled": True, "visible": True}
|
||||
mainWallet_AddEditAccountPopup_DerivationPathInputComponent = {"container": statusDesktop_mainWindow, "objectName": "AddAccountPopup-DerivationPathInput", "type": "DerivationPathInput", "visible": True}
|
||||
mainWallet_AddEditAccountPopup_DerivationPathInput = {"container": mainWallet_AddEditAccountPopup_DerivationPathInputComponent, "type": "TextEdit", "unnamed": 1, "visible": True}
|
||||
mainWallet_AddEditAccountPopup_PreDefinedDerivationPathsButton = {"container": mainWallet_AddEditAccountPopup_DerivationPathInputComponent, "objectName": "chevron-down-icon", "type": "StatusIcon", "visible": True}
|
||||
mainWallet_AddEditAccountPopup_GeneratedAddressComponent = {"container": statusDesktop_mainWindow, "objectName": "AddAccountPopup-GeneratedAddress", "type": "StatusListItem", "visible": True}
|
||||
mainWallet_AddEditAccountPopup_NonEthDerivationPathCheckBox = {"checkable": True, "container": statusDesktop_mainWindow, "objectName": "AddAccountPopup-ConfirmAddingNonEthDerivationPath", "type": "StatusCheckBox", "visible": True}
|
||||
mainWallet_AddEditAccountPopup_MasterKey_ImportPrivateKeyOption = {"container": mainWallet_AddEditAccountPopup_Content, "objectName": "AddAccountPopup-ImportPrivateKey", "type": "StatusListItem", "visible": True}
|
||||
mainWallet_AddEditAccountPopup_PrivateKey = {"container": mainWallet_AddEditAccountPopup_Content, "objectName": "AddAccountPopup-PrivateKeyInput", "type": "StatusPasswordInput", "visible": True}
|
||||
mainWallet_AddEditAccountPopup_PrivateKeyNameComponent = {"container": mainWallet_AddEditAccountPopup_Content, "objectName": "AddAccountPopup-PrivateKeyName", "type": "StatusInput", "visible": True}
|
||||
mainWallet_AddEditAccountPopup_PrivateKeyName = {"container": mainWallet_AddEditAccountPopup_PrivateKeyNameComponent, "type": "TextEdit", "unnamed": 1, "visible": True}
|
||||
mainWallet_AddEditAccountPopup_MasterKey_GoToKeycardSettingsOption = {"container": mainWallet_AddEditAccountPopup_Content, "objectName": "AddAccountPopup-GoToKeycardSettings", "type": "StatusButton", "visible": True}
|
||||
mainWallet_AddEditAccountPopup_MasterKey_ImportSeedPhraseOption = {"container": mainWallet_AddEditAccountPopup_Content, "objectName": "AddAccountPopup-ImportUsingSeedPhrase", "type": "StatusListItem", "visible": True}
|
||||
mainWallet_AddEditAccountPopup_MasterKey_GenerateSeedPhraseOption = {"container": mainWallet_AddEditAccountPopup_Content, "objectName": "AddAccountPopup-GenerateNewMasterKey", "type": "StatusListItem", "visible": True}
|
||||
mainWallet_AddEditAccountPopup_ImportedSeedPhraseKeyNameComponent = {"container": mainWallet_AddEditAccountPopup_Content, "objectName": "AddAccountPopup-ImportedSeedPhraseKeyName", "type": "StatusInput", "visible": True}
|
||||
mainWallet_AddEditAccountPopup_ImportedSeedPhraseKeyName = {"container": mainWallet_AddEditAccountPopup_ImportedSeedPhraseKeyNameComponent, "type": "TextEdit", "unnamed": 1, "visible": True}
|
||||
mainWallet_AddEditAccountPopup_GeneratedSeedPhraseKeyNameComponent = {"container": mainWallet_AddEditAccountPopup_Content, "objectName": "AddAccountPopup-GeneratedSeedPhraseKeyName", "type": "StatusInput", "visible": True}
|
||||
mainWallet_AddEditAccountPopup_GeneratedSeedPhraseKeyName = {"container": mainWallet_AddEditAccountPopup_GeneratedSeedPhraseKeyNameComponent, "type": "TextEdit", "unnamed": 1, "visible": True}
|
||||
mainWallet_AddEditAccountPopup_HavePenAndPaperCheckBox = {"checkable": True, "container": mainWallet_AddEditAccountPopup_Content, "objectName": "AddAccountPopup-HavePenAndPaper", "type": "StatusCheckBox", "visible": True}
|
||||
mainWallet_AddEditAccountPopup_SeedPhraseWrittenCheckBox = {"checkable": True, "container": mainWallet_AddEditAccountPopup_Content, "objectName": "AddAccountPopup-SeedPhraseWritten", "type": "StatusCheckBox", "visible": True}
|
||||
mainWallet_AddEditAccountPopup_StoringSeedPhraseConfirmedCheckBox = {"checkable": True, "container": mainWallet_AddEditAccountPopup_Content, "objectName": "AddAccountPopup-StoringSeedPhraseConfirmed", "type": "StatusCheckBox", "visible": True}
|
||||
mainWallet_AddEditAccountPopup_SeedBackupAknowledgeCheckBox = {"checkable": True, "container": mainWallet_AddEditAccountPopup_Content, "objectName": "AddAccountPopup-SeedBackupAknowledge", "type": "StatusCheckBox", "visible": True}
|
||||
mainWallet_AddEditAccountPopup_RevealSeedPhraseButton = {"container": mainWallet_AddEditAccountPopup_Content, "objectName": "AddAccountPopup-RevealSeedPhrase", "type": "StatusButton", "visible": True}
|
||||
mainWallet_AddEditAccountPopup_SeedPhraseWordAtIndex_Placeholder = {"container": mainWallet_AddEditAccountPopup_Content, "objectName": "SeedPhraseWordAtIndex-%WORD-INDEX%", "type": "StatusSeedPhraseInput", "visible": True}
|
||||
mainWallet_AddEditAccountPopup_EnterSeedPhraseWordComponent = {"container": mainWallet_AddEditAccountPopup_Content, "objectName": "AddAccountPopup-EnterSeedPhraseWord", "type": "StatusInput", "visible": True}
|
||||
mainWallet_AddEditAccountPopup_EnterSeedPhraseWord = {"container": mainWallet_AddEditAccountPopup_EnterSeedPhraseWordComponent, "type": "TextEdit", "unnamed": 1, "visible": True}
|
||||
mainWallet_AddEditAccountPopup_SPWord = {"container": mainWallet_AddEditAccountPopup_Content, "type": "TextEdit", "objectName": RegularExpression("statusSeedPhraseInputField*")}
|
||||
mainWallet_AddEditAccountPopup_12WordsButton = {"container": mainWallet_AddEditAccountPopup_Content, "objectName": "12SeedButton", "type": "StatusSwitchTabButton"}
|
||||
mainWallet_AddEditAccountPopup_18WordsButton = {"container": mainWallet_AddEditAccountPopup_Content, "objectName": "18SeedButton", "type": "StatusSwitchTabButton"}
|
||||
mainWallet_AddEditAccountPopup_24WordsButton = {"container": mainWallet_AddEditAccountPopup_Content, "objectName": "24SeedButton", "type": "StatusSwitchTabButton"}
|
||||
|
||||
# Edit Account from settings popup
|
||||
editWalletSettings_renameButton = {"container": statusDesktop_mainWindow_overlay, "objectName": "renameAccountModalSaveBtn", "type": "StatusButton"}
|
||||
editWalletSettings_AccountNameInput = {"container": statusDesktop_mainWindow_overlay, "objectName": "renameAccountNameInput", "type": "TextEdit", "visible": True}
|
||||
editWalletSettings_EmojiSelector = {"container": statusDesktop_mainWindow_overlay, "objectName": "statusSmartIdenticonLetter", "type": "StatusLetterIdenticon", "visible": True}
|
||||
editWalletSettings_ColorSelector = {"container": statusDesktop_mainWindow_overlay, "type": "StatusColorRadioButton", "unnamed": 1, "visible": True}
|
||||
editWalletSettings_EmojiItem = {"container": statusDesktop_mainWindow_overlay, "objectName": RegularExpression("statusEmoji_*"), "type": "StatusEmoji"}
|
||||
|
||||
# Remove Account from settings popup
|
||||
removeConfirmationCrossCloseButton = {"container": statusDesktop_mainWindow_overlay, "objectName": "close-icon", "type": "StatusIcon", "visible": True}
|
||||
removeConfirmationTextTitle = {"container": statusDesktop_mainWindow_overlay, "objectName": "headerTitle", "type": "StatusBaseText", "visible": True}
|
||||
removeConfirmationTextBody = {"container": statusDesktop_mainWindow_overlay, "type": "StatusBaseText", "unnamed": 1, "visible": True}
|
||||
removeConfirmationRemoveButton = {"container": statusDesktop_mainWindow_overlay, "objectName": RegularExpression("confirm*"), "type": "StatusButton"}
|
||||
removeConfirmationAgreementCheckBox = {"container": statusDesktop_mainWindow_overlay, "objectName": "RemoveAccountPopup-HavePenPaper", "type": "StatusCheckBox"}
|
||||
removeConfirmationConfirmButton = {"checkable": False, "container": statusDesktop_mainWindow_overlay, "objectName": "RemoveAccountPopup-ConfirmButton", "type": "StatusButton"}
|
||||
|
||||
# Testnet mode popup
|
||||
turn_on_testnet_mode_StatusButton = {"container": statusDesktop_mainWindow_overlay, "id": "acceptBtn", "text": "Turn on testnet mode", "type": "StatusButton", "unnamed": 1, "visible": True}
|
||||
turn_off_testnet_mode_StatusButton = {"container": statusDesktop_mainWindow_overlay, "id": "acceptBtn", "text": "Turn off testnet mode", "type": "StatusButton", "unnamed": 1, "visible": True}
|
||||
testnet_mode_cancelButton = {"container": statusDesktop_mainWindow_overlay, "type": "StatusButton", "unnamed": 1, "visible": True}
|
||||
testnet_mode_closeCrossButton = {"container": statusDesktop_mainWindow_overlay, "objectName": "headerActionsCloseButton", "type": "StatusFlatRoundButton", "visible": True}
|
||||
|
||||
# Testnet mode banner
|
||||
mainWindow_testnetBanner_ModuleWarning = {"container": statusDesktop_mainWindow, "objectName": "testnetBanner", "type": "ModuleWarning", "visible": True}
|
||||
mainWindow_Turn_off_Button = {"checkable": False, "container": statusDesktop_mainWindow, "id": "button", "text": "Turn off", "type": "Button", "unnamed": 1, "visible": True}
|
||||
|
||||
# Toast message
|
||||
ephemeral_Notification_List = {"container": statusDesktop_mainWindow, "objectName": "ephemeralNotificationList", "type": "StatusListView"}
|
||||
ephemeralNotificationList_StatusToastMessage = {"container": ephemeral_Notification_List, "objectName": "statusToastMessage", "type": "StatusToastMessage"}
|
||||
|
||||
# Change password view
|
||||
|
||||
settingsContentBase_ScrollView = {"container": statusDesktop_mainWindow, "objectName": "settingsContentBaseScrollView", "type": "StatusScrollView", "visible": True}
|
||||
change_password_menu_current_password = {"container": settingsContentBase_ScrollView, "objectName": "passwordViewCurrentPassword", "type": "StatusPasswordInput", "visible": True}
|
||||
change_password_menu_new_password = {"container": settingsContentBase_ScrollView, "objectName": "passwordViewNewPassword", "type": "StatusPasswordInput", "visible": True}
|
||||
change_password_menu_new_password_confirm = {"container": settingsContentBase_ScrollView, "objectName": "passwordViewNewPasswordConfirm", "type": "StatusPasswordInput", "visible": True}
|
||||
change_password_menu_change_password_button = {"container": settingsContentBase_ScrollView, "objectName": "changePasswordModalSubmitButton", "type": "StatusButton", "visible": True}
|
||||
reEncryptRestartButton = {"container": statusDesktop_mainWindow_overlay, "objectName": "changePasswordModalSubmitButton", "type": "StatusButton", "visible": True}
|
||||
reEncryptionComplete = {"container": statusDesktop_mainWindow_overlay, "objectName": "statusListItemSubTitle", "type": "StatusTextWithLoadingState", "visible": True}
|
||||
|
||||
# Social Links Popup
|
||||
socialLink_StatusListItem = {"container": statusDesktop_mainWindow_overlay, "type": "StatusListItem", "title": "", "visible": True}
|
||||
placeholder_StatusBaseText = {"container": statusDesktop_mainWindow_overlay, "id": "placeholder", "type": "StatusBaseText", "unnamed": 1, "visible": True}
|
||||
social_links_back_StatusBackButton = {"container": statusDesktop_mainWindow_overlay, "type": "StatusBackButton", "unnamed": 1, "visible": True}
|
||||
social_links_add_StatusBackButton = {"container": statusDesktop_mainWindow_overlay, "type": "StatusButton", "unnamed": 1, "visible": True}
|
||||
linksView = {"container": statusDesktop_mainWindow, "id": "linksView", "type": "StatusListView", "unnamed": 1, "visible": True}
|
||||
|
||||
# Changes detected popup
|
||||
mainWindow_settingsDirtyToastMessage_SettingsDirtyToastMessage = {"container": ":statusDesktop_mainWindow", "id": "settingsDirtyToastMessage", "type": "SettingsDirtyToastMessage", "unnamed": 1, "visible": True}
|
||||
settingsSave_StatusButton = {"container": statusDesktop_mainWindow, "objectName": "settingsDirtyToastMessageSaveButton", "type": "StatusButton", "visible": True}
|
||||
|
||||
# Back up seed phrase banner
|
||||
mainWindow_secureYourSeedPhraseBanner_ModuleWarning = {"container": statusDesktop_mainWindow, "objectName": "secureYourSeedPhraseBanner", "type": "ModuleWarning", "visible": True}
|
||||
mainWindow_secureYourSeedPhraseBanner_Button = {"container": statusDesktop_mainWindow, "id": "button", "text": "Back up now", "type": "Button", "unnamed": 1, "visible": True}
|
||||
|
||||
# Sync new device popup
|
||||
copy_SyncCodeStatusButton = {"container": statusDesktop_mainWindow_overlay, "objectName": "syncCodeCopyButton", "type": "StatusButton", "visible": True}
|
||||
done_SyncCodeStatusButton = {"container": statusDesktop_mainWindow_overlay, "objectName": "syncAnewDeviceNextButton", "type": "StatusButton", "visible": True}
|
||||
syncCodeInput_StatusPasswordInput = {"container": statusDesktop_mainWindow_overlay, "id": "syncCodeInput", "type": "StatusPasswordInput", "unnamed": 1, "visible": True}
|
||||
close_StatusButton = {"checkable": False, "container": statusDesktop_mainWindow_overlay, "objectName": "syncAnewDeviceNextButton", "type": "StatusButton", "visible": True}
|
||||
errorView_SyncingErrorMessage = {"container": statusDesktop_mainWindow_overlay, "id": "errorView", "type": "SyncingErrorMessage", "unnamed": 1, "visible": True}
|
||||
|
||||
# Edit group name and image popup
|
||||
groupChatEdit_name_TextEdit = {"container": statusDesktop_mainWindow_overlay, "objectName": "groupChatEdit_name", "type": "TextEdit", "visible": True}
|
||||
save_changes_StatusButton = {"checkable": False, "container": statusDesktop_mainWindow_overlay, "objectName": "groupChatEdit_save", "type": "StatusButton", "visible": True}
|
||||
|
||||
# Leave group popup
|
||||
leave_StatusButton = {"checkable": False, "container": statusDesktop_mainWindow_overlay, "objectName": "leaveGroupConfirmationDialogLeaveButton", "type": "StatusButton", "visible": True}
|
||||
|
||||
# Create Keycard account with new seed phrase popup
|
||||
cancel_StatusButton = {"checkable": False, "container": statusDesktop_mainWindow_overlay, "id": "cancelButton", "type": "StatusButton", "visible": True}
|
||||
image_KeycardImage = {"container": statusDesktop_mainWindow_overlay, "id": "image", "type": "KeycardImage", "unnamed": 1, "visible": True}
|
||||
img_Image = {"container": statusDesktop_mainWindow_overlay, "id": "img", "type": "Image", "unnamed": 1, "visible": True}
|
||||
headerTitle = {"container": statusDesktop_mainWindow_overlay, "objectName": "headerTitle", "type": "StatusBaseText", "visible": True}
|
||||
o_KeycardInit = {"container": statusDesktop_mainWindow_overlay, "type": "KeycardInit", "unnamed": 1, "visible": True}
|
||||
keycard_reader_instruction_text = {"container": statusDesktop_mainWindow_overlay, "type": "StatusBaseText", "visible": True}
|
||||
pinInputField_StatusPinInput = {"container": statusDesktop_mainWindow_overlay, "id": "pinInputField", "type": "StatusPinInput", "unnamed": 1, "visible": True}
|
||||
inputText_TextInput = {"container": statusDesktop_mainWindow_overlay, "id": "inputText", "type": "TextInput", "unnamed": 1, "visible": False}
|
||||
nextStatusButton = {"checkable": False, "container": statusDesktop_mainWindow_overlay, "objectName": "PrimaryButton", "type": "StatusButton", "visible": True}
|
||||
revealSeedPhraseButton = {"checkable": False, "container": statusDesktop_mainWindow_overlay, "objectName": "AddAccountPopup-RevealSeedPhrase", "type": "StatusButton", "visible": True}
|
||||
seedPhraseWordAtIndex_Placeholder = {"container": statusDesktop_mainWindow_overlay, "objectName": "SeedPhraseWordAtIndex-%WORD-INDEX%", "type": "StatusSeedPhraseInput", "visible": True}
|
||||
word0_StatusInput = {"container": statusDesktop_mainWindow_overlay, "id": "word0", "type": "StatusInput", "unnamed": 1, "visible": True}
|
||||
word1_StatusInput = {"container": statusDesktop_mainWindow_overlay, "id": "word1", "type": "StatusInput", "unnamed": 1, "visible": True}
|
||||
word2_StatusInput = {"container": statusDesktop_mainWindow_overlay, "id": "word2", "type": "StatusInput", "unnamed": 1, "visible": True}
|
||||
o_KeyPairItem = {"container": statusDesktop_mainWindow_overlay, "type": "KeyPairItem", "unnamed": 1, "visible": True}
|
||||
o_KeyPairUnknownItem = {"container": statusDesktop_mainWindow_overlay, "type": "KeyPairUnknownItem", "unnamed": 1, "visible": True}
|
||||
o_StatusListItemTag = {"container": statusDesktop_mainWindow_overlay, "type": "StatusListItemTag", "unnamed": 1, "visible": True}
|
||||
radioButton_StatusRadioButton = {"checkable": True, "container": statusDesktop_mainWindow_overlay, "id": "radioButton", "type": "StatusRadioButton", "unnamed": 1, "visible": True}
|
||||
statusSeedPhraseInputField_TextEdit = {"container": statusDesktop_mainWindow_overlay, "objectName": "statusSeedPhraseInputField", "type": "TextEdit", "visible": True}
|
||||
switchTabBar_StatusSwitchTabBar = {"container": statusDesktop_mainWindow_overlay, "id": "switchTabBar", "type": "StatusSwitchTabBar", "unnamed": 1, "visible": True}
|
||||
switchTabBar_12_words_StatusSwitchTabButton = {"checkable": True, "container": switchTabBar_StatusSwitchTabBar, "objectName": "12SeedButton", "text": "12 words", "type": "StatusSwitchTabButton", "visible": True}
|
||||
switchTabBar_18_words_StatusSwitchTabButton = {"checkable": True, "container": switchTabBar_StatusSwitchTabBar, "objectName": "18SeedButton", "text": "18 words", "type": "StatusSwitchTabButton", "visible": True}
|
||||
switchTabBar_24_words_StatusSwitchTabButton = {"checkable": True, "container": switchTabBar_StatusSwitchTabBar, "objectName": "24SeedButton", "text": "24 words", "type": "StatusSwitchTabButton", "visible": True}
|
||||
i_understand_the_key_pair_on_this_Keycard_will_be_deleted_StatusCheckBox = {"checkable": True, "container": statusDesktop_mainWindow_overlay, "id": "confirmation", "type": "StatusCheckBox", "visible": True}
|
||||
statusSmartIdenticonLetter_StatusLetterIdenticon = {"container": statusDesktop_mainWindow_overlay, "objectName": "statusSmartIdenticonLetter", "type": "StatusLetterIdenticon", "visible": True}
|
||||
secondary_StatusButton = {"checkable": False, "container": statusDesktop_mainWindow_overlay, "id": "secondaryButton", "type": "StatusButton", "unnamed": 1, "visible": True}
|
||||
|
||||
# Send Popup
|
||||
o_StatusTabBar = {"container": statusDesktop_mainWindow_overlay, "type": "StatusTabBar", "unnamed": 1, "visible": True}
|
||||
tab_Status_template = {"container": o_StatusTabBar, "type": "StatusBaseText", "unnamed": 1, "visible": True}
|
||||
o_TokenBalancePerChainDelegate_template = {"container": statusDesktop_mainWindow_overlay, "type": "TokenBalancePerChainDelegate", "unnamed": 1, "visible": True}
|
||||
amountInput_TextEdit = {"container": statusDesktop_mainWindow_overlay, "objectName": "amountInput", "type": "TextEdit", "visible": True}
|
||||
paste_StatusButton = {"checkable": False, "container": statusDesktop_mainWindow_overlay, "type": "StatusButton", "unnamed": 1, "visible": True}
|
||||
ens_or_address_TextEdit = {"container": statusDesktop_mainWindow_overlay, "id": "edit", "type": "TextEdit", "unnamed": 1, "visible": True}
|
||||
accountSelectionTabBar_StatusTabBar = {"container": statusDesktop_mainWindow_overlay, "id": "accountSelectionTabBar", "type": "StatusTabBar", "unnamed": 1, "visible": True}
|
||||
accountSelectionTabBar_My_Accounts_StatusTabButton = {"checkable": True, "container": accountSelectionTabBar_StatusTabBar, "objectName": "myAccountsTab", "type": "StatusTabButton", "visible": True}
|
||||
status_account_WalletAccountListItem_template = {"container": statusDesktop_mainWindow_overlay, "objectName": "Status account", "type": "WalletAccountListItem", "visible": True}
|
||||
arbitrum_StatusListItem = {"container": statusDesktop_mainWindow_overlay, "objectName": "Arbitrum", "type": "StatusListItem", "visible": True}
|
||||
mainnet_StatusListItem = {"container": statusDesktop_mainWindow_overlay, "objectName": "Mainnet", "type": "StatusListItem", "visible": True}
|
||||
statusListItemSubTitle_StatusTextWithLoadingState = {"container": statusDesktop_mainWindow_overlay, "objectName": "statusListItemSubTitle", "type": "StatusTextWithLoadingState", "visible": True}
|
||||
fiatFees_StatusBaseText = {"container": statusDesktop_mainWindow_overlay, "id": "fiatFees", "type": "StatusBaseText", "unnamed": 1, "visible": True}
|
||||
send_StatusFlatButton = {"checkable": False, "container": statusDesktop_mainWindow_overlay, "objectName": "sendModalFooterSendButton", "type": "StatusFlatButton", "visible": True}
|
||||
o_SearchBoxWithRightIcon = {"container": statusDesktop_mainWindow_overlay, "type": "SearchBoxWithRightIcon", "unnamed": 1, "visible": True}
|
||||
search_TextEdit = {"container": o_SearchBoxWithRightIcon, "id": "edit", "type": "TextEdit", "unnamed": 1, "visible": True}
|
||||
|
||||
# Verify identity popup
|
||||
profileSendContactRequestModal_sayWhoYouAreInput_TextEdit = {"container": statusDesktop_mainWindow_overlay, "objectName": "ProfileSendContactRequestModal_sayWhoYouAreInput", "type": "TextEdit", "visible": True}
|
||||
send_verification_request_StatusButton = {"checkable": False, "container": statusDesktop_mainWindow_overlay, "objectName": "ProfileSendContactRequestModal_sendContactRequestButton", "type": "StatusButton", "visible": True}
|
||||
close_icon_StatusIcon = {"container": statusDesktop_mainWindow_overlay, "objectName": "close-icon", "type": "StatusIcon", "visible": True}
|
||||
messageInput_StatusInput = {"container": statusDesktop_mainWindow_overlay, "id": "messageInput", "type": "StatusInput", "unnamed": 1, "visible": True}
|
||||
|
||||
# Respond to ID request popup
|
||||
send_Answer_StatusButton = {"checkable": False, "container": statusDesktop_mainWindow_overlay, "objectName": "sendAnswerButton", "type": "StatusButton", "visible": True}
|
||||
refuse_Verification_StatusButton = {"checkable": False, "container": statusDesktop_mainWindow_overlay, "objectName": "refuseVerificationButton", "type": "StatusButton", "unnamed": 1, "visible": True}
|
||||
change_answer_StatusFlatButton = {"checkable": False, "container": statusDesktop_mainWindow_overlay, "objectName": "changeAnswerButton", "type": "StatusFlatButton", "visible": True}
|
||||
close_StatusButton = {"checkable": False, "container": statusDesktop_mainWindow_overlay, "objectName": "closeButton", "type": "StatusButton", "visible": True}
|
|
@ -1,24 +0,0 @@
|
|||
statusDesktop_mainWindow = {"name": "mainWindow", "type": "StatusWindow"}
|
||||
mainWindow_StatusWindow = {"name": "mainWindow", "type": "StatusWindow", "visible": True}
|
||||
statusDesktop_mainWindow_overlay = {"container": statusDesktop_mainWindow, "type": "Overlay", "unnamed": 1, "visible": True}
|
||||
statusDesktop_mainWindow_overlay_popup2 = {"container": statusDesktop_mainWindow_overlay, "occurrence": 2, "type": "PopupItem", "unnamed": 1, "visible": True}
|
||||
scrollView_StatusScrollView = {"container": statusDesktop_mainWindow_overlay, "id": "scrollView", "type": "StatusScrollView", "unnamed": 1, "visible": True}
|
||||
splashScreen = {"container": statusDesktop_mainWindow, "objectName": "splashScreen", "type": "DidYouKnowSplashScreen"}
|
||||
settingsSave_StatusButton = {"container": statusDesktop_mainWindow, "objectName": "settingsDirtyToastMessageSaveButton", "type": "StatusButton", "visible": True}
|
||||
|
||||
# Main right panel
|
||||
mainWindow_RighPanel = {"container": statusDesktop_mainWindow, "type": "ColumnLayout", "objectName": "mainRightView", "visible": True}
|
||||
|
||||
# Navigation Panel
|
||||
mainWindow_StatusAppNavBar = {"container": statusDesktop_mainWindow, "type": "StatusAppNavBar", "unnamed": 1, "visible": True}
|
||||
messages_navbar_StatusNavBarTabButton = {"checkable": True, "container": mainWindow_StatusAppNavBar, "objectName": "Messages-navbar", "type": "StatusNavBarTabButton", "visible": True}
|
||||
communities_Portal_navbar_StatusNavBarTabButton = {"checkable": True, "container": mainWindow_StatusAppNavBar, "objectName": "Communities Portal-navbar", "type": "StatusNavBarTabButton", "visible": True}
|
||||
wallet_navbar_StatusNavBarTabButton = {"checkable": True, "container": mainWindow_StatusAppNavBar, "objectName": "Wallet-navbar", "type": "StatusNavBarTabButton", "visible": True}
|
||||
settings_navbar_StatusNavBarTabButton = {"checkable": True, "container": mainWindow_StatusAppNavBar, "objectName": "Settings-navbar", "type": "StatusNavBarTabButton", "visible": True}
|
||||
mainWindow_ProfileNavBarButton = {"container": statusDesktop_mainWindow, "objectName": "statusProfileNavBarTabButton", "type": "StatusNavBarTabButton", "visible": True}
|
||||
mainWindow_statusCommunityMainNavBarListView_ListView = {"container": statusDesktop_mainWindow, "objectName": "statusCommunityMainNavBarListView", "type": "ListView", "visible": True}
|
||||
statusCommunityMainNavBarListView_CommunityNavBarButton = {"checkable": True, "container": mainWindow_statusCommunityMainNavBarListView_ListView, "objectName": "CommunityNavBarButton", "type": "StatusNavBarTabButton", "visible": True}
|
||||
invite_People_StatusMenuItem = {"container": statusDesktop_mainWindow_overlay, "enabled": True, "objectName": "invitePeople", "type": "StatusMenuItem", "visible": True}
|
||||
|
||||
# Banners
|
||||
secureYourSeedPhraseBanner_ModuleWarning = {"container": statusDesktop_mainWindow, "objectName": "secureYourSeedPhraseBanner", "type": "ModuleWarning", "visible": True}
|
|
@ -1,68 +0,0 @@
|
|||
from .main_names import statusDesktop_mainWindow, mainWindow_StatusWindow
|
||||
|
||||
mainWindow_chatView_ChatView = {"container": statusDesktop_mainWindow, "id": "chatView", "type": "ChatView", "unnamed": 1, "visible": True}
|
||||
|
||||
# Left Panel
|
||||
mainWindow_contactColumnLoader_Loader = {"container": mainWindow_chatView_ChatView, "id": "contactColumnLoader", "type": "Loader", "unnamed": 1, "visible": True}
|
||||
mainWindow_startChatButton_StatusIconTabButton = {"checkable": True, "container": mainWindow_contactColumnLoader_Loader, "objectName": "startChatButton", "type": "StatusIconTabButton", "visible": True}
|
||||
mainWindow_search_edit_TextEdit = {"container": mainWindow_contactColumnLoader_Loader, "id": "edit", "type": "TextEdit", "unnamed": 1, "visible": True}
|
||||
mainWindow_scrollView_StatusScrollView = {"container": mainWindow_contactColumnLoader_Loader, "id": "scrollView", "type": "StatusScrollView", "unnamed": 1, "visible": True}
|
||||
scrollView_Flickable = {"container": mainWindow_scrollView_StatusScrollView, "type": "Flickable", "unnamed": 1, "visible": True}
|
||||
scrollView_ContactsColumnView_chatList_StatusChatList = {"container": mainWindow_scrollView_StatusScrollView, "objectName": "ContactsColumnView_chatList", "type": "StatusChatList", "visible": True}
|
||||
chatList_ListView = {"container": statusDesktop_mainWindow, "objectName": "chatListItems", "type": "StatusListView", "visible": True}
|
||||
|
||||
# Tool Bar
|
||||
mainWindow_statusToolBar_StatusToolBar = {"container": mainWindow_chatView_ChatView, "objectName": "statusToolBar", "type": "StatusToolBar", "visible": True}
|
||||
statusToolBar_Confirm_StatusButton = {"checkable": False, "container": mainWindow_statusToolBar_StatusToolBar, "objectName": "inlineSelectorConfirmButton", "type": "StatusButton", "visible": True}
|
||||
statusToolBar_Cancel_StatusButton = {"checkable": False, "container": mainWindow_statusToolBar_StatusToolBar, "type": "StatusButton", "unnamed": 1, "visible": True}
|
||||
statusToolBar_StatusTagItem = {"container": mainWindow_statusToolBar_StatusToolBar, "type": "StatusTagItem", "visible": True}
|
||||
|
||||
# Chat View
|
||||
mainWindow_ChatColumnView = {"container": mainWindow_chatView_ChatView, "type": "ChatColumnView", "unnamed": 1, "visible": True}
|
||||
mainWindow_chatLogView_StatusListView = {"container": mainWindow_ChatColumnView, "objectName": "chatLogView", "type": "StatusListView", "visible": True}
|
||||
chatLogView_chatMessageViewDelegate_MessageView = {"container": mainWindow_chatLogView_StatusListView, "objectName": "chatMessageViewDelegate", "type": "MessageView", "visible": True, "enabled": True}
|
||||
|
||||
# Create Chat View
|
||||
mainWindow_CreateChatView = {"container": statusDesktop_mainWindow, "type": "CreateChatView", "unnamed": 1, "visible": True}
|
||||
createChatView_confirmBtn = {"container": statusDesktop_mainWindow, "objectName": "inlineSelectorConfirmButton", "type": "StatusButton"}
|
||||
createChatView_contactsList = {"container": statusDesktop_mainWindow, "objectName": "createChatContactsList", "type": "StatusListView", "visible": True}
|
||||
mainWindow_Cancel_StatusButton = {"checkable": False, "container": statusDesktop_mainWindow, "text": "Cancel", "type": "StatusButton", "unnamed": 1, "visible": True}
|
||||
|
||||
# Chat Messages View
|
||||
mainWindow_ChatMessagesView = {"container": statusDesktop_mainWindow, "type": "ChatMessagesView", "unnamed": 1, "visible": True}
|
||||
chatView_log = {"container": statusDesktop_mainWindow, "objectName": "chatLogView", "type": "StatusListView", "visible": True}
|
||||
groupchatLogView_chatMessageViewDelegate_MessageView = {"container": chatView_log, "objectName": "chatMessageViewDelegate", "type": "MessageView", "visible": True}
|
||||
groupMessagesItem = {"container": groupchatLogView_chatMessageViewDelegate_MessageView, "type": "StatusBaseText", "unnamed": 1, "visible": True}
|
||||
chatMessageViewDelegate_ChannelIdentifierView = {"container": chatLogView_chatMessageViewDelegate_MessageView, "type": "ChannelIdentifierView", "unnamed": 1, "visible": True}
|
||||
chatLogView_Item = {"container": chatView_log, "type": "Item", "unnamed": 1, "visible": True}
|
||||
statusChatInfoButton = {"container": mainWindow_statusToolBar_StatusToolBar, "objectName": "statusChatInfoButtonNameText", "type": "TruncatedTextWithTooltip", "visible": True}
|
||||
moreOptionsButton_StatusFlatRoundButton = {"container": mainWindow_statusToolBar_StatusToolBar, "objectName": "chatToolbarMoreOptionsButton", "type": "StatusFlatRoundButton", "visible": True}
|
||||
mainWindow_Overlay = {"container": statusDesktop_mainWindow, "type": "Overlay", "unnamed": 1, "visible": True}
|
||||
edit_name_and_image_StatusMenuItem = {"checkable": False, "container": mainWindow_Overlay, "enabled": True, "objectName": "editNameAndImageMenuItem", "text": "Edit name and image", "type": "StatusMenuItem", "visible": True}
|
||||
leave_group_StatusMenuItem = {"checkable": False, "container": mainWindow_Overlay, "enabled": True, "objectName": "deleteOrLeaveMenuItem", "text": "Leave group", "type": "StatusMenuItem", "visible": True}
|
||||
mainWindow_inputScrollView_StatusScrollView = {"container": statusDesktop_mainWindow, "id": "inputScrollView", "type": "StatusScrollView", "unnamed": 1, "visible": True}
|
||||
inputScrollView_Message_PlaceholderText = {"container": mainWindow_inputScrollView_StatusScrollView, "text": "Message", "type": "PlaceholderText", "unnamed": 1, "visible": True}
|
||||
mainWindow_scrollView_StatusScrollView = {"container": mainWindow_StatusWindow, "id": "scrollView", "type": "StatusScrollView", "unnamed": 1, "visible": True}
|
||||
scrollView_StatusChatListItem = {"container": mainWindow_scrollView_StatusScrollView, "type": "StatusChatListItem", "visible": True}
|
||||
tiny_pin_icon_StatusIcon = {"container": chatLogView_chatMessageViewDelegate_MessageView, "objectName": "tiny/pin-icon", "type": "StatusIcon"}
|
||||
add_remove_from_group_StatusMenuItem = {"checkable": False, "container": mainWindow_Overlay, "enabled": True, "type": "StatusMenuItem", "unnamed": 1, "visible": True}
|
||||
mainWindow_inputScrollView_StatusScrollView = {"container": mainWindow_StatusWindow, "id": "inputScrollView", "type": "StatusScrollView", "unnamed": 1, "visible": True}
|
||||
inputScrollView_messageInputField_TextArea = {"container": mainWindow_inputScrollView_StatusScrollView, "objectName": "messageInputField", "type": "TextArea", "visible": True}
|
||||
|
||||
# User List Panel
|
||||
mainWindow_UserListPanel = {"container": mainWindow_chatView_ChatView, "type": "UserListPanel", "unnamed": 1, "visible": True}
|
||||
userListPanel_StatusMemberListItem = {"container": mainWindow_UserListPanel, "type": "StatusMemberListItem", "unnamed": 1, "visible": True}
|
||||
|
||||
# Group chat users list panel
|
||||
mainWindow_userListPanel_StatusListView = {"container": statusDesktop_mainWindow, "objectName": "userListPanel", "type": "StatusListView", "visible": True}
|
||||
groupUserListPanel_StatusMemberListItem = {"container": mainWindow_userListPanel_StatusListView, "type": "StatusMemberListItem", "unnamed": 1, "visible": True}
|
||||
|
||||
# Message quick actions
|
||||
mainWindow_chatLogView_StatusListView = {"container": statusDesktop_mainWindow, "objectName": "chatLogView", "type": "StatusListView", "visible": True}
|
||||
chatLogView_chatMessageViewDelegate_MessageView = {"container": mainWindow_chatLogView_StatusListView, "index": 0, "objectName": "chatMessageViewDelegate", "type": "MessageView", "visible": True}
|
||||
chatMessageViewDelegate_StatusMessageQuickActions = {"container": chatLogView_chatMessageViewDelegate_MessageView, "type": "StatusMessageQuickActions", "unnamed": 1, "visible": True}
|
||||
chatMessageViewDelegate_MessageView_toggleMessagePin_StatusFlatRoundButton = {"container": chatLogView_chatMessageViewDelegate_MessageView, "objectName": "MessageView_toggleMessagePin", "type": "StatusFlatRoundButton", "visible": True}
|
||||
chatMessageViewDelegate_replyToMessageButton_StatusFlatRoundButton = {"container": chatLogView_chatMessageViewDelegate_MessageView, "objectName": "replyToMessageButton", "type": "StatusFlatRoundButton", "visible": True}
|
||||
chatMessageViewDelegate_editMessageButton_StatusFlatRoundButton = {"container": chatLogView_chatMessageViewDelegate_MessageView, "objectName": "editMessageButton", "type": "StatusFlatRoundButton", "visible": True}
|
||||
chatMessageViewDelegate_markAsUnreadButton_StatusFlatRoundButton = {"container": chatLogView_chatMessageViewDelegate_MessageView, "objectName": "markAsUnreadButton", "type": "StatusFlatRoundButton", "visible": True}
|
||||
chatMessageViewDelegate_chatDeleteMessageButton_StatusFlatRoundButton = {"container": chatLogView_chatMessageViewDelegate_MessageView, "objectName": "chatDeleteMessageButton", "type": "StatusFlatRoundButton", "visible": True}
|
|
@ -1,28 +0,0 @@
|
|||
QQuickApplicationWindow = {"type": "QQuickApplicationWindow", "unnamed": 1, "visible": True}
|
||||
mocked_Keycard_Lib_Controller_Overlay = {"container": QQuickApplicationWindow, "type": "Overlay", "unnamed": 1, "visible": True}
|
||||
|
||||
plugin_Reader_StatusButton = {"checkable": False, "container": QQuickApplicationWindow, "objectName": "pluginReaderButton", "type": "StatusButton", "visible": True}
|
||||
unplug_Reader_StatusButton = {"checkable": False, "container": QQuickApplicationWindow, "objectName": "unplugReaderButton", "type": "StatusButton", "visible": True}
|
||||
insert_Keycard_1_StatusButton = {"checkable": False, "container": QQuickApplicationWindow, "objectName": "insertKeycard1Button", "type": "StatusButton", "visible": True}
|
||||
insert_Keycard_2_StatusButton = {"checkable": False, "container": QQuickApplicationWindow, "objectName": "insertKeycard2Button", "type": "StatusButton", "visible": True}
|
||||
remove_Keycard_StatusButton = {"checkable": False, "container": QQuickApplicationWindow, "objectName": "removeKeycardButton", "type": "StatusButton", "visible": True}
|
||||
set_initial_reader_state_StatusButton = {"checkable": False, "container": QQuickApplicationWindow, "id": "selectReaderStateButton", "type": "StatusButton", "visible": True}
|
||||
keycardSettingsTab = {"container": QQuickApplicationWindow, "type": "KeycardSettingsTab", "visible": True}
|
||||
set_initial_keycard_state_StatusButton = {"checkable": False, "container": keycardSettingsTab, "id": "selectKeycardsStateButton", "type": "StatusButton", "visible": True}
|
||||
register_Keycard_StatusButton = {"checkable": False, "container": keycardSettingsTab, "objectName": "registerKeycardButton", "type": "StatusButton", "visible": True}
|
||||
|
||||
not_Status_Keycard_StatusMenuItem = {"checkable": False, "container": mocked_Keycard_Lib_Controller_Overlay, "enabled": True, "objectName": "notStatusKeycardAction", "type": "StatusMenuItem", "visible": True}
|
||||
empty_Keycard_StatusMenuItem = {"checkable": False, "container": mocked_Keycard_Lib_Controller_Overlay, "enabled": True, "objectName": "emptyKeycardAction", "text": "Empty Keycard", "type": "StatusMenuItem", "visible": True}
|
||||
max_Pairing_Slots_Reached_StatusMenuItem = {"checkable": False, "container": mocked_Keycard_Lib_Controller_Overlay, "enabled": True, "objectName": "maxPairingSlotsReachedAction", "type": "StatusMenuItem", "visible": True}
|
||||
max_PIN_Retries_Reached_StatusMenuItem = {"checkable": False, "container": mocked_Keycard_Lib_Controller_Overlay, "enabled": True, "objectName": "maxPINRetriesReachedAction", "type": "StatusMenuItem", "visible": True}
|
||||
max_PUK_Retries_Reached_StatusMenuItem = {"checkable": False, "container": mocked_Keycard_Lib_Controller_Overlay, "enabled": True, "objectName": "maxPUKRetriesReachedAction", "type": "StatusMenuItem", "visible": True}
|
||||
keycard_With_Mnemonic_Only_StatusMenuItem = {"checkable": False, "container": mocked_Keycard_Lib_Controller_Overlay, "enabled": True, "objectName": "keycardWithMnemonicOnlyAction", "type": "StatusMenuItem", "visible": True}
|
||||
keycard_With_Mnemonic_Metadata_StatusMenuItem = {"checkable": False, "container": mocked_Keycard_Lib_Controller_Overlay, "enabled": True, "objectName": "keycardWithMnemonicAndMedatadaAction", "type": "StatusMenuItem", "visible": True}
|
||||
custom_Keycard_StatusMenuItem = {"checkable": False, "container": mocked_Keycard_Lib_Controller_Overlay, "enabled": True, "objectName": "customKeycardAction", "type": "StatusMenuItem", "visible": True}
|
||||
|
||||
reader_Unplugged_StatusMenuItem = {"checkable": False, "container": mocked_Keycard_Lib_Controller_Overlay, "enabled": True, "objectName": "readerStateReaderUnpluggedAction", "type": "StatusMenuItem", "visible": True}
|
||||
keycard_Not_Inserted_StatusMenuItem = {"checkable": False, "container": mocked_Keycard_Lib_Controller_Overlay, "enabled": True, "objectName": "readerStateKeycardNotInsertedAction", "type": "StatusMenuItem", "visible": True}
|
||||
keycard_Inserted_StatusMenuItem = {"checkable": False, "container": mocked_Keycard_Lib_Controller_Overlay, "enabled": True, "objectName": "readerStateKeycardInsertedAction", "type": "StatusMenuItem", "visible": True}
|
||||
|
||||
keycard_edit_TextEdit = {"container": keycardSettingsTab, "id": "edit", "type": "TextEdit", "unnamed": 1, "visible": True}
|
||||
keycardFlickable = {"container": keycardSettingsTab, "type": "Flickable", "unnamed": 1, "visible": True}
|
File diff suppressed because it is too large
Load Diff
|
@ -1,113 +0,0 @@
|
|||
from . main_names import *
|
||||
|
||||
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_allowNotificationsOnboardingOkButton = {"container": mainWindow_AllowNotificationsView, "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"}
|
||||
|
||||
# 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_SeedPhraseInputView,
|
||||
"objectName": "statusSeedPhraseInputField", "type": "TextEdit",
|
||||
"visible": True}
|
||||
mainWindow_Import_StatusButton = {"checkable": False, "container": mainWindow_SeedPhraseInputView,
|
||||
"objectName": "seedPhraseViewSubmitButton", "text": "Import", "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 = {"checkable": False, "container": statusDesktop_mainWindow, "text": "Paste", "type": "StatusButton", "unnamed": 1, "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_CanvasItem = {"container": mainWindow_InsertDetailsView, "type": "CanvasItem", "unnamed": 1, "visible": True}
|
||||
mainWindow_IdenticonRing = {"container": statusDesktop_mainWindow, "type": "StatusIdenticonRing", "unnamed": 1, "visible": True}
|
||||
mainWindow_Next_StatusButton = {"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": mainWindow_StatusWindow, "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": mainWindow_InsertDetailsView, "objectName": "insertDetailsViewChatKeyTxt", "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": mainWindow_InsertDetailsView, "id": "userImageCopy", "type": "StatusSmartIdenticon", "unnamed": 1, "visible": True}
|
||||
|
||||
|
||||
# Create Password View
|
||||
mainWindow_CreatePasswordView = {"container": statusDesktop_mainWindow, "type": "CreatePasswordView", "unnamed": 1, "visible": True}
|
||||
mainWindow_passwordViewNewPassword = {"container": mainWindow_CreatePasswordView, "echoMode": 2, "objectName": "passwordViewNewPassword", "type": "StatusPasswordInput", "visible": True}
|
||||
mainWindow_passwordViewNewPasswordConfirm = {"container": mainWindow_CreatePasswordView, "echoMode": 2, "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}
|
||||
|
||||
# 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"}
|
|
@ -1,7 +0,0 @@
|
|||
from objectmaphelper import *
|
||||
|
||||
# Open Files Dialog
|
||||
chooseAnImageALogo_QQuickWindow = {"title": RegularExpression("Choose.*"), "type": "QQuickWindow", "unnamed": 1, "visible": True}
|
||||
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}
|
||||
|
|
@ -1,160 +0,0 @@
|
|||
from gui.objects_map.main_names import statusDesktop_mainWindow, statusDesktop_mainWindow_overlay
|
||||
from objectmaphelper import *
|
||||
|
||||
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": mainWindow_StatusSectionLayout_ContentItem, "type": "LeftTabView", "unnamed": 1, "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": mainWindow_scrollView_StatusScrollView, "type": "StatusNavigationListItem", "visible": True}
|
||||
scrollView_Flickable = {"container": mainWindow_scrollView_StatusScrollView, "type": "Flickable", "unnamed": 1, "visible": True}
|
||||
mainWindow_ScrollView = {"container": mainWindow_LeftTabView, "type": "StatusScrollView", "unnamed": 1, "visible": True}
|
||||
settingsBackUpSeedPhraseOption = {"container": mainWindow_ScrollView, "objectName": "18-MainMenuItem", "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}
|
||||
|
||||
# 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, "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}
|
||||
|
||||
# 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, "echoMode": 0, "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}
|
|
@ -1,30 +0,0 @@
|
|||
from objectmaphelper import *
|
||||
from . main_names import *
|
||||
|
||||
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_StatusSectionLayout_ContentItem = {"container": statusDesktop_mainWindow, "objectName": "StatusSectionLayout", "type": "ContentItem", "visible": True}
|
||||
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": mainWindow_StatusWindow, "type": "DisabledTooltipButton", "icon": "send", "visible": True}
|
|
@ -17,6 +17,7 @@ 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.screens.community_settings import CommunitySettingsScreen
|
||||
from scripts.tools.image import Image
|
||||
|
||||
|
@ -24,7 +25,7 @@ from scripts.tools.image import Image
|
|||
class CommunityScreen(QObject):
|
||||
|
||||
def __init__(self):
|
||||
super().__init__('mainWindow_communityLoader_Loader')
|
||||
super().__init__(names.mainWindow_communityLoader_Loader)
|
||||
self.left_panel = LeftPanel()
|
||||
self.tool_bar = ToolBar()
|
||||
self.chat = Chat()
|
||||
|
@ -89,15 +90,15 @@ class CommunityScreen(QObject):
|
|||
class ToolBar(QObject):
|
||||
|
||||
def __init__(self):
|
||||
super().__init__('mainWindow_statusToolBar_StatusToolBar')
|
||||
self._more_options_button = Button('statusToolBar_chatToolbarMoreOptionsButton')
|
||||
self._options_list = List('o_StatusListView')
|
||||
self._edit_channel_context_item = QObject('edit_Channel_StatusMenuItem')
|
||||
self._channel_icon = QObject('statusToolBar_statusSmartIdenticonLetter_StatusLetterIdenticon')
|
||||
self._channel_name = TextLabel('statusToolBar_statusChatInfoButtonNameText_TruncatedTextWithTooltip')
|
||||
self._channel_description = TextLabel('statusToolBar_TruncatedTextWithTooltip')
|
||||
self._delete_channel_context_item = QObject('delete_Channel_StatusMenuItem')
|
||||
self._channel_header = QObject('statusToolBar_chatInfoBtnInHeader_StatusChatInfoButton')
|
||||
super().__init__(names.mainWindow_statusToolBar_StatusToolBar)
|
||||
self._more_options_button = Button(names.statusToolBar_chatToolbarMoreOptionsButton)
|
||||
self._options_list = List(names.o_StatusListView)
|
||||
self._edit_channel_context_item = QObject(names.edit_Channel_StatusMenuItem)
|
||||
self._channel_icon = QObject(names.statusToolBar_statusSmartIdenticonLetter_StatusLetterIdenticon)
|
||||
self._channel_name = TextLabel(names.statusToolBar_statusChatInfoButtonNameText_TruncatedTextWithTooltip)
|
||||
self._channel_description = TextLabel(names.statusToolBar_TruncatedTextWithTooltip)
|
||||
self._delete_channel_context_item = QObject(names.delete_Channel_StatusMenuItem)
|
||||
self._channel_header = QObject(names.statusToolBar_chatInfoBtnInHeader_StatusChatInfoButton)
|
||||
|
||||
@property
|
||||
@allure.step('Get channel emoji')
|
||||
|
@ -164,13 +165,13 @@ class CategoryItem:
|
|||
if str(getattr(child, 'id', '')) == 'statusChatListCategoryItem':
|
||||
self.category_name = str(child.text)
|
||||
elif str(getattr(child, 'id', '')) == 'addButton':
|
||||
self._add_channel_button = Button(name='', real_name=driver.objectMap.realName(child))
|
||||
self._add_channel_button = Button(real_name=driver.objectMap.realName(child))
|
||||
elif str(getattr(child, 'id', '')) == 'menuButton':
|
||||
self._more_button = Button(name='', real_name=driver.objectMap.realName(child))
|
||||
self._more_button = Button(real_name=driver.objectMap.realName(child))
|
||||
elif str(getattr(child, 'id', '')) == 'toggleButton':
|
||||
self._arrow_button = Button(name='', real_name=driver.objectMap.realName(child))
|
||||
self._arrow_button = Button(real_name=driver.objectMap.realName(child))
|
||||
elif str(getattr(child, 'objectName', '')) == 'chevron-down-icon':
|
||||
self._arrow_icon = QObject(name='', real_name=driver.objectMap.realName(child))
|
||||
self._arrow_icon = QObject(real_name=driver.objectMap.realName(child))
|
||||
|
||||
@allure.step('Click arrow button')
|
||||
def click_arrow_button(self):
|
||||
|
@ -184,27 +185,27 @@ class CategoryItem:
|
|||
class LeftPanel(QObject):
|
||||
|
||||
def __init__(self):
|
||||
super().__init__('mainWindow_communityColumnView_CommunityColumnView')
|
||||
self._community_info_button = Button('mainWindow_communityHeaderButton_StatusChatInfoButton')
|
||||
self._community_logo = QObject('mainWindow_identicon_StatusSmartIdenticon')
|
||||
self._name_text_label = TextLabel('mainWindow_statusChatInfoButtonNameText_TruncatedTextWithTooltip')
|
||||
self._members_text_label = TextLabel('mainWindow_Members_TruncatedTextWithTooltip')
|
||||
self._general_channel_item = QObject('scrollView_general_StatusChatListItem')
|
||||
self._add_channels_button = Button('add_channels_StatusButton')
|
||||
self._channel_list_item = QObject('channel_listItem')
|
||||
self._channel_icon_template = QObject('channel_identicon_StatusSmartIdenticon')
|
||||
self._channel_or_category_button = Button('mainWindow_createChannelOrCategoryBtn_StatusBaseText')
|
||||
self._create_channel_menu_item = Button('create_channel_StatusMenuItem')
|
||||
self._create_category_menu_item = Button('create_category_StatusMenuItem')
|
||||
self._join_community_button = Button('mainWindow_Join_Community_StatusButton')
|
||||
self._categories_items_list = List('scrollView_chatListItems_StatusListView')
|
||||
self._category_list_item = QObject('categoryItem_StatusChatListCategoryItem')
|
||||
self._create_category_button = Button('add_categories_StatusFlatButton')
|
||||
self._delete_category_item = QObject('delete_Category_StatusMenuItem')
|
||||
self._edit_category_item = QObject('edit_Category_StatusMenuItem')
|
||||
self._add_channel_inside_category_item = QObject('scrollView_addButton_StatusChatListCategoryItemButton')
|
||||
self._more_button = Button('scrollView_menuButton_StatusChatListCategoryItemButton')
|
||||
self._arrow_button = Button('scrollView_toggleButton_StatusChatListCategoryItemButton')
|
||||
super().__init__(names.mainWindow_communityColumnView_CommunityColumnView)
|
||||
self._community_info_button = Button(names.mainWindow_communityHeaderButton_StatusChatInfoButton)
|
||||
self._community_logo = QObject(names.mainWindow_identicon_StatusSmartIdenticon)
|
||||
self._name_text_label = TextLabel(names.mainWindow_statusChatInfoButtonNameText_TruncatedTextWithTooltip)
|
||||
self._members_text_label = TextLabel(names.mainWindow_Members_TruncatedTextWithTooltip)
|
||||
self._general_channel_item = QObject(names.scrollView_general_StatusChatListItem)
|
||||
self._add_channels_button = Button(names.add_channels_StatusButton)
|
||||
self._channel_list_item = QObject(names.channel_listItem)
|
||||
self._channel_icon_template = QObject(names.channel_identicon_StatusSmartIdenticon)
|
||||
self._channel_or_category_button = Button(names.mainWindow_createChannelOrCategoryBtn_StatusBaseText)
|
||||
self._create_channel_menu_item = Button(names.create_channel_StatusMenuItem)
|
||||
self._create_category_menu_item = Button(names.create_category_StatusMenuItem)
|
||||
self._join_community_button = Button(names.mainWindow_Join_Community_StatusButton)
|
||||
self._categories_items_list = List(names.scrollView_chatListItems_StatusListView)
|
||||
self._category_list_item = QObject(names.categoryItem_StatusChatListCategoryItem)
|
||||
self._create_category_button = Button(names.add_categories_StatusFlatButton)
|
||||
self._delete_category_item = QObject(names.delete_Category_StatusMenuItem)
|
||||
self._edit_category_item = QObject(names.edit_Category_StatusMenuItem)
|
||||
self._add_channel_inside_category_item = QObject(names.scrollView_addButton_StatusChatListCategoryItemButton)
|
||||
self._more_button = Button(names.scrollView_menuButton_StatusChatListCategoryItemButton)
|
||||
self._arrow_button = Button(names.scrollView_toggleButton_StatusChatListCategoryItemButton)
|
||||
|
||||
@property
|
||||
@allure.step('Get community logo')
|
||||
|
@ -381,11 +382,11 @@ class LeftPanel(QObject):
|
|||
class Chat(QObject):
|
||||
|
||||
def __init__(self):
|
||||
super().__init__('mainWindow_ChatColumnView')
|
||||
self._channel_icon = QObject('chatMessageViewDelegate_channelIdentifierSmartIdenticon_StatusSmartIdenticon')
|
||||
self._channel_name_label = TextLabel('chatMessageViewDelegate_channelIdentifierNameText_StyledText')
|
||||
self._channel_welcome_label = TextLabel('chatMessageViewDelegate_Welcome')
|
||||
self._channel_identifier_view = QObject('chatMessageViewDelegate_ChannelIdentifierView')
|
||||
super().__init__(names.mainWindow_ChatColumnView)
|
||||
self._channel_icon = QObject(names.chatMessageViewDelegate_channelIdentifierSmartIdenticon_StatusSmartIdenticon)
|
||||
self._channel_name_label = TextLabel(names.chatMessageViewDelegate_channelIdentifierNameText_StyledText)
|
||||
self._channel_welcome_label = TextLabel(names.chatMessageViewDelegate_Welcome)
|
||||
self._channel_identifier_view = QObject(names.chatMessageViewDelegate_ChannelIdentifierView)
|
||||
|
||||
@property
|
||||
@allure.step('Get channel emoji')
|
||||
|
@ -411,8 +412,8 @@ class Chat(QObject):
|
|||
class Members(QObject):
|
||||
|
||||
def __init__(self):
|
||||
super().__init__('mainWindow_UserListPanel')
|
||||
self._member_item = QObject('userListPanel_StatusMemberListItem')
|
||||
super().__init__(names.mainWindow_UserListPanel)
|
||||
self._member_item = QObject(names.userListPanel_StatusMemberListItem)
|
||||
|
||||
@property
|
||||
@allure.step('Get all members')
|
||||
|
|
|
@ -4,13 +4,14 @@ import driver
|
|||
from gui.components.community.create_community_popups import CreateCommunitiesBanner, CreateCommunityPopup
|
||||
from gui.elements.button import Button
|
||||
from gui.elements.object import QObject
|
||||
from gui.objects_map import names
|
||||
|
||||
|
||||
class CommunitiesPortal(QObject):
|
||||
|
||||
def __init__(self):
|
||||
super().__init__('mainWindow_communitiesPortalLayout_CommunitiesPortalLayout')
|
||||
self._create_community_button = Button('mainWindow_Create_New_Community_StatusButton')
|
||||
super().__init__(names.mainWindow_communitiesPortalLayout_CommunitiesPortalLayout)
|
||||
self._create_community_button = Button(names.mainWindow_Create_New_Community_StatusButton)
|
||||
|
||||
@allure.step('Open create community popup')
|
||||
def open_create_community_popup(self) -> CreateCommunityPopup:
|
||||
|
|
|
@ -15,26 +15,27 @@ 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 scripts.tools.image import Image
|
||||
|
||||
|
||||
class CommunitySettingsScreen(QObject):
|
||||
|
||||
def __init__(self):
|
||||
super().__init__('mainWindow_communityLoader_Loader')
|
||||
super().__init__(names.mainWindow_communityLoader_Loader)
|
||||
self.left_panel = LeftPanel()
|
||||
|
||||
|
||||
class LeftPanel(QObject):
|
||||
|
||||
def __init__(self):
|
||||
super().__init__('mainWindow_communityColumnView_CommunityColumnView')
|
||||
self._back_to_community_button = Button('mainWindow_communitySettingsBackToCommunityButton_StatusBaseText')
|
||||
self._overview_button = Button('overview_StatusNavigationListItem')
|
||||
self._members_button = Button('members_StatusNavigationListItem')
|
||||
self._permissions_button = Button('permissions_StatusNavigationListItem')
|
||||
self._tokens_button = Button('tokens_StatusNavigationListItem')
|
||||
self._airdrops_button = Button('airdrops_StatusNavigationListItem')
|
||||
super().__init__(names.mainWindow_communityColumnView_CommunityColumnView)
|
||||
self._back_to_community_button = Button(names.mainWindow_communitySettingsBackToCommunityButton_StatusBaseText)
|
||||
self._overview_button = Button(names.overview_StatusNavigationListItem)
|
||||
self._members_button = Button(names.members_StatusNavigationListItem)
|
||||
self._permissions_button = Button(names.permissions_StatusNavigationListItem)
|
||||
self._tokens_button = Button(names.tokens_StatusNavigationListItem)
|
||||
self._airdrops_button = Button(names.airdrops_StatusNavigationListItem)
|
||||
|
||||
@allure.step('Open community main view')
|
||||
def back_to_community(self):
|
||||
|
@ -71,10 +72,10 @@ class LeftPanel(QObject):
|
|||
class OverviewView(QObject):
|
||||
|
||||
def __init__(self):
|
||||
super().__init__('mainWindow_OverviewSettingsPanel')
|
||||
self._name_text_label = TextLabel('communityOverviewSettingsCommunityName_StatusBaseText')
|
||||
self._description_text_label = TextLabel('communityOverviewSettingsCommunityDescription_StatusBaseText')
|
||||
self._edit_button = Button('mainWindow_Edit_Community_StatusButton')
|
||||
super().__init__(names.mainWindow_OverviewSettingsPanel)
|
||||
self._name_text_label = TextLabel(names.communityOverviewSettingsCommunityName_StatusBaseText)
|
||||
self._description_text_label = TextLabel(names.communityOverviewSettingsCommunityDescription_StatusBaseText)
|
||||
self._edit_button = Button(names.mainWindow_Edit_Community_StatusButton)
|
||||
|
||||
@property
|
||||
@allure.step('Get community name')
|
||||
|
@ -102,25 +103,25 @@ class OverviewView(QObject):
|
|||
class EditCommunityView(QObject):
|
||||
|
||||
def __init__(self):
|
||||
super().__init__('mainWindow_communityEditPanelScrollView_EditSettingsPanel')
|
||||
self._scroll = Scroll('communityEditPanelScrollView_Flickable')
|
||||
self._name_text_edit = TextEdit('communityEditPanelScrollView_communityNameInput_TextEdit')
|
||||
self._description_text_edit = TextEdit('communityEditPanelScrollView_communityDescriptionInput_TextEdit')
|
||||
self._logo = QObject('communityEditPanelScrollView_image_StatusImage')
|
||||
self._add_logo_button = Button('communityEditPanelScrollView_editButton_StatusRoundButton')
|
||||
self._banner = QObject('communityEditPanelScrollView_image_StatusImage_2')
|
||||
self._add_banner_button = Button('communityEditPanelScrollView_editButton_StatusRoundButton_2')
|
||||
self._select_color_button = Button('communityEditPanelScrollView_StatusPickerButton')
|
||||
self._choose_tag_button = Button('communityEditPanelScrollView_Choose_StatusPickerButton')
|
||||
self._tag_item = QObject('communityEditPanelScrollView_StatusCommunityTag')
|
||||
self._archive_support_checkbox = CheckBox('communityEditPanelScrollView_archiveSupportToggle_StatusCheckBox')
|
||||
self._request_to_join_checkbox = CheckBox('communityEditPanelScrollView_requestToJoinToggle_StatusCheckBox')
|
||||
self._pin_messages_checkbox = CheckBox('communityEditPanelScrollView_pinMessagesToggle_StatusCheckBox')
|
||||
self._intro_text_edit = TextEdit('communityEditPanelScrollView_editCommunityIntroInput_TextEdit')
|
||||
self._outro_text_edit = TextEdit('communityEditPanelScrollView_editCommunityOutroInput_TextEdit')
|
||||
self._save_changes_button = Button('mainWindow_Save_changes_StatusButton')
|
||||
self._cropped_image_edit_logo_item = QObject('croppedImageEditLogo')
|
||||
self._cropped_image_edit_banner_item = QObject('croppedImageEditBanner')
|
||||
super().__init__(names.mainWindow_communityEditPanelScrollView_EditSettingsPanel)
|
||||
self._scroll = Scroll(names.communityEditPanelScrollView_Flickable)
|
||||
self._name_text_edit = TextEdit(names.communityEditPanelScrollView_communityNameInput_TextEdit)
|
||||
self._description_text_edit = TextEdit(names.communityEditPanelScrollView_communityDescriptionInput_TextEdit)
|
||||
self._logo = QObject(names.communityEditPanelScrollView_image_StatusImage)
|
||||
self._add_logo_button = Button(names.communityEditPanelScrollView_editButton_StatusRoundButton)
|
||||
self._banner = QObject(names.communityEditPanelScrollView_image_StatusImage_2)
|
||||
self._add_banner_button = Button(names.communityEditPanelScrollView_editButton_StatusRoundButton_2)
|
||||
self._select_color_button = Button(names.communityEditPanelScrollView_StatusPickerButton)
|
||||
self._choose_tag_button = Button(names.communityEditPanelScrollView_Choose_StatusPickerButton)
|
||||
self._tag_item = QObject(names.communityEditPanelScrollView_StatusCommunityTag)
|
||||
self._archive_support_checkbox = CheckBox(names.communityEditPanelScrollView_archiveSupportToggle_StatusCheckBox)
|
||||
self._request_to_join_checkbox = CheckBox(names.communityEditPanelScrollView_requestToJoinToggle_StatusCheckBox)
|
||||
self._pin_messages_checkbox = CheckBox(names.communityEditPanelScrollView_pinMessagesToggle_StatusCheckBox)
|
||||
self._intro_text_edit = TextEdit(names.communityEditPanelScrollView_editCommunityIntroInput_TextEdit)
|
||||
self._outro_text_edit = TextEdit(names.communityEditPanelScrollView_editCommunityOutroInput_TextEdit)
|
||||
self._save_changes_button = Button(names.mainWindow_Save_changes_StatusButton)
|
||||
self._cropped_image_edit_logo_item = QObject(names.croppedImageEditLogo)
|
||||
self._cropped_image_edit_banner_item = QObject(names.croppedImageEditBanner)
|
||||
|
||||
@property
|
||||
@allure.step('Get community name')
|
||||
|
@ -244,8 +245,8 @@ class EditCommunityView(QObject):
|
|||
class MembersView(QObject):
|
||||
|
||||
def __init__(self):
|
||||
super().__init__('mainWindow_MembersSettingsPanel')
|
||||
self._member_list_item = QObject('memberItem_StatusMemberListItem')
|
||||
super().__init__(names.mainWindow_MembersSettingsPanel)
|
||||
self._member_list_item = QObject(names.memberItem_StatusMemberListItem)
|
||||
|
||||
@property
|
||||
@allure.step('Get community members')
|
||||
|
@ -255,16 +256,16 @@ class MembersView(QObject):
|
|||
|
||||
class TokensView(QObject):
|
||||
def __init__(self):
|
||||
super(TokensView, self).__init__('mainWindow_mintPanel_MintTokensSettingsPanel')
|
||||
self._mint_token_button = Button('mainWindow_Mint_token_StatusButton')
|
||||
self._welcome_image = QObject('welcomeSettingsTokens_Image')
|
||||
self._welcome_title = TextLabel('welcomeSettingsTokens_Title')
|
||||
self._welcome_subtitle = TextLabel('welcomeSettingsTokensSubtitle')
|
||||
self._welcome_checklist_1 = TextLabel('checkListText_0_Tokens')
|
||||
self._welcome_checklist_2 = TextLabel('checkListText_1_Tokens')
|
||||
self._welcome_checklist_3 = TextLabel('checkListText_2_Tokens')
|
||||
self._get_started_infobox = QObject('mint_Owner_Tokens_InfoBoxPanel')
|
||||
self._mint_owner_token_button = Button('mint_Owner_Tokens_StatusButton')
|
||||
super(TokensView, self).__init__(names.mainWindow_mintPanel_MintTokensSettingsPanel)
|
||||
self._mint_token_button = Button(names.mainWindow_Mint_token_StatusButton)
|
||||
self._welcome_image = QObject(names.welcomeSettingsTokens_Image)
|
||||
self._welcome_title = TextLabel(names.welcomeSettingsTokens_Title)
|
||||
self._welcome_subtitle = TextLabel(names.welcomeSettingsTokensSubtitle)
|
||||
self._welcome_checklist_1 = TextLabel(names.checkListText_0_Tokens)
|
||||
self._welcome_checklist_2 = TextLabel(names.checkListText_1_Tokens)
|
||||
self._welcome_checklist_3 = TextLabel(names.checkListText_2_Tokens)
|
||||
self._get_started_infobox = QObject(names.mint_Owner_Tokens_InfoBoxPanel)
|
||||
self._mint_owner_token_button = Button(names.mint_Owner_Tokens_StatusButton)
|
||||
|
||||
@property
|
||||
@allure.step('Get mint token button enable state')
|
||||
|
@ -311,16 +312,16 @@ class TokensView(QObject):
|
|||
|
||||
class AirdropsView(QObject):
|
||||
def __init__(self):
|
||||
super(AirdropsView, self).__init__('mainWindow_airdropPanel_AirdropsSettingsPanel')
|
||||
self._new_airdrop_button = Button('mainWindow_New_Airdrop_StatusButton')
|
||||
self._welcome_image = QObject('welcomeSettingsAirdrops_Image')
|
||||
self._welcome_title = TextLabel('welcomeSettingsAirdrops_Title')
|
||||
self._welcome_subtitle = TextLabel('welcomeSettingsAirdrops_Subtitle')
|
||||
self._welcome_checklist_1 = TextLabel('checkListText_0_Airdrops')
|
||||
self._welcome_checklist_2 = TextLabel('checkListText_1_Airdrops')
|
||||
self._welcome_checklist_3 = TextLabel('checkListText_2_Airdrops')
|
||||
self._get_started_infobox = QObject('infoBox_StatusInfoBoxPanel')
|
||||
self._mint_owner_token_button = Button('mint_Owner_token_Airdrops_StatusButton')
|
||||
super(AirdropsView, self).__init__(names.mainWindow_airdropPanel_AirdropsSettingsPanel)
|
||||
self._new_airdrop_button = Button(names.mainWindow_New_Airdrop_StatusButton)
|
||||
self._welcome_image = QObject(names.welcomeSettingsAirdrops_Image)
|
||||
self._welcome_title = TextLabel(names.welcomeSettingsAirdrops_Title)
|
||||
self._welcome_subtitle = TextLabel(names.welcomeSettingsAirdrops_Subtitle)
|
||||
self._welcome_checklist_1 = TextLabel(names.checkListText_0_Airdrops)
|
||||
self._welcome_checklist_2 = TextLabel(names.checkListText_1_Airdrops)
|
||||
self._welcome_checklist_3 = TextLabel(names.checkListText_2_Airdrops)
|
||||
self._get_started_infobox = QObject(names.infoBox_StatusInfoBoxPanel)
|
||||
self._mint_owner_token_button = Button(names.mint_Owner_token_Airdrops_StatusButton)
|
||||
|
||||
@property
|
||||
@allure.step('Get new airdrop button enable state')
|
||||
|
@ -367,14 +368,14 @@ class AirdropsView(QObject):
|
|||
|
||||
class PermissionsIntroView(QObject):
|
||||
def __init__(self):
|
||||
super(PermissionsIntroView, self).__init__('o_IntroPanel')
|
||||
self._add_new_permission_button = Button('add_new_permission_button')
|
||||
self._welcome_image = QObject('community_welcome_screen_image')
|
||||
self._welcome_title = TextLabel('community_welcome_screen_title')
|
||||
self._welcome_subtitle = TextLabel('community_welcome_screen_subtitle')
|
||||
self._welcome_checklist_1 = TextLabel('community_welcome_screen_checkList_element1')
|
||||
self._welcome_checklist_2 = TextLabel('community_welcome_screen_checkList_element2')
|
||||
self._welcome_checklist_3 = TextLabel('community_welcome_screen_checkList_element3')
|
||||
super(PermissionsIntroView, self).__init__(names.o_IntroPanel)
|
||||
self._add_new_permission_button = Button(names.add_new_permission_button)
|
||||
self._welcome_image = QObject(names.community_welcome_screen_image)
|
||||
self._welcome_title = TextLabel(names.community_welcome_screen_title)
|
||||
self._welcome_subtitle = TextLabel(names.community_welcome_screen_subtitle)
|
||||
self._welcome_checklist_1 = TextLabel(names.community_welcome_screen_checkList_element1)
|
||||
self._welcome_checklist_2 = TextLabel(names.community_welcome_screen_checkList_element2)
|
||||
self._welcome_checklist_3 = TextLabel(names.community_welcome_screen_checkList_element3)
|
||||
|
||||
@property
|
||||
@allure.step('Get permission welcome image path')
|
||||
|
@ -411,23 +412,23 @@ class PermissionsIntroView(QObject):
|
|||
|
||||
class PermissionsSettingsView(QObject):
|
||||
def __init__(self):
|
||||
super(PermissionsSettingsView, self).__init__('mainWindow_PermissionsSettingsPanel')
|
||||
self._who_holds_checkbox = CheckBox('editPermissionView_whoHoldsSwitch_StatusSwitch')
|
||||
self._who_holds_asset_field = TextEdit('edit_TextEdit')
|
||||
self._who_holds_amount_field = TextEdit('inputValue_StyledTextField')
|
||||
self._asset_item = QObject('o_TokenItem')
|
||||
self._is_allowed_to_option_button = Button('customPermissionListItem')
|
||||
self._in_general_button = Button('communityItem_CommunityListItem')
|
||||
self._hide_permission_checkbox = CheckBox('editPermissionView_switchItem_StatusSwitch')
|
||||
self._create_permission_button = Button('editPermissionView_Create_permission_StatusButton')
|
||||
self._add_button = Button('add_StatusButton')
|
||||
self._who_holds_list_item = QObject('editPermissionView_Who_holds_StatusItemSelector')
|
||||
self._is_allowed_to_list_item = QObject('editPermissionView_Is_allowed_to_StatusFlowSelector')
|
||||
self._in_list_item = QObject('editPermissionView_In_StatusItemSelector')
|
||||
self._tag_item = QObject('o_StatusListItemTag')
|
||||
self._who_holds_tag = QObject('whoHoldsTagListItem')
|
||||
self._is_allowed_tag = QObject('isAllowedTagListItem')
|
||||
self._in_community_in_channel_tag = QObject('inCommunityTagListItem')
|
||||
super(PermissionsSettingsView, self).__init__(names.mainWindow_PermissionsSettingsPanel)
|
||||
self._who_holds_checkbox = CheckBox(names.editPermissionView_whoHoldsSwitch_StatusSwitch)
|
||||
self._who_holds_asset_field = TextEdit(names.edit_TextEdit)
|
||||
self._who_holds_amount_field = TextEdit(names.inputValue_StyledTextField)
|
||||
self._asset_item = QObject(names.o_TokenItem)
|
||||
self._is_allowed_to_option_button = Button(names.customPermissionListItem)
|
||||
self._in_general_button = Button(names.communityItem_CommunityListItem)
|
||||
self._hide_permission_checkbox = CheckBox(names.editPermissionView_switchItem_StatusSwitch)
|
||||
self._create_permission_button = Button(names.editPermissionView_Create_permission_StatusButton)
|
||||
self._add_button = Button(names.add_StatusButton)
|
||||
self._who_holds_list_item = QObject(names.editPermissionView_Who_holds_StatusItemSelector)
|
||||
self._is_allowed_to_list_item = QObject(names.editPermissionView_Is_allowed_to_StatusFlowSelector)
|
||||
self._in_list_item = QObject(names.editPermissionView_In_StatusItemSelector)
|
||||
self._tag_item = QObject(names.o_StatusListItemTag)
|
||||
self._who_holds_tag = QObject(names.whoHoldsTagListItem)
|
||||
self._is_allowed_tag = QObject(names.isAllowedTagListItem)
|
||||
self._in_community_in_channel_tag = QObject(names.inCommunityTagListItem)
|
||||
|
||||
@allure.step('Get titles of Who holds tags')
|
||||
def get_who_holds_tags_titles(self) -> typing.List[str]:
|
||||
|
|
|
@ -16,6 +16,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.screens.community import CommunityScreen
|
||||
from scripts.tools.image import Image
|
||||
|
||||
|
@ -23,12 +24,12 @@ from scripts.tools.image import Image
|
|||
class LeftPanel(QObject):
|
||||
|
||||
def __init__(self):
|
||||
super().__init__('mainWindow_contactColumnLoader_Loader')
|
||||
self._start_chat_button = Button('mainWindow_startChatButton_StatusIconTabButton')
|
||||
self._search_text_edit = TextEdit('mainWindow_search_edit_TextEdit')
|
||||
self._scroll = Scroll('scrollView_Flickable')
|
||||
self._contacts_list = List('chatList_ListView')
|
||||
self._contact_item = QObject('scrollView_StatusChatListItem')
|
||||
super().__init__(names.mainWindow_contactColumnLoader_Loader)
|
||||
self._start_chat_button = Button(names.mainWindow_startChatButton_StatusIconTabButton)
|
||||
self._search_text_edit = TextEdit(names.mainWindow_search_edit_TextEdit)
|
||||
self._scroll = Scroll(names.scrollView_Flickable)
|
||||
self._contacts_list = List(names.chatList_ListView)
|
||||
self._contact_item = QObject(names.scrollView_StatusChatListItem)
|
||||
|
||||
@property
|
||||
@allure.step('Get contacts')
|
||||
|
@ -67,11 +68,11 @@ class LeftPanel(QObject):
|
|||
class ToolBar(QObject):
|
||||
|
||||
def __init__(self):
|
||||
super().__init__('mainWindow_statusToolBar_StatusToolBar')
|
||||
self.pinned_message_tooltip = QObject('statusToolBar_StatusChatInfo_pinText_TruncatedTextWithTooltip')
|
||||
self.confirm_button = Button('statusToolBar_Confirm_StatusButton')
|
||||
self.status_button = Button('statusToolBar_Cancel_StatusButton')
|
||||
self.contact_tag = QObject('statusToolBar_StatusTagItem')
|
||||
super().__init__(names.mainWindow_statusToolBar_StatusToolBar)
|
||||
self.pinned_message_tooltip = QObject(names.statusToolBar_StatusChatInfo_pinText_TruncatedTextWithTooltip)
|
||||
self.confirm_button = Button(names.statusToolBar_Confirm_StatusButton)
|
||||
self.status_button = Button(names.statusToolBar_Cancel_StatusButton)
|
||||
self.contact_tag = QObject(names.statusToolBar_StatusTagItem)
|
||||
|
||||
@property
|
||||
@allure.step('Get visibility of pin message tooltip')
|
||||
|
@ -123,7 +124,7 @@ class Message:
|
|||
case 'chatText':
|
||||
self.text = str(child.text)
|
||||
case 'delegate':
|
||||
self.delegate_button = Button(name='', real_name=driver.objectMap.realName(child))
|
||||
self.delegate_button = Button(real_name=driver.objectMap.realName(child))
|
||||
|
||||
@allure.step('Open community invitation')
|
||||
def open_community_invitation(self):
|
||||
|
@ -159,8 +160,8 @@ class Message:
|
|||
class ChatView(QObject):
|
||||
|
||||
def __init__(self):
|
||||
super().__init__('mainWindow_ChatColumnView')
|
||||
self._message_list_item = QObject('chatLogView_chatMessageViewDelegate_MessageView')
|
||||
super().__init__(names.mainWindow_ChatColumnView)
|
||||
self._message_list_item = QObject(names.chatLogView_chatMessageViewDelegate_MessageView)
|
||||
|
||||
@property
|
||||
@allure.step('Get messages')
|
||||
|
@ -201,10 +202,10 @@ class ChatView(QObject):
|
|||
class CreateChatView(QObject):
|
||||
|
||||
def __init__(self):
|
||||
super().__init__('mainWindow_CreateChatView')
|
||||
self._confirm_button = Button('createChatView_confirmBtn')
|
||||
self._cancel_button = Button('mainWindow_Cancel_StatusButton')
|
||||
self._create_chat_contacts_list = List('createChatView_contactsList')
|
||||
super().__init__(names.mainWindow_CreateChatView)
|
||||
self._confirm_button = Button(names.createChatView_confirmBtn)
|
||||
self._cancel_button = Button(names.mainWindow_Cancel_StatusButton)
|
||||
self._create_chat_contacts_list = List(names.createChatView_contactsList)
|
||||
|
||||
@property
|
||||
@allure.step('Get contacts')
|
||||
|
@ -228,15 +229,15 @@ class CreateChatView(QObject):
|
|||
class ChatMessagesView(QObject):
|
||||
|
||||
def __init__(self):
|
||||
super().__init__('mainWindow_ChatMessagesView')
|
||||
self._group_chat_message_item = TextLabel('chatLogView_Item')
|
||||
self._group_name_label = TextLabel('statusChatInfoButton')
|
||||
self._more_button = Button('moreOptionsButton_StatusFlatRoundButton')
|
||||
self._edit_menu_item = QObject('edit_name_and_image_StatusMenuItem')
|
||||
self._leave_group_item = QObject('leave_group_StatusMenuItem')
|
||||
self._add_remove_item = QObject('add_remove_from_group_StatusMenuItem')
|
||||
self._message_input_area = QObject('inputScrollView_messageInputField_TextArea')
|
||||
self._message_field = TextEdit('inputScrollView_Message_PlaceholderText')
|
||||
super().__init__(names.mainWindow_ChatMessagesView)
|
||||
self._group_chat_message_item = TextLabel(names.chatLogView_Item)
|
||||
self._group_name_label = TextLabel(names.statusChatInfoButton)
|
||||
self._more_button = Button(names.moreOptionsButton_StatusFlatRoundButton)
|
||||
self._edit_menu_item = QObject(names.edit_name_and_image_StatusMenuItem)
|
||||
self._leave_group_item = QObject(names.leave_group_StatusMenuItem)
|
||||
self._add_remove_item = QObject(names.add_remove_from_group_StatusMenuItem)
|
||||
self._message_input_area = QObject(names.inputScrollView_messageInputField_TextArea)
|
||||
self._message_field = TextEdit(names.inputScrollView_Message_PlaceholderText)
|
||||
|
||||
@property
|
||||
@allure.step('Get group name')
|
||||
|
@ -303,8 +304,8 @@ class ChatMessagesView(QObject):
|
|||
|
||||
class MessageQuickActions(QObject):
|
||||
def __init__(self):
|
||||
super().__init__('chatMessageViewDelegate_StatusMessageQuickActions')
|
||||
self._pin_button = Button('chatMessageViewDelegate_MessageView_toggleMessagePin_StatusFlatRoundButton')
|
||||
super().__init__(names.chatMessageViewDelegate_StatusMessageQuickActions)
|
||||
self._pin_button = Button(names.chatMessageViewDelegate_MessageView_toggleMessagePin_StatusFlatRoundButton)
|
||||
|
||||
@allure.step('Toggle pin button')
|
||||
def toggle_pin(self):
|
||||
|
@ -314,8 +315,8 @@ class MessageQuickActions(QObject):
|
|||
class Members(QObject):
|
||||
|
||||
def __init__(self):
|
||||
super().__init__('mainWindow_userListPanel_StatusListView')
|
||||
self._member_item = QObject('groupUserListPanel_StatusMemberListItem')
|
||||
super().__init__(names.mainWindow_userListPanel_StatusListView)
|
||||
self._member_item = QObject(names.groupUserListPanel_StatusMemberListItem)
|
||||
|
||||
@property
|
||||
@allure.step('Get group members')
|
||||
|
@ -326,7 +327,7 @@ class Members(QObject):
|
|||
class MessagesScreen(QObject):
|
||||
|
||||
def __init__(self):
|
||||
super().__init__('mainWindow_chatView_ChatView')
|
||||
super().__init__(names.mainWindow_chatView_ChatView)
|
||||
self.left_panel = LeftPanel()
|
||||
self.tool_bar = ToolBar()
|
||||
self.chat = ChatView()
|
||||
|
|
|
@ -18,6 +18,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 scripts.tools.image import Image
|
||||
from scripts.utils.system_path import SystemPath
|
||||
|
||||
|
@ -27,8 +28,8 @@ LOG = logging.getLogger(__name__)
|
|||
class AllowNotificationsView(QObject):
|
||||
|
||||
def __init__(self):
|
||||
super(AllowNotificationsView, self).__init__('mainWindow_AllowNotificationsView')
|
||||
self._allow_button = Button('mainWindow_allowNotificationsOnboardingOkButton')
|
||||
super(AllowNotificationsView, self).__init__(names.mainWindow_AllowNotificationsView)
|
||||
self._allow_button = Button(names.mainWindow_allowNotificationsOnboardingOkButton)
|
||||
|
||||
@allure.step("Allow Notifications")
|
||||
def allow(self):
|
||||
|
@ -39,9 +40,9 @@ class AllowNotificationsView(QObject):
|
|||
class WelcomeToStatusView(QObject):
|
||||
|
||||
def __init__(self):
|
||||
super(WelcomeToStatusView, self).__init__('mainWindow_WelcomeView')
|
||||
self._i_am_new_to_status_button = Button('mainWindow_I_am_new_to_Status_StatusBaseText')
|
||||
self._i_already_use_status_button = Button('mainWindow_I_already_use_Status_StatusFlatButton')
|
||||
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)
|
||||
|
||||
@allure.step('Open Keys view')
|
||||
def get_keys(self) -> 'KeysView':
|
||||
|
@ -60,7 +61,7 @@ class OnboardingView(QObject):
|
|||
|
||||
def __init__(self, object_name):
|
||||
super(OnboardingView, self).__init__(object_name)
|
||||
self._back_button = Button('mainWindow_onboardingBackButton_StatusRoundButton')
|
||||
self._back_button = Button(names.mainWindow_onboardingBackButton_StatusRoundButton)
|
||||
|
||||
@abstractmethod
|
||||
def back(self):
|
||||
|
@ -70,10 +71,10 @@ class OnboardingView(QObject):
|
|||
class KeysView(OnboardingView):
|
||||
|
||||
def __init__(self):
|
||||
super(KeysView, self).__init__('mainWindow_KeysMainView')
|
||||
self._generate_key_button = Button('mainWindow_Generate_new_keys_StatusButton')
|
||||
self._generate_key_for_new_keycard_button = Button('mainWindow_Generate_keys_for_new_Keycard_StatusBaseText')
|
||||
self._import_seed_phrase_button = Button('mainWindow_Import_seed_phrase')
|
||||
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)
|
||||
|
||||
@allure.step('Open Profile view')
|
||||
def generate_new_keys(self) -> 'YourProfileView':
|
||||
|
@ -99,8 +100,8 @@ class KeysView(OnboardingView):
|
|||
class ImportSeedPhraseView(OnboardingView):
|
||||
|
||||
def __init__(self):
|
||||
super(ImportSeedPhraseView, self).__init__('mainWindow_KeysMainView')
|
||||
self._import_seed_phrase_button = Button('keysMainView_PrimaryAction_Button')
|
||||
super(ImportSeedPhraseView, self).__init__(names.mainWindow_KeysMainView)
|
||||
self._import_seed_phrase_button = Button(names.keysMainView_PrimaryAction_Button)
|
||||
|
||||
@allure.step('Open seed phrase input view')
|
||||
def open_seed_phrase_input_view(self):
|
||||
|
@ -116,8 +117,8 @@ class ImportSeedPhraseView(OnboardingView):
|
|||
class SignBySyncingView(OnboardingView):
|
||||
|
||||
def __init__(self):
|
||||
super(SignBySyncingView, self).__init__('mainWindow_KeysMainView')
|
||||
self._scan_or_enter_sync_code_button = Button('keysMainView_PrimaryAction_Button')
|
||||
super(SignBySyncingView, self).__init__(names.mainWindow_KeysMainView)
|
||||
self._scan_or_enter_sync_code_button = Button(names.keysMainView_PrimaryAction_Button)
|
||||
|
||||
@allure.step('Open sync code view')
|
||||
def open_sync_code_view(self):
|
||||
|
@ -128,10 +129,10 @@ class SignBySyncingView(OnboardingView):
|
|||
class SyncCodeView(OnboardingView):
|
||||
|
||||
def __init__(self):
|
||||
super(SyncCodeView, self).__init__('mainWindow_SyncCodeView')
|
||||
self._enter_sync_code_button = Button('switchTabBar_Enter_sync_code_StatusSwitchTabButton')
|
||||
self._paste_sync_code_button = Button('mainWindow_Paste_StatusButton')
|
||||
self._syncing_enter_code_item = QObject('mainWindow_syncingEnterCode_SyncingEnterCode')
|
||||
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)
|
||||
|
||||
@allure.step('Open enter sync code form')
|
||||
def open_enter_sync_code_form(self):
|
||||
|
@ -151,8 +152,8 @@ class SyncCodeView(OnboardingView):
|
|||
class SyncDeviceFoundView(OnboardingView):
|
||||
|
||||
def __init__(self):
|
||||
super(SyncDeviceFoundView, self).__init__('mainWindow_SyncingDeviceView_found')
|
||||
self._sync_text_item = QObject('sync_text_item')
|
||||
super(SyncDeviceFoundView, self).__init__(names.mainWindow_SyncingDeviceView_found)
|
||||
self._sync_text_item = QObject(names.sync_text_item)
|
||||
|
||||
@property
|
||||
@allure.step('Get device_found_notifications')
|
||||
|
@ -166,10 +167,10 @@ class SyncDeviceFoundView(OnboardingView):
|
|||
class SyncResultView(OnboardingView):
|
||||
|
||||
def __init__(self):
|
||||
super(SyncResultView, self).__init__('mainWindow_SyncDeviceResult')
|
||||
self._sync_result = QObject('mainWindow_SyncDeviceResult')
|
||||
self._sign_in_button = Button('mainWindow_Sign_in_StatusButton')
|
||||
self._synced_text_item = QObject('synced_StatusBaseText')
|
||||
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)
|
||||
|
||||
@property
|
||||
@allure.step('Get device synced notifications')
|
||||
|
@ -197,12 +198,12 @@ class SyncResultView(OnboardingView):
|
|||
class SeedPhraseInputView(OnboardingView):
|
||||
|
||||
def __init__(self):
|
||||
super(SeedPhraseInputView, self).__init__('mainWindow_SeedPhraseInputView')
|
||||
self._12_words_tab_button = Button('switchTabBar_12_words_Button')
|
||||
self._18_words_tab_button = Button('switchTabBar_18_words_Button')
|
||||
self._24_words_tab_button = Button('switchTabBar_24_words_Button')
|
||||
self._seed_phrase_input_text_edit = TextEdit('mainWindow_statusSeedPhraseInputField_TextEdit')
|
||||
self._import_button = Button('mainWindow_Import_StatusButton')
|
||||
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)
|
||||
|
||||
@property
|
||||
@allure.step('Get import button enabled state')
|
||||
|
@ -242,8 +243,8 @@ class SeedPhraseInputView(OnboardingView):
|
|||
class KeycardInitView(OnboardingView):
|
||||
|
||||
def __init__(self):
|
||||
super(KeycardInitView, self).__init__('mainWindow_KeycardInitView')
|
||||
self._message = TextLabel('mainWindow_Plug_in_Keycard_reader_StatusBaseText')
|
||||
super(KeycardInitView, self).__init__(names.mainWindow_KeycardInitView)
|
||||
self._message = TextLabel(names.mainWindow_Plug_in_Keycard_reader_StatusBaseText)
|
||||
|
||||
@property
|
||||
def message(self) -> str:
|
||||
|
@ -257,16 +258,16 @@ class KeycardInitView(OnboardingView):
|
|||
class YourProfileView(OnboardingView):
|
||||
|
||||
def __init__(self):
|
||||
super(YourProfileView, self).__init__('mainWindow_InsertDetailsView')
|
||||
self._upload_picture_button = Button('updatePicButton_StatusRoundButton')
|
||||
self._profile_image = QObject('mainWindow_CanvasItem')
|
||||
self._display_name_text_field = TextEdit('mainWindow_statusBaseInput_StatusBaseInput')
|
||||
self._erros_text_label = TextLabel('mainWindow_errorMessage_StatusBaseText')
|
||||
self._next_button = Button('mainWindow_Next_StatusButton')
|
||||
self._login_input_object = QObject('mainWindow_nameInput_StatusInput')
|
||||
self._clear_icon = QObject('mainWindow_clear_icon_StatusIcon')
|
||||
self._identicon_ring = QObject('mainWindow_IdenticonRing')
|
||||
self._view_header_title = TextLabel('mainWindow_Header_Title')
|
||||
super(YourProfileView, self).__init__(names.mainWindow_InsertDetailsView)
|
||||
self._upload_picture_button = Button(names.updatePicButton_StatusRoundButton)
|
||||
self._profile_image = QObject(names.mainWindow_CanvasItem)
|
||||
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)
|
||||
|
||||
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)
|
||||
|
@ -339,13 +340,13 @@ class YourProfileView(OnboardingView):
|
|||
class YourEmojihashAndIdenticonRingView(OnboardingView):
|
||||
|
||||
def __init__(self):
|
||||
super(YourEmojihashAndIdenticonRingView, self).__init__('mainWindow_InsertDetailsView')
|
||||
self._profile_image = QObject('mainWindow_welcomeScreenUserProfileImage_StatusSmartIdenticon')
|
||||
self._chat_key_text_label = TextLabel('mainWindow_insertDetailsViewChatKeyTxt_StyledText')
|
||||
self._next_button = Button('mainWindow_Next_StatusButton')
|
||||
self._emoji_hash = QObject('mainWindow_EmojiHash')
|
||||
self._identicon_ring = QObject('mainWindow_userImageCopy_StatusSmartIdenticon')
|
||||
self._view_header_title = TextLabel('mainWindow_Header_Title')
|
||||
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)
|
||||
|
||||
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)
|
||||
|
@ -418,15 +419,15 @@ class YourEmojihashAndIdenticonRingView(OnboardingView):
|
|||
class CreatePasswordView(OnboardingView):
|
||||
|
||||
def __init__(self):
|
||||
super(CreatePasswordView, self).__init__('mainWindow_CreatePasswordView')
|
||||
self._new_password_text_field = TextEdit('mainWindow_passwordViewNewPassword')
|
||||
self._confirm_password_text_field = TextEdit('mainWindow_passwordViewNewPasswordConfirm')
|
||||
self._create_button = Button('mainWindow_Create_password_StatusButton')
|
||||
self._password_view_object = QObject('mainWindow_view_PasswordView')
|
||||
self._strength_indicator = QObject('mainWindow_strengthInditactor_StatusPasswordStrengthIndicator')
|
||||
self._indicator_panel_object = QObject('mainWindow_RowLayout')
|
||||
self._show_icon = QObject('mainWindow_show_icon_StatusIcon')
|
||||
self._hide_icon = QObject('mainWindow_hide_icon_StatusIcon')
|
||||
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)
|
||||
|
||||
@allure.step('Get password content from first field')
|
||||
def get_password_from_first_field(self, echo_mode) -> str:
|
||||
|
@ -514,10 +515,10 @@ class CreatePasswordView(OnboardingView):
|
|||
class ConfirmPasswordView(OnboardingView):
|
||||
|
||||
def __init__(self):
|
||||
super(ConfirmPasswordView, self).__init__('mainWindow_ConfirmPasswordView')
|
||||
self._confirm_password_text_field = TextEdit('mainWindow_confirmAgainPasswordInput')
|
||||
self._confirm_button = Button('mainWindow_Finalise_Status_Password_Creation_StatusButton')
|
||||
self._confirmation_password_view_object = QObject('mainWindow_passwordView_PasswordConfirmationView')
|
||||
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)
|
||||
|
||||
@property
|
||||
@allure.step('Get finalise password creation button enabled state')
|
||||
|
@ -559,9 +560,9 @@ class ConfirmPasswordView(OnboardingView):
|
|||
class BiometricsView(OnboardingView):
|
||||
|
||||
def __init__(self):
|
||||
super(BiometricsView, self).__init__('mainWindow_TouchIDAuthView')
|
||||
self._yes_use_touch_id_button = Button('mainWindow_touchIdYesUseTouchIDButton')
|
||||
self._prefer_password_button = Button('mainWindow_touchIdIPreferToUseMyPasswordText')
|
||||
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)
|
||||
|
||||
@allure.step('Select prefer password')
|
||||
def prefer_password(self):
|
||||
|
@ -576,13 +577,13 @@ class BiometricsView(OnboardingView):
|
|||
class LoginView(QObject):
|
||||
|
||||
def __init__(self):
|
||||
super(LoginView, self).__init__('mainWindow_LoginView')
|
||||
self._password_text_edit = TextEdit('loginView_passwordInput')
|
||||
self._arrow_right_button = Button('loginView_submitBtn')
|
||||
self._current_user_name_label = TextLabel('loginView_currentUserNameLabel')
|
||||
self._change_account_button = Button('loginView_changeAccountBtn')
|
||||
self._accounts_combobox = QObject('accountsView_accountListPanel')
|
||||
self._password_object = QObject('mainWindow_txtPassword_Input')
|
||||
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)
|
||||
|
||||
@property
|
||||
@allure.step('Get login error message')
|
||||
|
|
|
@ -5,6 +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.screens.settings_communities import CommunitiesSettingsView
|
||||
from gui.screens.settings_ens_usernames import ENSSettingsView
|
||||
from gui.screens.settings_keycard import KeycardSettingsView
|
||||
|
@ -19,10 +20,10 @@ from gui.components.settings.sign_out_popup import SignOutPopup
|
|||
class LeftPanel(QObject):
|
||||
|
||||
def __init__(self):
|
||||
super().__init__('mainWindow_LeftTabView')
|
||||
self._settings_section_template = QObject('scrollView_MenuItem_StatusNavigationListItem')
|
||||
self._scroll = Scroll('scrollView_Flickable')
|
||||
self._settings_section_back_up_seed_option = QObject('settingsBackUpSeedPhraseOption')
|
||||
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)
|
||||
|
||||
def _open_settings(self, object_name: str):
|
||||
self._settings_section_template.real_name['objectName'] = object_name
|
||||
|
@ -108,5 +109,5 @@ class LeftPanel(QObject):
|
|||
class SettingsScreen(QObject):
|
||||
|
||||
def __init__(self):
|
||||
super().__init__('mainWindow_ProfileLayout')
|
||||
super().__init__(names.mainWindow_ProfileLayout)
|
||||
self.left_panel = LeftPanel()
|
||||
|
|
|
@ -11,6 +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.screens.community_settings import CommunitySettingsScreen
|
||||
|
||||
LOG = logging.getLogger(__name__)
|
||||
|
@ -19,12 +20,12 @@ LOG = logging.getLogger(__name__)
|
|||
class CommunitiesSettingsView(QObject):
|
||||
|
||||
def __init__(self):
|
||||
super().__init__('mainWindow_CommunitiesView')
|
||||
self._community_item = QObject('settingsContentBaseScrollView_listItem_StatusListItem')
|
||||
self._community_template_image = QObject('settings_iconOrImage_StatusSmartIdenticon')
|
||||
self._community_template_name_members = QObject('settings_StatusTextWithLoadingState')
|
||||
self._community_template_description = TextLabel('settings_statusListItemSubTitle')
|
||||
self._community_template_button = Button('settings_StatusFlatButton')
|
||||
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)
|
||||
|
||||
@property
|
||||
@allure.step('Get communities')
|
||||
|
|
|
@ -7,12 +7,14 @@ 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
|
||||
|
||||
|
||||
class ENSSettingsView(QObject):
|
||||
|
||||
def __init__(self):
|
||||
super().__init__('mainWindow_EnsWelcomeView')
|
||||
self._start_button = Scroll('mainWindow_Start_StatusButton')
|
||||
super().__init__(names.mainWindow_EnsWelcomeView)
|
||||
self._start_button = Scroll(names.mainWindow_Start_StatusButton)
|
||||
|
||||
@allure.step('Start purhasing ens username')
|
||||
def start(self):
|
||||
|
@ -23,10 +25,10 @@ class ENSSettingsView(QObject):
|
|||
class ENSSearchView(QObject):
|
||||
|
||||
def __init__(self):
|
||||
super(ENSSearchView, self).__init__('mainWindow_EnsSearchView')
|
||||
self._username_text_field = TextEdit('mainWindow_ensUsernameInput_StyledTextField')
|
||||
self._next_button = Button('mainWindow_ensNextButton_StatusRoundButton')
|
||||
self._ens_text_note = QObject('ens_StatusBaseText')
|
||||
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)
|
||||
|
||||
@allure.step('Enter user name to text field')
|
||||
def enter_user_name(self, name: str):
|
||||
|
@ -46,9 +48,9 @@ class ENSSearchView(QObject):
|
|||
class ENSTermsAndConditionsView(QObject):
|
||||
|
||||
def __init__(self):
|
||||
super(ENSTermsAndConditionsView, self).__init__('mainWindow_EnsTermsAndConditionsView')
|
||||
self._agree_terms_checkbox = TextEdit('sview_ensAgreeTerms_StatusCheckBox')
|
||||
self._register_button = Button('mainWindow_Register_StatusButton')
|
||||
super(ENSTermsAndConditionsView, self).__init__(names.mainWindow_EnsTermsAndConditionsView)
|
||||
self._agree_terms_checkbox = TextEdit(names.sview_ensAgreeTerms_StatusCheckBox)
|
||||
self._register_button = Button(names.mainWindow_Register_StatusButton)
|
||||
|
||||
@allure.step('Get registered button enabled state')
|
||||
def is_register_button_enabled(self) -> bool:
|
||||
|
@ -70,4 +72,4 @@ class ENSTermsAndConditionsView(QObject):
|
|||
class ENSRegisteredView(QObject):
|
||||
|
||||
def __init__(self):
|
||||
super(ENSRegisteredView, self).__init__('mainWindow_EnsRegisteredView')
|
||||
super(ENSRegisteredView, self).__init__(names.mainWindow_EnsRegisteredView)
|
||||
|
|
|
@ -6,19 +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
|
||||
|
||||
|
||||
class KeycardSettingsView(QObject):
|
||||
|
||||
def __init__(self):
|
||||
super(KeycardSettingsView, self).__init__('mainWindow_KeycardView')
|
||||
self._scroll = Scroll('settingsContentBaseScrollView_Flickable')
|
||||
self._setup_keycard_with_existing_account_button = Button('setupFromExistingKeycardAccount_StatusListItem')
|
||||
self._create_new_keycard_account_button = Button('createNewKeycardAccount_StatusListItem')
|
||||
self._import_restore_via_seed_phrase_button = Button('importRestoreKeycard_StatusListItem')
|
||||
self._import_from_keycard_button = Button('importFromKeycard_StatusListItem')
|
||||
self._check_whats_on_keycard_button = Button('checkWhatsNewKeycard_StatusListItem')
|
||||
self._factory_reset_keycard_button = Button('factoryResetKeycard_StatusListItem')
|
||||
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)
|
||||
|
||||
@allure.step('Check that keycard screen displayed')
|
||||
def check_keycard_screen_loaded(self):
|
||||
|
|
|
@ -20,8 +20,8 @@ from gui.screens.settings import *
|
|||
class MessagingSettingsView(QObject):
|
||||
|
||||
def __init__(self):
|
||||
super().__init__('mainWindow_MessagingView')
|
||||
self._contacts_button = Button('contactsListItem_btn_StatusContactRequestsIndicatorListItem')
|
||||
super().__init__(names.mainWindow_MessagingView)
|
||||
self._contacts_button = Button(names.contactsListItem_btn_StatusContactRequestsIndicatorListItem)
|
||||
|
||||
@allure.step('Open contacts settings')
|
||||
def open_contacts_settings(self) -> 'ContactsSettingsView':
|
||||
|
@ -48,15 +48,15 @@ class ContactItem:
|
|||
if str(getattr(child, 'id', '')) == 'iconOrImage':
|
||||
self.icon = Image(driver.objectMap.realName(child))
|
||||
elif str(getattr(child, 'id', '')) == 'menuButton':
|
||||
self._open_canvas_button = Button(name='', real_name=driver.objectMap.realName(child))
|
||||
self._open_canvas_button = Button(real_name=driver.objectMap.realName(child))
|
||||
elif str(getattr(child, 'objectName', '')) == 'checkmark-circle-icon':
|
||||
self._accept_button = Button(name='', real_name=driver.objectMap.realName(child))
|
||||
self._accept_button = Button(real_name=driver.objectMap.realName(child))
|
||||
elif str(getattr(child, 'objectName', '')) == 'close-circle-icon':
|
||||
self._reject_button = Button(name='', real_name=driver.objectMap.realName(child))
|
||||
self._reject_button = Button(real_name=driver.objectMap.realName(child))
|
||||
elif str(getattr(child, 'id', '')) == 'statusListItemTitle':
|
||||
self.contact = str(child.text)
|
||||
elif str(getattr(child, 'objectName', '')) == 'chat-icon':
|
||||
self._chat_button = Button(name='', real_name=driver.objectMap.realName(child))
|
||||
self._chat_button = Button(real_name=driver.objectMap.realName(child))
|
||||
|
||||
@allure.step('Accept request')
|
||||
def accept(self) -> MessagesScreen:
|
||||
|
@ -86,22 +86,22 @@ class ContactItem:
|
|||
class ContactsSettingsView(QObject):
|
||||
|
||||
def __init__(self):
|
||||
super().__init__('mainWindow_ContactsView')
|
||||
self._contact_request_button = Button('mainWindow_Send_contact_request_to_chat_key_StatusButton')
|
||||
self._pending_request_tab = Button('contactsTabBar_Pending_Requests_StatusTabButton')
|
||||
self._contacts_tab = Button('contactsTabBar_Contacts_StatusTabButton')
|
||||
self._contacts_items_list = List('settingsContentBaseScrollView_ContactListPanel')
|
||||
self._pending_request_sent_panel = QObject('settingsContentBaseScrollView_sentRequests_ContactsListPanel')
|
||||
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)
|
||||
self._pending_request_received_panel = QObject(
|
||||
'settingsContentBaseScrollView_receivedRequests_ContactsListPanel')
|
||||
self._contacts_panel = QObject('settingsContentBaseScrollView_mutualContacts_ContactsListPanel')
|
||||
self._invite_friends_button = QObject('settingsContentBaseScrollView_Invite_friends_StatusButton')
|
||||
self._no_friends_item = QObject('settingsContentBaseScrollView_NoFriendsRectangle')
|
||||
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)
|
||||
# more options on contact
|
||||
self._verify_identity_item = QObject('verify_Identity_StatusMenuItem')
|
||||
self._respond_to_id_request_item = QObject('respond_to_ID_Request_StatusMenuItem')
|
||||
self._view_profile_item = QObject('view_Profile_StatusMenuItem')
|
||||
self._respond_to_id_request_button = Button('settingsContentBaseScrollView_Respond_to_ID_Request_StatusFlatButton')
|
||||
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._respond_to_id_request_button = Button(names.settingsContentBaseScrollView_Respond_to_ID_Request_StatusFlatButton)
|
||||
|
||||
@property
|
||||
@allure.step('Get contact items')
|
||||
|
|
|
@ -10,17 +10,18 @@ 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
|
||||
|
||||
|
||||
class ChangePasswordView(QObject):
|
||||
|
||||
def __init__(self):
|
||||
super().__init__('mainWindow_PasswordView')
|
||||
self._scroll_view = Scroll('settingsContentBaseScrollView_Flickable')
|
||||
self._change_password_button = Button('change_password_menu_change_password_button')
|
||||
self._current_password_text_field = TextEdit('change_password_menu_current_password')
|
||||
self._new_password_text_field = TextEdit('change_password_menu_new_password')
|
||||
self._confirm_password_text_field = TextEdit('change_password_menu_new_password_confirm')
|
||||
super().__init__(names.mainWindow_PasswordView)
|
||||
self._scroll_view = Scroll(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)
|
||||
self._confirm_password_text_field = TextEdit(names.change_password_menu_new_password_confirm)
|
||||
|
||||
@allure.step('Fill in the form, submit and sign out')
|
||||
def change_password(self, old_pwd: str, new_pwd: str):
|
||||
|
|
|
@ -10,20 +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
|
||||
|
||||
|
||||
class ProfileSettingsView(QObject):
|
||||
|
||||
def __init__(self):
|
||||
super().__init__('mainWindow_MyProfileView')
|
||||
self._scroll_view = Scroll('settingsContentBaseScrollView_Flickable')
|
||||
self._display_name_text_field = TextEdit('displayName_TextEdit')
|
||||
self._save_button = Button('settingsSave_StatusButton')
|
||||
self._bio_text_field = TextEdit('bio_TextEdit')
|
||||
self._add_more_links_label = TextLabel('addMoreSocialLinks')
|
||||
self._links_list = QObject('linksView')
|
||||
self._web_tab_button = Button('profileTabBar_Web_StatusTabButton')
|
||||
self._identity_tab_button = Button('profileTabBar_Identity_StatusTabButton')
|
||||
super().__init__(names.mainWindow_MyProfileView)
|
||||
self._scroll_view = Scroll(names.settingsContentBaseScrollView_Flickable)
|
||||
self._display_name_text_field = TextEdit(names.displayName_TextEdit)
|
||||
self._save_button = Button(names.settingsSave_StatusButton)
|
||||
self._bio_text_field = TextEdit(names.bio_TextEdit)
|
||||
self._add_more_links_label = TextLabel(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)
|
||||
|
||||
@property
|
||||
@allure.step('Get display name')
|
||||
|
|
|
@ -6,16 +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
|
||||
|
||||
|
||||
class SyncingSettingsView(QObject):
|
||||
|
||||
def __init__(self):
|
||||
super().__init__('mainWindow_SyncingView')
|
||||
self._setup_syncing_button = Button('settings_Setup_Syncing_StatusButton')
|
||||
self._backup_data_button = Button('settings_Backup_Data_StatusButton')
|
||||
self._sync_new_device_instructions_header = TextLabel('settings_Sync_New_Device_Header')
|
||||
self._sync_new_device_instructions_subtitle = TextLabel('settings_Sync_New_Device_SubTitle')
|
||||
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)
|
||||
|
||||
@allure.step('Checking instructions elements: back up button presence')
|
||||
def is_backup_button_present(self):
|
||||
|
|
|
@ -21,21 +21,22 @@ 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
|
||||
|
||||
|
||||
class WalletSettingsView(QObject):
|
||||
|
||||
def __init__(self):
|
||||
super().__init__('mainWindow_WalletView')
|
||||
self._wallet_settings_add_new_account_button = Button('settings_Wallet_MainView_AddNewAccountButton')
|
||||
self._wallet_network_button = Button('settings_Wallet_MainView_Networks')
|
||||
self._account_order_button = Button('settingsContentBaseScrollView_accountOrderItem_StatusListItem')
|
||||
self._saved_addresses_button = Button('settingsContentBaseScrollView_savedAddressesItem_StatusListItem')
|
||||
self._status_account_in_keypair = QObject('settingsWalletAccountDelegate_Status_account')
|
||||
self._wallet_account_from_keypair = QObject('settingsWalletAccountDelegate')
|
||||
self._wallet_settings_keypair_item = QObject('settingsWalletKeyPairDelegate')
|
||||
self._wallet_settings_total_balance_item = QObject('settingsWalletAccountTotalBalance')
|
||||
self._wallet_settings_total_balance_toggle = CheckBox('settingsWalletAccountTotalBalanceToggle')
|
||||
super().__init__(names.mainWindow_WalletView)
|
||||
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)
|
||||
|
||||
@allure.step('Open add account pop up in wallet settings')
|
||||
def open_add_account_pop_up(self, attempts: int = 2) -> 'AccountPopup':
|
||||
|
@ -109,19 +110,19 @@ class WalletSettingsView(QObject):
|
|||
class AccountDetailsView(WalletSettingsView):
|
||||
def __init__(self):
|
||||
super(AccountDetailsView, self).__init__()
|
||||
self._back_button = Button('main_toolBar_back_button')
|
||||
self._edit_account_button = Button('walletAccountViewEditAccountButton')
|
||||
self._remove_account_button = Button('walletAccountViewRemoveAccountButton')
|
||||
self._wallet_account_title = TextLabel('walletAccountViewAccountName')
|
||||
self._wallet_account_emoji = QObject('walletAccountViewAccountEmoji')
|
||||
self._wallet_account_details_label = TextLabel('walletAccountViewDetailsLabel')
|
||||
self._wallet_account_balance = QObject('walletAccountViewBalance')
|
||||
self._wallet_account_keypair_item = QObject('walletAccountViewKeypairItem')
|
||||
self._wallet_account_address = QObject('walletAccountViewAddress')
|
||||
self._wallet_account_origin = TextLabel('walletAccountViewOrigin')
|
||||
self._wallet_account_derivation_path = QObject('walletAccountViewDerivationPath')
|
||||
self._wallet_account_stored = TextLabel('walletAccountViewStored')
|
||||
self._wallet_preferred_networks = QObject('walletAccountViewPreferredNetworks')
|
||||
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)
|
||||
|
||||
@allure.step('Click Edit button')
|
||||
def click_edit_account_button(self):
|
||||
|
@ -192,8 +193,8 @@ class AccountDetailsView(WalletSettingsView):
|
|||
class SavedAddressesWalletSettings(WalletSettingsView):
|
||||
def __init__(self):
|
||||
super(SavedAddressesWalletSettings, self).__init__()
|
||||
self.add_new_address_button = Button('settings_Wallet_SavedAddresses_AddAddressButton')
|
||||
self.saved_address_item = QObject('settings_Wallet_SavedAddress_ItemDelegate')
|
||||
self.add_new_address_button = Button(names.settings_Wallet_SavedAddresses_AddAddressButton)
|
||||
self.saved_address_item = QObject(names.settings_Wallet_SavedAddress_ItemDelegate)
|
||||
|
||||
@allure.step('Click add new address button')
|
||||
def open_add_saved_address_popup(self, attempt: int = 2) -> 'AddressPopup':
|
||||
|
@ -216,20 +217,20 @@ class NetworkWalletSettings(WalletSettingsView):
|
|||
|
||||
def __init__(self):
|
||||
super(NetworkWalletSettings, self).__init__()
|
||||
self._testnet_text_item = QObject('settingsContentBaseScrollView_Goerli_testnet_active_StatusBaseText')
|
||||
self._testnet_mode_toggle = Button('settings_Wallet_NetworksView_TestNet_Toggle')
|
||||
self._testnet_mode_title = TextLabel('settings_Wallet_NetworksView_TestNet_Toggle_Title')
|
||||
self._back_button = Button('main_toolBar_back_button')
|
||||
self._mainnet_network_item = QObject('networkSettingsNetworks_Mainnet')
|
||||
self._mainnet_goerli_network_item = QObject('networkSettingsNetworks_Mainnet_Goerli')
|
||||
self._mainnet_goerli_network_item_test_label = TextLabel('networkSettingsNetowrks_Mainnet_Testlabel')
|
||||
self._optimism_network_item = QObject('networkSettingsNetworks_Optimism')
|
||||
self._optimism_goerli_network_item = QObject('networkSettingsNetworks_Optimism_Goerli')
|
||||
self._arbitrum_network_item = QObject('networkSettingsNetworks_Arbitrum')
|
||||
self._arbitrum__goerli_network_item = QObject('networkSettingsNetworks_Arbitrum_Goerli')
|
||||
self._wallet_network_item_template = QObject('settingsContentBaseScrollView_WalletNetworkDelegate_template')
|
||||
self._wallet_network_item_goerli_sensor = QObject('networkSettingsNetworks_Mainnet_Goerli_sensor')
|
||||
self._wallet_network_item_goerli_testlabel = TextLabel('networkSettingsNetowrks_Mainnet_Testlabel')
|
||||
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)
|
||||
|
||||
@allure.step('Check networks item title')
|
||||
def get_network_item_attribute_by_id_and_attr_name(self, attribute_name, network_id):
|
||||
|
@ -274,22 +275,22 @@ class NetworkWalletSettings(WalletSettingsView):
|
|||
class EditNetworkSettings(WalletSettingsView):
|
||||
def __init__(self):
|
||||
super(EditNetworkSettings, self).__init__()
|
||||
self._live_network_tab = Button('editNetworkLiveButton')
|
||||
self._test_network_tab = Button('editNetworkTestButton')
|
||||
self._network_name = TextEdit('editNetworkNameInput')
|
||||
self._network_short_name = TextEdit('editNetworkShortNameInput')
|
||||
self._network_chaid_id = TextEdit('editNetworkChainIdInput')
|
||||
self._network_native_token_symbol = TextEdit('editNetworkSymbolInput')
|
||||
self._network_main_json_rpc_url = TextEdit('editNetworkMainRpcInput')
|
||||
self._network_failover_json_rpc_url = TextEdit('editNetworkFailoverRpcUrlInput')
|
||||
self._network_block_explorer = TextEdit('editNetworkExplorerInput')
|
||||
self._network_acknowledgment_checkbox = CheckBox('editNetworkAknowledgmentCheckbox')
|
||||
self._network_revert_to_default = Button('editNetworkRevertButton')
|
||||
self._network_save_changes = Button('editNetworkSaveButton')
|
||||
self._network_edit_view_back_button = Button('main_toolBar_back_button')
|
||||
self._network_edit_scroll = Scroll('settingsContentBaseScrollView_Flickable')
|
||||
self._network_edit_main_rpc_url_error_message = QObject('mainRpcUrlInputObject')
|
||||
self._network_edit_failover_rpc_url_error_message = QObject('failoverRpcUrlInputObject')
|
||||
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)
|
||||
|
||||
@allure.step('Select Live Network tab')
|
||||
def click_live_network_tab(self):
|
||||
|
@ -489,10 +490,10 @@ class EditAccountOrderSettings(WalletSettingsView):
|
|||
|
||||
def __init__(self):
|
||||
super(EditAccountOrderSettings, self).__init__()
|
||||
self._account_item = QObject('settingsContentBaseScrollView_draggableDelegate_StatusDraggableListItem')
|
||||
self._accounts_list = QObject('statusDesktop_mainWindow')
|
||||
self._text_item = QObject('settingsContentBaseScrollView_StatusBaseText')
|
||||
self._back_button = Button('main_toolBar_back_button')
|
||||
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)
|
||||
|
||||
@property
|
||||
@allure.step('Get edit account order recommendations')
|
||||
|
@ -507,7 +508,7 @@ class EditAccountOrderSettings(WalletSettingsView):
|
|||
def accounts(self) -> typing.List[wallet_account_list_item]:
|
||||
_accounts = []
|
||||
for account_item in driver.findAllObjects(self._account_item.real_name):
|
||||
element = QObject(name='', real_name=driver.objectMap.realName(account_item))
|
||||
element = QObject(real_name=driver.objectMap.realName(account_item))
|
||||
name = str(account_item.title)
|
||||
icon_color = None
|
||||
icon_emoji = None
|
||||
|
|
|
@ -16,25 +16,26 @@ from gui.components.wallet.wallet_account_popups import AccountPopup
|
|||
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 scripts.utils.decorators import close_exists
|
||||
|
||||
|
||||
class WalletScreen(QObject):
|
||||
|
||||
def __init__(self):
|
||||
super().__init__('mainWindow_WalletLayout')
|
||||
super().__init__(names.mainWindow_WalletLayout)
|
||||
self.left_panel: LeftPanel = LeftPanel()
|
||||
|
||||
|
||||
class LeftPanel(QObject):
|
||||
|
||||
def __init__(self):
|
||||
super(LeftPanel, self).__init__('mainWallet_LeftTab')
|
||||
self._saved_addresses_button = Button('mainWallet_Saved_Addresses_Button')
|
||||
self._wallet_account_item = QObject('walletAccount_StatusListItem')
|
||||
self._add_account_button = Button('mainWallet_Add_Account_Button')
|
||||
self._all_accounts_button = Button('mainWallet_All_Accounts_Button')
|
||||
self._all_accounts_balance = TextLabel('mainWallet_All_Accounts_Balance')
|
||||
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)
|
||||
|
||||
@allure.step('Get total balance visibility state')
|
||||
def is_total_balance_visible(self) -> bool:
|
||||
|
@ -138,14 +139,14 @@ class LeftPanel(QObject):
|
|||
class SavedAddressesView(QObject):
|
||||
|
||||
def __init__(self):
|
||||
super(SavedAddressesView, self).__init__('mainWindow_SavedAddressesView')
|
||||
self._add_new_address_button = Button('mainWallet_Saved_Addresses_Add_Buttton')
|
||||
self._address_list_item = QObject('savedAddressView_Delegate')
|
||||
self._addresses_area = QObject('savedAddresses_area')
|
||||
self._addresses_list_view = QObject('mainWallet_Saved_Addresses_List')
|
||||
self._send_button = Button('send_StatusRoundButton')
|
||||
self._open_menu_button = Button('savedAddressView_Delegate_menuButton')
|
||||
self._saved_address_item = QObject('savedAddressView_Delegate')
|
||||
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)
|
||||
|
||||
@property
|
||||
@allure.step('Get saved addresses names')
|
||||
|
@ -195,10 +196,10 @@ class SavedAddressesView(QObject):
|
|||
class WalletAccountView(QObject):
|
||||
|
||||
def __init__(self):
|
||||
super(WalletAccountView, self).__init__('mainWindow_StatusSectionLayout_ContentItem')
|
||||
self._account_name_text_label = TextLabel('mainWallet_Account_Name')
|
||||
self._addresses_panel = QObject('mainWallet_Address_Panel')
|
||||
self._send_button = Button('mainWindow_Send_Button')
|
||||
super(WalletAccountView, self).__init__(names.mainWindow_StatusSectionLayout_ContentItem)
|
||||
self._account_name_text_label = TextLabel(names.mainWallet_Account_Name)
|
||||
self._addresses_panel = QObject(names.mainWallet_Address_Panel)
|
||||
self._send_button = Button(names.mainWindow_Send_Button)
|
||||
|
||||
@property
|
||||
@allure.step('Get name of account')
|
||||
|
|
Loading…
Reference in New Issue