Commit 1d235d53f3d5903bea3eb0d66a2d8cfec6d7a8b2
1 parent
e928aa66
Exists in
master
and in
23 other branches
browse.feature
Showing
1 changed file
with
13 additions
and
10 deletions
Show diff stats
features/browse.feature
| @@ -15,17 +15,17 @@ Feature: browse | @@ -15,17 +15,17 @@ Feature: browse | ||
| 15 | | comunity-silva | Community Silva | | 15 | | comunity-silva | Community Silva | |
| 16 | | comunity-neto | Community Neto | | 16 | | comunity-neto | Community Neto | |
| 17 | 17 | ||
| 18 | - @selenium | 18 | + @selenium @fixme |
| 19 | Scenario: Show people browse menu | 19 | Scenario: Show people browse menu |
| 20 | Given I should not see "More Recent" | 20 | Given I should not see "More Recent" |
| 21 | And I should not see "More Active" | 21 | And I should not see "More Active" |
| 22 | And I should not see "More Popular" | 22 | And I should not see "More Popular" |
| 23 | - When I click "#submenu-people-trigger" | 23 | + When I follow "#submenu-people-trigger" |
| 24 | Then I should see "More Recent" | 24 | Then I should see "More Recent" |
| 25 | And I should see "More Active" | 25 | And I should see "More Active" |
| 26 | And I should see "More Popular" | 26 | And I should see "More Popular" |
| 27 | 27 | ||
| 28 | - @selenium | 28 | + @selenium @fixme |
| 29 | Scenario: People browse menu should add logged information | 29 | Scenario: People browse menu should add logged information |
| 30 | Given I am logged in as "joaosilva" | 30 | Given I am logged in as "joaosilva" |
| 31 | And I should not see "More Recent" | 31 | And I should not see "More Recent" |
| @@ -33,13 +33,14 @@ Feature: browse | @@ -33,13 +33,14 @@ Feature: browse | ||
| 33 | And I should not see "More Popular" | 33 | And I should not see "More Popular" |
| 34 | And I should not see "Invite friends" | 34 | And I should not see "Invite friends" |
| 35 | And I should not see "My friends" | 35 | And I should not see "My friends" |
| 36 | - When I click "#submenu-people-trigger" | 36 | + When I follow "#submenu-people-trigger" |
| 37 | Then I should see "More Recent" | 37 | Then I should see "More Recent" |
| 38 | And I should see "More Active" | 38 | And I should see "More Active" |
| 39 | And I should see "More Popular" | 39 | And I should see "More Popular" |
| 40 | And I should see "Invite friends" | 40 | And I should see "Invite friends" |
| 41 | And I should see "My friends" | 41 | And I should see "My friends" |
| 42 | 42 | ||
| 43 | + @fixme | ||
| 43 | Scenario: Browse people by query | 44 | Scenario: Browse people by query |
| 44 | Given I go to /search/people | 45 | Given I go to /search/people |
| 45 | When I fill in "Silva" for "query" | 46 | When I fill in "Silva" for "query" |
| @@ -50,7 +51,7 @@ Feature: browse | @@ -50,7 +51,7 @@ Feature: browse | ||
| 50 | And I should not see "Community Silva" | 51 | And I should not see "Community Silva" |
| 51 | And I should not see "Community Neto" | 52 | And I should not see "Community Neto" |
| 52 | 53 | ||
| 53 | - @selenium | 54 | + @selenium @fixme |
| 54 | Scenario: Communities browse menu should add logged information | 55 | Scenario: Communities browse menu should add logged information |
| 55 | Given I am logged in as "joaosilva" | 56 | Given I am logged in as "joaosilva" |
| 56 | When I go to /joaosilva | 57 | When I go to /joaosilva |
| @@ -59,23 +60,24 @@ Feature: browse | @@ -59,23 +60,24 @@ Feature: browse | ||
| 59 | And I should not see "More Popular" | 60 | And I should not see "More Popular" |
| 60 | And I should not see "My communities" | 61 | And I should not see "My communities" |
| 61 | And I should not see "New community" | 62 | And I should not see "New community" |
| 62 | - When I click "#submenu-communities-trigger" | 63 | + When I follow "#submenu-communities-trigger" |
| 63 | Then I should see "More Recent" | 64 | Then I should see "More Recent" |
| 64 | And I should see "More Active" | 65 | And I should see "More Active" |
| 65 | And I should see "More Popular" | 66 | And I should see "More Popular" |
| 66 | And I should see "My communities" | 67 | And I should see "My communities" |
| 67 | And I should see "New community" | 68 | And I should see "New community" |
| 68 | 69 | ||
| 69 | - @selenium | 70 | + @selenium @fixme |
| 70 | Scenario: Show communities browse menu | 71 | Scenario: Show communities browse menu |
| 71 | Given I should not see "More Recent" | 72 | Given I should not see "More Recent" |
| 72 | And I should not see "More Active" | 73 | And I should not see "More Active" |
| 73 | And I should not see "More Popular" | 74 | And I should not see "More Popular" |
| 74 | - When I click "#submenu-communities-trigger" | 75 | + When I follow "#submenu-communities-trigger" |
| 75 | Then I should see "More Recent" | 76 | Then I should see "More Recent" |
| 76 | And I should see "More Active" | 77 | And I should see "More Active" |
| 77 | And I should see "More Popular" | 78 | And I should see "More Popular" |
| 78 | 79 | ||
| 80 | + @fixme | ||
| 79 | Scenario: Browse communities by query | 81 | Scenario: Browse communities by query |
| 80 | When I go to /search/communities | 82 | When I go to /search/communities |
| 81 | And I fill in "Neto" for "query" | 83 | And I fill in "Neto" for "query" |
| @@ -86,16 +88,17 @@ Feature: browse | @@ -86,16 +88,17 @@ Feature: browse | ||
| 86 | And I should not see "Paulo Neto" | 88 | And I should not see "Paulo Neto" |
| 87 | And I should not see "Community Silva" | 89 | And I should not see "Community Silva" |
| 88 | 90 | ||
| 89 | - @selenium | 91 | + @selenium @fixme |
| 90 | Scenario: Show contents browse menu | 92 | Scenario: Show contents browse menu |
| 91 | Given I should not see "More Comments" | 93 | Given I should not see "More Comments" |
| 92 | And I should not see "More Views" | 94 | And I should not see "More Views" |
| 93 | And I should not see "More Recent" | 95 | And I should not see "More Recent" |
| 94 | - When I click "#submenu-contents-trigger" | 96 | + When I follow "#submenu-contents-trigger" |
| 95 | Then I should see "More Comments" | 97 | Then I should see "More Comments" |
| 96 | And I should see "More Views" | 98 | And I should see "More Views" |
| 97 | And I should see "More Recent" | 99 | And I should see "More Recent" |
| 98 | 100 | ||
| 101 | + @fixme | ||
| 99 | Scenario: Browse contents by query | 102 | Scenario: Browse contents by query |
| 100 | Given the following articles | 103 | Given the following articles |
| 101 | | owner | name | body | | 104 | | owner | name | body | |