diaspora/features/conversations_mobile.feature
movilla 7a8269ebf3 * Add test for mobile page: Edit profile mobile, Conversations mobile, Getting Started mobile
* Complete the existing: Post mobile.
* Complete some test for no mobile: Edit profile, Post main.
* Fix little error css and js mobile.
* Add file-upload-custom javascripts to mobile.js.
2013-03-10 15:02:18 +01:00

24 lines
986 B
Gherkin

@javascript
Feature: private messages mobile
In order to be talkative
As a mobile user
I want to converse with people
Background:
Given a user with username "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 "bob" is connected with "alice_awesome"
And I toggle the mobile view
Scenario: send a mobile message
Given I send a mobile message with subject "Greetings" and text "hello, alice!" to "Alice Awesome"
Then I should see "Greetings" within ".ltr"
And I should see "Greetings" within ".ltr"
And I press the first ".ltr" within ".conversation"
And "Alice Awesome" should be part of active conversation
And I should see "hello, alice!" within ".stream_element"
When I sign in as "alice@alice.alice"
And I reply with "hey, how you doing?"
And I press the first ".ltr" within ".conversation"
Then I should see "hey, how you doing?"