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