fix(@desktop/test): [suite_communities / tst_communityFlows] - 'The admin changes the emoji of a channel'

This commit is contained in:
mprakhov 2022-11-24 10:21:04 +02:00 committed by Mykhailo Prakhov
parent 5f36d4f99f
commit 92da7ee9a3
2 changed files with 4 additions and 2 deletions

View File

@ -841,6 +841,10 @@ QtObject:
community.settings = communitySettings
# add this to the joinedCommunities list and communitiesSettings
self.joinedCommunities[community.id] = community
# add new community channel group and chats to chat service
self.chatService.updateOrAddChannelGroup(community.toChannelGroupDto())
for chat in community.chats:
self.chatService.updateOrAddChat(chat)
self.events.emit(SIGNAL_COMMUNITY_CREATED, CommunityArgs(community: community))
except Exception as e:

View File

@ -95,8 +95,6 @@ Feature: Status Desktop community
| new_community_name | new_community_description | new_community_color |
| myCommunityNamedChanged | Cool new description 123 | #ff0000 |
@mayfail
# TODO: Test broken. Validation doesn't work (No attribute ` emoji`found error).
Scenario Outline: The admin changes the emoji of a channel
When the admin changes the current community channel emoji to "<new_emoji_description>"
Then the community channel has emoji "<new_emoji>"