parent
02b9ceff78
commit
2ef6e04b0a
|
@ -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)
|
||||||
|
@ -135,7 +139,7 @@ def step(context, emoji_short_name, message):
|
||||||
|
|
||||||
@Then("the emoji |any| is displayed in the last message")
|
@Then("the emoji |any| is displayed in the last message")
|
||||||
def step(context, emoji):
|
def step(context, emoji):
|
||||||
_statusChat.verify_last_message_sent(emoji)
|
_statusChat.verify_last_message_sent(emoji)
|
||||||
|
|
||||||
@Then("the message |any| is displayed in the last message")
|
@Then("the message |any| is displayed in the last message")
|
||||||
def step(context, message):
|
def step(context, message):
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue