2022-07-18 20:56:33 +00:00
|
|
|
#******************************************************************************
|
|
|
|
# Status.im
|
|
|
|
#*****************************************************************************/
|
|
|
|
#/**
|
|
|
|
# * \file test.feature
|
|
|
|
# *
|
|
|
|
# * \test Status Desktop - Community
|
|
|
|
# * \date July 2022
|
|
|
|
# **
|
|
|
|
# *****************************************************************************/
|
|
|
|
|
|
|
|
Feature: Status Desktop community
|
|
|
|
|
|
|
|
As a user I want to create a community and chat
|
|
|
|
|
2022-07-21 16:16:25 +00:00
|
|
|
The following scenarios cover basic flows of a community
|
2022-07-18 20:56:33 +00:00
|
|
|
|
|
|
|
Background:
|
|
|
|
Given A first time user lands on the status desktop and generates new key
|
|
|
|
When user signs up with username tester123 and password TesTEr16843/!@00
|
|
|
|
Then the user lands on the signed in app
|
2022-08-15 21:01:12 +00:00
|
|
|
When the user opens the community portal section
|
2022-07-25 17:15:02 +00:00
|
|
|
Then the user lands on the community portal section
|
2022-07-18 20:56:33 +00:00
|
|
|
|
2022-09-20 12:22:04 +00:00
|
|
|
@merge
|
2022-07-18 20:56:33 +00:00
|
|
|
Scenario Outline: User creates a community
|
|
|
|
When the user creates a community named <community_name>, with description <community_description>, intro <community_intro> and outro <community_outro>
|
|
|
|
Then the user lands on the community named <community_name>
|
|
|
|
|
|
|
|
Examples:
|
2022-07-25 20:30:34 +00:00
|
|
|
| community_name | community_description | community_intro | community_outro |
|
|
|
|
| testCommunity1 | Community tested 1 | My intro for the community | My community outro |
|
2022-07-21 16:16:25 +00:00
|
|
|
|
|
|
|
|
2022-09-20 12:22:04 +00:00
|
|
|
@merge @mayfail
|
2022-07-21 16:16:25 +00:00
|
|
|
Scenario Outline: Admin creates a community channel
|
2022-07-25 17:15:02 +00:00
|
|
|
When the user creates a community named myCommunity, with description My community description, intro Community Intro and outro Community Outro
|
|
|
|
Then the user lands on the community named myCommunity
|
2022-07-25 20:30:34 +00:00
|
|
|
When the admin creates a community channel named <community_channel_name>, with description <community_channel_description> with the method <method>
|
2022-08-15 21:01:12 +00:00
|
|
|
Then the user lands on the channel named <community_channel_name>
|
2022-07-21 16:16:25 +00:00
|
|
|
|
|
|
|
Examples:
|
2022-08-16 10:21:39 +00:00
|
|
|
| community_channel_name | community_channel_description | method |
|
|
|
|
| test-channel | Community channel description tested 1 | bottom_menu |
|
2022-07-25 20:30:34 +00:00
|
|
|
| test-channel2 | Community channel description tested 2 | right_click_menu |
|
2022-07-21 16:16:25 +00:00
|
|
|
|
2022-09-20 12:22:04 +00:00
|
|
|
@mayfail
|
2022-07-25 17:15:02 +00:00
|
|
|
Scenario Outline: Admin edits a community channel
|
|
|
|
When the user creates a community named myCommunity, with description My community description, intro Community Intro and outro Community Outro
|
|
|
|
Then the user lands on the community named myCommunity
|
2022-07-25 20:30:34 +00:00
|
|
|
When the admin creates a community channel named test-channel, with description My description with the method bottom_menu
|
2022-08-15 21:01:12 +00:00
|
|
|
Then the user lands on the channel named test-channel
|
2022-08-03 20:16:43 +00:00
|
|
|
When the admin edits the current community channel to the name <new_community_channel_name>
|
2022-08-15 21:01:12 +00:00
|
|
|
Then the user lands on the channel named <new_community_channel_name>
|
2022-07-25 17:15:02 +00:00
|
|
|
|
|
|
|
Examples:
|
2022-08-16 10:21:39 +00:00
|
|
|
| community_channel_name | community_channel_description | new_community_channel_name |
|
2022-07-25 20:30:34 +00:00
|
|
|
| test-channel | Community channel description tested 1 | new-test-channel |
|
|
|
|
|
2022-09-20 12:22:04 +00:00
|
|
|
@merge @mayfail
|
2022-08-16 10:21:39 +00:00
|
|
|
Scenario: Admin deletes a community channel
|
|
|
|
When the user creates a community named myCommunity, with description My community description, intro Community Intro and outro Community Outro
|
|
|
|
Then the user lands on the community named myCommunity
|
|
|
|
When the admin creates a community channel named test-channel, with description My description with the method bottom_menu
|
2022-08-15 21:01:12 +00:00
|
|
|
Then the user lands on the channel named test-channel
|
2022-08-16 10:21:39 +00:00
|
|
|
And the channel count is 2
|
|
|
|
When the admin deletes current channel
|
|
|
|
Then the channel count is 1
|
|
|
|
|
|
|
|
|
2022-09-20 12:22:04 +00:00
|
|
|
@merge @mayfail
|
2022-08-16 10:21:39 +00:00
|
|
|
Scenario Outline: Admin creates a community category
|
|
|
|
When the user creates a community named myCommunity, with description My community description, intro Community Intro and outro Community Outro
|
|
|
|
Then the user lands on the community named myCommunity
|
|
|
|
When the admin creates a community channel named <community_channel_name>, with description Some description with the method <method>
|
2022-08-18 12:36:38 +00:00
|
|
|
And the admin creates a community category named <community_category_name>, with channels <community_channel_name> and with the method <method>
|
2022-08-19 12:08:25 +00:00
|
|
|
Then the category named <community_category_name> has channels <community_channel_name>
|
2022-08-16 10:21:39 +00:00
|
|
|
|
|
|
|
Examples:
|
|
|
|
| community_channel_name | community_category_name | method |
|
|
|
|
| test-channel-1 | test-category-1 | bottom_menu |
|
|
|
|
| test-channel-2 | test-category-2 | right_click_menu |
|
|
|
|
|
2022-08-16 19:39:32 +00:00
|
|
|
|
2022-10-11 13:58:34 +00:00
|
|
|
@mayfail
|
2022-08-18 12:36:38 +00:00
|
|
|
Scenario: Admin edits a community category
|
2022-08-16 19:39:32 +00:00
|
|
|
When the user creates a community named myCommunity, with description My community description, intro Community Intro and outro Community Outro
|
|
|
|
Then the user lands on the community named myCommunity
|
|
|
|
When the admin creates a community channel named test-channel, with description My description with the method bottom_menu
|
2022-08-18 12:36:38 +00:00
|
|
|
And the admin creates a community category named test-category, with channels test-channel and with the method bottom_menu
|
2022-08-19 12:08:25 +00:00
|
|
|
Then the category named test-category has channels test-channel
|
|
|
|
When the admin edits category named test-category to the name new-test-category and channels test-channel, general
|
|
|
|
Then the category named new-test-category has channels general
|
|
|
|
And the category named test-category is missing
|
2022-08-18 12:36:38 +00:00
|
|
|
|
|
|
|
|
2022-09-20 12:22:04 +00:00
|
|
|
@merge
|
2022-08-18 12:36:38 +00:00
|
|
|
Scenario: Admin deletes a community category
|
|
|
|
When the user creates a community named myCommunity, with description My community description, intro Community Intro and outro Community Outro
|
|
|
|
Then the user lands on the community named myCommunity
|
2022-08-19 12:08:25 +00:00
|
|
|
When the admin creates a community channel named test-channel, with description My description with the method bottom_menu
|
|
|
|
And the admin creates a community category named test-category, with channels test-channel and with the method bottom_menu
|
|
|
|
Then the category named test-category has channels test-channel
|
2022-08-16 19:39:32 +00:00
|
|
|
When the admin deletes category named test-category
|
|
|
|
Then the category named test-category is missing
|
|
|
|
|
|
|
|
|
2022-09-20 12:22:04 +00:00
|
|
|
@merge @mayfail
|
2022-08-03 20:16:43 +00:00
|
|
|
Scenario Outline: Admin edits a community
|
|
|
|
When the user creates a community named myCommunity, with description My community description, intro Community Intro and outro Community Outro
|
|
|
|
Then the user lands on the community named myCommunity
|
|
|
|
When the admin edits the current community to the name <new_community_name> and description <new_community_description> and color <new_community_color>
|
|
|
|
When the admin goes back to the community
|
|
|
|
Then the user lands on the community named <new_community_name>
|
|
|
|
|
|
|
|
Examples:
|
|
|
|
| new_community_name | new_community_description | new_community_color |
|
|
|
|
| myCommunityNamedChanged | Cool new description 123 | #ff0000 |
|
|
|
|
|
2022-08-16 19:39:32 +00:00
|
|
|
|
2022-09-20 12:22:04 +00:00
|
|
|
@merge
|
2022-08-11 12:24:49 +00:00
|
|
|
Scenario: User leaves community
|
|
|
|
When the user creates a community named testCommunity, with description My community description, intro Community Intro and outro Community Outro
|
|
|
|
Then the user lands on the community named testCommunity
|
|
|
|
When the user opens app settings screen
|
|
|
|
And the user opens the communities settings
|
|
|
|
And the user leaves the community
|
|
|
|
Then the count of communities in navbar is 0
|
2022-08-15 11:43:38 +00:00
|
|
|
|
2022-08-16 19:39:32 +00:00
|
|
|
|
2022-09-20 12:22:04 +00:00
|
|
|
@merge @mayfail
|
2022-08-15 11:43:38 +00:00
|
|
|
Scenario Outline: User changes the emoji of a channel
|
|
|
|
When the user creates a community named myCommunity, with description My community description, intro Community Intro and outro Community Outro
|
|
|
|
Then the user lands on the community named myCommunity
|
|
|
|
When the admin creates a community channel named test-channel, with description My description with the method bottom_menu
|
2022-08-15 21:01:12 +00:00
|
|
|
Then the user lands on the channel named test-channel
|
2022-08-15 11:43:38 +00:00
|
|
|
When the user changes emoji of the current community channel with emoji by description <new_emoji_description>
|
|
|
|
Then the community channel has emoji <new_emoji>
|
|
|
|
|
|
|
|
Examples:
|
|
|
|
| new_emoji_description | new_emoji |
|
|
|
|
| thumbs up | 👍 |
|
2022-08-22 21:12:35 +00:00
|
|
|
|