Commit dc69f1099f4736ead72fbceb9984a8df413648e5
1 parent
386935b0
Exists in
master
and in
29 other branches
Fixed test: features/profile_search.feature
Showing
1 changed file
with
5 additions
and
5 deletions
Show diff stats
features/profile_search.feature
| ... | ... | @@ -14,7 +14,7 @@ Feature: search inside a profile |
| 14 | 14 | | joaosilva | whales and dolphins | this is an article about whales and dolphins | |
| 15 | 15 | |
| 16 | 16 | Scenario: search on profile |
| 17 | - Given I go to Joao Silva's profile | |
| 17 | + Given I go to joaosilva's profile | |
| 18 | 18 | And I fill in "q" with "bees" |
| 19 | 19 | And I press "Search" |
| 20 | 20 | Then I should see "bees and butterflies" within ".main-block" |
| ... | ... | @@ -25,7 +25,7 @@ Feature: search inside a profile |
| 25 | 25 | | owner | name | start_date | |
| 26 | 26 | | joaosilva | Group meeting | 2009-10-01 | |
| 27 | 27 | | joaosilva | John Doe's birthday | 2009-09-01 | |
| 28 | - When I go to Joao Silva's profile | |
| 28 | + When I go to joaosilva's profile | |
| 29 | 29 | And I fill in "q" with "birthday" |
| 30 | 30 | And I press "Search" |
| 31 | 31 | Then I should see "John Doe's birthday" within ".main-block" |
| ... | ... | @@ -35,7 +35,7 @@ Feature: search inside a profile |
| 35 | 35 | Given the following blocks |
| 36 | 36 | | owner | type | |
| 37 | 37 | | joaosilva | ProfileSearchBlock | |
| 38 | - When I go to Joao Silva's profile | |
| 38 | + When I go to joaosilva's profile | |
| 39 | 39 | And I fill in "q" with "bees" within ".profile-search-block" |
| 40 | 40 | And I press "Search" |
| 41 | 41 | Then I should see "bees and butterflies" within ".main-block" |
| ... | ... | @@ -45,14 +45,14 @@ Feature: search inside a profile |
| 45 | 45 | | owner | name | body | published | |
| 46 | 46 | | joaosilva | published article | this is a public article | true | |
| 47 | 47 | | joaosilva | unpublished article | this is a private article | false | |
| 48 | - And I go to Joao Silva's profile | |
| 48 | + And I go to joaosilva's profile | |
| 49 | 49 | And I fill in "q" with "article" |
| 50 | 50 | And I press "Search" |
| 51 | 51 | Then I should see "public article" within ".main-block" |
| 52 | 52 | And I should not see "private article" within ".main-block" |
| 53 | 53 | |
| 54 | 54 | Scenario: search on environment |
| 55 | - Given I go to Joao Silva's profile | |
| 55 | + Given I go to joaosilva's profile | |
| 56 | 56 | And I fill in "q" with "bees" |
| 57 | 57 | And I choose "General" |
| 58 | 58 | And I press "Search" | ... | ... |