Debian Codegraph @

tests/inputs/cucumber.feature

raw
1 # https://raw.githubusercontent.com/diaspora/diaspora/master/features/mobile/activity_stream.feature
2 @javascript @mobile
3 Feature: Viewing my activity on the steam mobile page
4 In order to navigate Diaspora*
5 As a mobile user
6 I want to view my activity stream
7
8 Background:
9 Given following users exist:
10 | username |
11 | alice |
12 | bob |
13 And a user with username "bob" is connected with "alice"
14 And "[email protected]" has a public post with text "Hello! I am #newhere"
15 # another comment
16 Scenario: Show my activity empty
17 When I sign in as "[email protected]" on the mobile website
18 When I go to the activity stream page
19 Then I should see "My activity" within "#main"
20 And I should not see "Hello! I am #newhere"
21
22 Scenario: Show liked post on my activity
23 When I sign in as "[email protected]" on the mobile website
24 When I click on selector "a.like-action.inactive"
25 And I go to the activity stream page
26 Then I should see "My activity" within "#main"
27 And I should see "Hello! I am #newhere" within ".ltr"
28
29 Scenario: Show own post on my activity
30 When I sign in as "[email protected]" on the mobile website
31 And I go to the activity stream page
32 Then I should see "My activity" within "#main"
33 And I should see "Hello! I am #newhere" within ".ltr"