mirror of
https://github.com/status-im/status-desktop.git
synced 2025-01-10 14:26:34 +00:00
cc64e443e4
To make the feature files style consistent for direct string and also use it for examples (params), it has been introduced "" to all plain strings and also into the parameters, that now will be written like this: "<example-param>": Applied on the complete `suite_messaging` and in specific statements of the `onboarding / login`.
60 lines
2.6 KiB
Gherkin
60 lines
2.6 KiB
Gherkin
#******************************************************************************
|
|
# Status.im
|
|
#*****************************************************************************/
|
|
#/**
|
|
# * \file test.feature
|
|
# *
|
|
# * \test Status Desktop - Community Chat Flows
|
|
# * \date July 2022
|
|
# **
|
|
# *****************************************************************************/
|
|
|
|
Feature: Status Desktop community messages
|
|
|
|
As a user I want to send messages and interact with channels in a community
|
|
|
|
|
|
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
|
|
When the user opens the community portal section
|
|
Then the user lands on the community portal section
|
|
When 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
|
|
|
|
@mayfail @merge
|
|
Scenario: User sends a test image
|
|
When the user sends a test image in the current channel
|
|
Then the test image is displayed in the last message
|
|
|
|
@mayfail @merge
|
|
Scenario: User sends a test image with a message
|
|
When the user sends a test image in the current channel with message Mesage with an image
|
|
Then the test image is displayed just before the last message
|
|
And the message Mesage with an image is displayed in the last message
|
|
|
|
@mayfail @merge
|
|
Scenario: User sends multiple test images with a message
|
|
When the user sends multiple test images in the current channel with message Mesage with an image again
|
|
Then the test images are displayed just before the last message
|
|
And the message Mesage with an image again is displayed in the last message
|
|
|
|
@mayfail @merge
|
|
Scenario: User pins and unpins messages
|
|
# This one wont work until #6554 is fixed
|
|
# And the amount of pinned messages is 0
|
|
When the user sends the chat message "Message 1"
|
|
And the user pins the message at index 0
|
|
Then the amount of pinned messages is 1
|
|
Then the user is able to send chat message
|
|
| message |
|
|
| Hello |
|
|
| How are you |
|
|
| I am from status |
|
|
| tell me how you do? |
|
|
When the user pins the message at index 0
|
|
Then the amount of pinned messages is 2
|
|
When the user unpins the message at index 0
|
|
Then the amount of pinned messages is 1
|