feat(CommunitySettings): Changes section name from `Mint Tokens` to `Tokens`

Updated text according to new design.

Updated e2e tests according to new requirement.
This commit is contained in:
Noelia 2023-07-05 16:52:47 +02:00 committed by Noelia
parent db826253c7
commit d4afc1fba6
5 changed files with 5 additions and 5 deletions

View File

@ -79,7 +79,7 @@ class CommunitySettingsComponents(Enum):
class CommunityWelcomeScreenComponents(Enum):
# Constants definitions:
PERMISSIONS_OPTION = "Permissions"
TOKENS_OPTION = "Mint Tokens"
TOKENS_OPTION = "Tokens"
AIRDROPS_OPTION = "Airdrops"
WELCOME_SCREEN_TITLE_OPTION_AIRDROPS = "Airdrop community tokens"
WELCOME_SCREEN_TITLE_OPTION_PERMISSIONS = "Permissions"

View File

@ -27,7 +27,7 @@ community_ProfilePopupInviteMessagePanel_MessageInput = {"container": community_
community_InviteFriend_SendButton = {"container": statusDesktop_mainWindow_overlay, "objectName": "InviteFriendsToCommunityPopup_SendButton", "type": "StatusButton", "visible": True}
communitySettings_Members_NavigationListItem = {"container": statusDesktop_mainWindow, "objectName": "CommunitySettingsView_NavigationListItem_Members", "type": "StatusNavigationListItem", "visible": True}
communitySettingsView_NavigationListItem_Airdrops = {"container": statusDesktop_mainWindow, "objectName": "CommunitySettingsView_NavigationListItem_Airdrops", "type": "StatusNavigationListItem", "visible": True}
communitySettingsView_NavigationListItem_Mint_Tokens = {"container": statusDesktop_mainWindow, "objectName": "CommunitySettingsView_NavigationListItem_Mint Tokens", "type": "StatusNavigationListItem", "visible": True}
communitySettingsView_NavigationListItem_Mint_Tokens = {"container": statusDesktop_mainWindow, "objectName": "CommunitySettingsView_NavigationListItem_Tokens", "type": "StatusNavigationListItem", "visible": True}
communitySettings_Permissions_NavigationListItem = {"container": statusDesktop_mainWindow, "objectName": "CommunitySettingsView_NavigationListItem_Permissions", "type": "StatusNavigationListItem", "visible": True}
communitySettingsView_NavigationListItem_Overview = {"container": statusDesktop_mainWindow, "objectName": "CommunitySettingsView_NavigationListItem_Overview", "type": "StatusNavigationListItem", "visible": True}
communitySettings_MembersTab_Members_ListView = {"container": statusDesktop_mainWindow, "objectName": "CommunityMembersTabPanel_MembersListViews", "type": "ListView", "visible": True}

View File

@ -16,5 +16,5 @@ Background:
| Overview |
| Members |
| Permissions|
| Mint Tokens|
| Tokens|
| Airdrops |

View File

@ -12,7 +12,7 @@ Background:
Scenario: Mint Tokens welcome screen content validation
When "Manage Community" is clicked in the community sidebar
And "Mint Tokens" section is selected
And "Tokens" section is selected
Then the welcome "Tokens" image is present
And the welcome "Tokens" title is present
And the welcome "Tokens" subtitle is present

View File

@ -270,7 +270,7 @@ StatusSectionLayout {
id: mintPanel
readonly property int sectionKey: Constants.CommunitySettingsSections.MintTokens
readonly property string sectionName: qsTr("Mint Tokens")
readonly property string sectionName: qsTr("Tokens")
readonly property string sectionIcon: "token"
readonly property bool sectionEnabled: root.isOwner