2022-10-19 11:23:37 +00:00
|
|
|
Feature: Status Desktop Group Chat
|
|
|
|
|
|
|
|
As a group admin user I want to do some specific actions into the group chat
|
|
|
|
|
|
|
|
The feature start sequence follows the global one (setup on global `bdd_hooks`):
|
|
|
|
|
|
|
|
Background:
|
|
|
|
|
2022-10-25 18:39:21 +00:00
|
|
|
Given the user starts the application with a specific data folder "../../../fixtures/mutual_contacts"
|
2022-10-19 11:23:37 +00:00
|
|
|
When the user "tester123" logs in with password "TesTEr16843/!@00"
|
|
|
|
Then the user lands on the signed in app
|
|
|
|
|
|
|
|
When the user creates a group chat adding users
|
|
|
|
| Athletic |
|
|
|
|
| Nervous |
|
|
|
|
Then the group chat is created
|
|
|
|
|
2022-10-27 12:54:11 +00:00
|
|
|
@relyon-mailserver
|
|
|
|
Scenario: As an admin user I want to change group chat's name, color, image and leave chat
|
2022-10-19 11:23:37 +00:00
|
|
|
|
2022-10-27 12:54:11 +00:00
|
|
|
# As an admin user I want to change group chat's name
|
2022-10-19 11:23:37 +00:00
|
|
|
Given the user opens the edit group chat popup
|
|
|
|
And the user changes the group name to "Fat&Lazy"
|
|
|
|
When the user saves changes
|
|
|
|
Then the chat title is "Fat&Lazy"
|
|
|
|
|
2022-10-27 12:54:11 +00:00
|
|
|
# As an admin user I want to change group chat's color
|
2022-10-19 11:23:37 +00:00
|
|
|
Given the user opens the edit group chat popup
|
|
|
|
And the user changes the group color to "#7CDA00"
|
|
|
|
When the user saves changes
|
|
|
|
Then the chat color is "#7CDA00"
|
|
|
|
|
2022-10-27 12:54:11 +00:00
|
|
|
# As an admin user I want to change group chat's image
|
2022-10-19 11:23:37 +00:00
|
|
|
Given the user opens the edit group chat popup
|
|
|
|
And the user changes the group image
|
|
|
|
When the user saves changes
|
|
|
|
Then the chat image is changed
|
|
|
|
|
2022-10-27 12:54:11 +00:00
|
|
|
# As an admin user I want to leave current chat
|
2022-10-19 11:23:37 +00:00
|
|
|
When the user leaves current chat
|
|
|
|
Then the chat "Fat&Lazy" does not exist
|
2022-10-27 12:54:11 +00:00
|
|
|
|
|
|
|
# Cleanup other users chats:
|
|
|
|
Given the user restarts the app
|
|
|
|
And the user "Nervous" logs in with password "TesTEr16843/!@00"
|
|
|
|
And the user lands on the signed in app
|
|
|
|
When the user leaves chat "Fat&Lazy" by right click on it
|
|
|
|
Then the chat "Fat&Lazy" does not exist
|
|
|
|
|
|
|
|
Given the user restarts the app
|
|
|
|
And the user "Athletic" logs in with password "TesTEr16843/!@00"
|
|
|
|
And the user lands on the signed in app
|
|
|
|
When the user leaves chat "Fat&Lazy" by right click on it
|
|
|
|
Then the chat "Fat&Lazy" does not exist
|
|
|
|
|