Welcome to mirror list, hosted at ThFree Co, Russian Federation.

conversations.feature « mobile « features - github.com/diaspora/diaspora.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 9fe2e23e0ff15a9c7ea0e2aea346ed1843ab37d0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
@javascript @mobile
Feature: private conversations 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"
    And a user with username "bob" is connected with "alice_awesome"
    And I sign in as "bob@bob.bob" on the mobile website

  Scenario: send and delete 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 ".conversation h3"
    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" on the mobile website
    And I reply with "hey, how you doing?"
    And I press the first ".ltr" within ".conversation"
    Then I should see "hey, how you doing?"
    When I confirm the alert after I click on selector "a.remove"
    Then I should not see "hey, how you doing"