test(chat): Emoji autoreplace

Closes: #7019
This commit is contained in:
Boris Melnik 2022-08-19 14:54:20 +03:00
parent 02b9ceff78
commit 2ef6e04b0a
2 changed files with 10 additions and 1 deletions

View File

@ -61,6 +61,10 @@ def step(context):
def step(contenxt): def step(contenxt):
_statusChat.select_the_emoji_in_suggestion_list() _statusChat.select_the_emoji_in_suggestion_list()
@Then("the user is able to send chat message \"|any|\"")
def step(context, message):
_statusChat.send_message(message)
@Then("the user is able to send a random chat message") @Then("the user is able to send a random chat message")
def step(context): def step(context):
random_int = randint(0, 10000) random_int = randint(0, 10000)

View File

@ -132,3 +132,8 @@ Feature: Status Desktop Chat
| second-chat | | second-chat |
| third-chat | | third-chat |
| first-chat | | first-chat |
Scenario: User can type message with emoji autoreplace
When user joins chat room automation-test
Then the user is able to send chat message "Hello :)"
Then the message Hello 🙂 is displayed in the last message