mirror of
https://github.com/michaelrausch/Party-Parrots-At-Sea.git
synced 2026-05-09 14:28:43 +00:00
Made chat history transparent.
#story[1246]
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
Feature: SendChat
|
||||
Scenario: User send chat to another client
|
||||
Given There are two games running
|
||||
When the user has pressed sends the message "Hello world" in a text box
|
||||
When the first client has sent the message "Hello world"
|
||||
Then the other client should receive the message "Hello world"
|
||||
|
||||
@@ -21,7 +21,7 @@ public class SendChatSteps {
|
||||
private MainServerThread mst;
|
||||
|
||||
|
||||
//TODO Need to mock the controller pane in order to run the full game client
|
||||
//TODO Need to mock the controller pane in order to run the full game client
|
||||
@Given("^There are two games running$")
|
||||
public void the_are_two_games_running() throws Throwable {
|
||||
mst = new MainServerThread();
|
||||
@@ -42,7 +42,7 @@ public class SendChatSteps {
|
||||
}
|
||||
|
||||
|
||||
@When("^the user has pressed sends the message \"([^\"]*)\" in a text box$")
|
||||
@When("^the first client has sent the message \"([^\"]*)\"$")
|
||||
public void the_user_has_pressed_sends_the_message_in_a_text_box(String arg1) throws Throwable {
|
||||
client.sendChatterMessage("[time_prefix] <name_prefix> " + arg1);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user