Commit d6d7f241514c9aa9400b4112870dc0deec23ba16
1 parent
3a3b5a92
Exists in
master
and in
23 other branches
Fixed test: features/search.feature
Showing
1 changed file
with
9 additions
and
9 deletions
Show diff stats
features/search.feature
| ... | ... | @@ -9,7 +9,7 @@ Feature: search |
| 9 | 9 | |
| 10 | 10 | Scenario: show empty results in all enabled assets |
| 11 | 11 | Given I go to the search page |
| 12 | - And I fill in "query" with "Anything" | |
| 12 | + And I fill in "search-input" with "Anything" | |
| 13 | 13 | And I press "Search" |
| 14 | 14 | Then I should see "People" within ".search-results-people" |
| 15 | 15 | And I should see "None" within ".search-results-people" |
| ... | ... | @@ -30,7 +30,7 @@ Feature: search |
| 30 | 30 | | joaosilva | Joao Silva | |
| 31 | 31 | | josearaujo | Jose Araujo | |
| 32 | 32 | When I go to the search page |
| 33 | - And I fill in "query" with "Silva" | |
| 33 | + And I fill in "search-input" with "Silva" | |
| 34 | 34 | And I press "Search" |
| 35 | 35 | Then I should see "Joao Silva" within ".common-profile-list-block" |
| 36 | 36 | And I should not see "Jose Araujo" |
| ... | ... | @@ -51,7 +51,7 @@ Feature: search |
| 51 | 51 | | joaosilva | article #8 | |
| 52 | 52 | | joaosilva | article #9 | |
| 53 | 53 | When I go to the search page |
| 54 | - And I fill in "query" with "article" | |
| 54 | + And I fill in "search-input" with "article" | |
| 55 | 55 | And I press "Search" |
| 56 | 56 | Then I should see "article #8" within ".search-results-articles" |
| 57 | 57 | And I should not see "article #9" within ".search-results-articles" |
| ... | ... | @@ -65,7 +65,7 @@ Feature: search |
| 65 | 65 | | boring-community | Boring community | semterrinha | |
| 66 | 66 | | fancy-community | Fancy community | agrotox | |
| 67 | 67 | And I go to the search page |
| 68 | - And I fill in "query" with "fancy" | |
| 68 | + And I fill in "search-input" with "fancy" | |
| 69 | 69 | And I press "Search" |
| 70 | 70 | Then I should see "Fancy community" within ".common-profile-list-block" |
| 71 | 71 | And I should not see "Boring community" |
| ... | ... | @@ -76,7 +76,7 @@ Feature: search |
| 76 | 76 | | shop1 | Shoes shop | |
| 77 | 77 | | shop2 | Fruits shop | |
| 78 | 78 | And I go to the search page |
| 79 | - And I fill in "query" with "shoes" | |
| 79 | + And I fill in "search-input" with "shoes" | |
| 80 | 80 | And I press "Search" |
| 81 | 81 | Then I should see "Shoes shop" within ".common-profile-list-block" |
| 82 | 82 | And I should not see "Fruits shop" |
| ... | ... | @@ -90,7 +90,7 @@ Feature: search |
| 90 | 90 | | joaosilva | bees and butterflies | this is an article about bees and butterflies | |
| 91 | 91 | | joaosilva | whales and dolphins | this is an article about whales and dolphins | |
| 92 | 92 | When I go to the search page |
| 93 | - And I fill in "query" with "whales" | |
| 93 | + And I fill in "search-input" with "whales" | |
| 94 | 94 | And I press "Search" |
| 95 | 95 | Then I should see "whales and dolphins" within "div.search-results-articles" |
| 96 | 96 | And I should not see "bees and butterflies" |
| ... | ... | @@ -107,7 +107,7 @@ Feature: search |
| 107 | 107 | | colivre-ent | development | social networks consultancy | |
| 108 | 108 | | colivre-ent | development | wikis consultancy | |
| 109 | 109 | When I go to the search page |
| 110 | - And I fill in "query" with "wikis" | |
| 110 | + And I fill in "search-input" with "wikis" | |
| 111 | 111 | And I press "Search" |
| 112 | 112 | Then I should see "wikis consultancy" within "div.search-results-products" |
| 113 | 113 | And I should not see "social networks consultancy" |
| ... | ... | @@ -121,7 +121,7 @@ Feature: search |
| 121 | 121 | | nice-people | Group meeting | 2009-10-01 | |
| 122 | 122 | | nice-people | John Doe's birthday | 2009-09-01 | |
| 123 | 123 | When I go to the search page |
| 124 | - And I fill in "query" with "birthday" | |
| 124 | + And I fill in "search-input" with "birthday" | |
| 125 | 125 | And I press "Search" |
| 126 | 126 | Then I should see "John Doe's birthday" within "div.search-results-events" |
| 127 | 127 | And I should not see "Group meeting" |
| ... | ... | @@ -140,7 +140,7 @@ Feature: search |
| 140 | 140 | | owner | name | category | |
| 141 | 141 | | colivre_dev | Noosfero platform | Development | |
| 142 | 142 | When I go to the search page |
| 143 | - And I fill in "query" with "noosfero" | |
| 143 | + And I fill in "search-input" with "noosfero" | |
| 144 | 144 | And I press "Search" |
| 145 | 145 | Then I should see "Colivre - Noosfero dev." within "div.search-results-enterprises" |
| 146 | 146 | And I should see "Noosfero users" within "div.search-results-communities" | ... | ... |