diaspora/features/conversations.feature
Antoine D 8e2633f8b3 Improve participants link style in conversation, close #4236
Move it to the right and replace the text by an image with the nice tooltip, modify the test.
2013-06-28 00:41:44 +02:00

26 lines
1.2 KiB
Gherkin

@javascript
Feature: private messages
In order to be talkative
As a User
I want to converse with people
Background:
Given a user named "Robert Grimm" with email "bob@bob.bob"
And a user named "Alice Awesome" with email "alice@alice.alice"
When I sign in as "bob@bob.bob"
And a user with username "robert_grimm" is connected with "alice_awesome"
Scenario: send a message
Given I send a message with subject "Greetings" and text "hello, alice!" to "Alice Awesome"
Then I should see "Greetings" within "#conversation_inbox"
And I should see "Greetings" within "#conversation_show"
And I click on selector "a.participants_link"
Then I should see the participants popover
And I should see "Alice Awesome" as part of the participants popover
And I should see "Robert Grimm" as part of the participants popover
Then I close the participants popover
And "Alice Awesome" should be part of active conversation
And I should see "hello, alice!" within ".stream_container"
When I sign in as "alice@alice.alice"
And I reply with "hey, how you doing?"
Then I should see "hey, how you doing?" within ".stream_container"