status-desktop/test/ui-test/testSuites/suite_communities/tst_communityMemberFlows/test.feature

43 lines
2.1 KiB
Gherkin
Raw Normal View History

#******************************************************************************
# Status.im
#*****************************************************************************/
#/**
# * \file test.feature
# *
# * \test Status Desktop - Community Member Flows
# * \date August 2022
# **
# *****************************************************************************/
Feature: Status Desktop community members
As a user I want to interact with members in a community
@mayfail
# TODO: It is throwing "RecursionError: maximum recursion depth exceeded" in `And the user opens the chat section
Scenario: User invites a mutual contact
Given the user starts the application with a specific data folder "../../../fixtures/mutual_contacts"
When the user "tester123" logs in with password "TesTEr16843/!@00"
Then the user lands on the signed in app
Given the user opens the community portal section
And the user lands on the community portal section
And the user creates a community named "test_community", with description "Community description", intro "community intro" and outro "commmunity outro"
Then the user lands on the community named "test_community"
When the admin invites the user named Athletic to the community with message You are invited to my community
And the user opens the chat section
And the user switches to "Athletic" chat
Then the last chat message contains "You are invited to my community"
@mayfail
# TODO this may fail because if we connect to the mailserver, we get the signal that Bob was already kicked out
Scenario: User can kick a member
Given the user starts the application with a specific data folder "../../../fixtures/community_members"
When the user "Alice" logs in with password "TesTEr16843/!@00"
Then the user lands on the signed in app
When the user opens the community named "MyFriends"
Then the user lands on the community named "MyFriends"
When the admin kicks the user named Bobby
And the admin goes back to the community
Then the number of members is 1