From 09524b925ae27119e44434be863fbfb608b523bf Mon Sep 17 00:00:00 2001 From: Anastasiya Semenkevich Date: Thu, 17 Oct 2024 16:56:18 +0300 Subject: [PATCH] chore(@StatusQ): add object name for community tag --- test/e2e/gui/components/wallet/wallet_account_popups.py | 3 --- test/e2e/gui/objects_map/names.py | 3 ++- ui/StatusQ/src/StatusQ/Components/StatusCommunityTags.qml | 1 + 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/test/e2e/gui/components/wallet/wallet_account_popups.py b/test/e2e/gui/components/wallet/wallet_account_popups.py index 3b68e79966..da968e1fc3 100644 --- a/test/e2e/gui/components/wallet/wallet_account_popups.py +++ b/test/e2e/gui/components/wallet/wallet_account_popups.py @@ -1,6 +1,3 @@ -import random -import time - import configs.timeouts from constants.wallet import * from gui.screens.settings_keycard import KeycardSettingsView diff --git a/test/e2e/gui/objects_map/names.py b/test/e2e/gui/objects_map/names.py index 79b4fe6d68..1705549ee4 100644 --- a/test/e2e/gui/objects_map/names.py +++ b/test/e2e/gui/objects_map/names.py @@ -246,7 +246,8 @@ communitySettings_ColorPanel_HexColor_Input = {"container": statusDesktop_mainWi 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} +tagsRepeater = {"container": statusDesktop_mainWindow_overlay, "objectName": "communityTagsRepeater", "type": "Repeater", "visible": True} +o_StatusCommunityTag = {"container": statusDesktop_mainWindow_overlay, "objectName": "communityTag", "type": "StatusCommunityTag", "visible": True} confirm_Community_Tags_StatusButton = {"checkable": False, "container": statusDesktop_mainWindow_overlay, "objectName": "confirmCommunityTagsButton", "type": "StatusButton", "visible": True} tags_edit_TextEdit = {"container": statusDesktop_mainWindow_overlay, "id": "edit", "type": "TextEdit", "unnamed": 1, "visible": True} selected_tags_text = {"container": statusDesktop_mainWindow_overlay, "type": "StatusBaseText", "unnamed": 1, "visible": True} diff --git a/ui/StatusQ/src/StatusQ/Components/StatusCommunityTags.qml b/ui/StatusQ/src/StatusQ/Components/StatusCommunityTags.qml index 9ee2cb9748..9f4b5517a5 100644 --- a/ui/StatusQ/src/StatusQ/Components/StatusCommunityTags.qml +++ b/ui/StatusQ/src/StatusQ/Components/StatusCommunityTags.qml @@ -74,6 +74,7 @@ Item { } delegate: StatusCommunityTag { + objectName: "communityTag" emoji: model.emoji name: model.name removable: root.mode === StatusCommunityTags.ShowSelectedOnly && root.active && repeater.count > 1