Commit d6d7f241514c9aa9400b4112870dc0deec23ba16

Authored by Daniela Feitosa
1 parent 3a3b5a92

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,7 +9,7 @@ Feature: search
9 9
10 Scenario: show empty results in all enabled assets 10 Scenario: show empty results in all enabled assets
11 Given I go to the search page 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 And I press "Search" 13 And I press "Search"
14 Then I should see "People" within ".search-results-people" 14 Then I should see "People" within ".search-results-people"
15 And I should see "None" within ".search-results-people" 15 And I should see "None" within ".search-results-people"
@@ -30,7 +30,7 @@ Feature: search @@ -30,7 +30,7 @@ Feature: search
30 | joaosilva | Joao Silva | 30 | joaosilva | Joao Silva |
31 | josearaujo | Jose Araujo | 31 | josearaujo | Jose Araujo |
32 When I go to the search page 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 And I press "Search" 34 And I press "Search"
35 Then I should see "Joao Silva" within ".common-profile-list-block" 35 Then I should see "Joao Silva" within ".common-profile-list-block"
36 And I should not see "Jose Araujo" 36 And I should not see "Jose Araujo"
@@ -51,7 +51,7 @@ Feature: search @@ -51,7 +51,7 @@ Feature: search
51 | joaosilva | article #8 | 51 | joaosilva | article #8 |
52 | joaosilva | article #9 | 52 | joaosilva | article #9 |
53 When I go to the search page 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 And I press "Search" 55 And I press "Search"
56 Then I should see "article #8" within ".search-results-articles" 56 Then I should see "article #8" within ".search-results-articles"
57 And I should not see "article #9" within ".search-results-articles" 57 And I should not see "article #9" within ".search-results-articles"
@@ -65,7 +65,7 @@ Feature: search @@ -65,7 +65,7 @@ Feature: search
65 | boring-community | Boring community | semterrinha | 65 | boring-community | Boring community | semterrinha |
66 | fancy-community | Fancy community | agrotox | 66 | fancy-community | Fancy community | agrotox |
67 And I go to the search page 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 And I press "Search" 69 And I press "Search"
70 Then I should see "Fancy community" within ".common-profile-list-block" 70 Then I should see "Fancy community" within ".common-profile-list-block"
71 And I should not see "Boring community" 71 And I should not see "Boring community"
@@ -76,7 +76,7 @@ Feature: search @@ -76,7 +76,7 @@ Feature: search
76 | shop1 | Shoes shop | 76 | shop1 | Shoes shop |
77 | shop2 | Fruits shop | 77 | shop2 | Fruits shop |
78 And I go to the search page 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 And I press "Search" 80 And I press "Search"
81 Then I should see "Shoes shop" within ".common-profile-list-block" 81 Then I should see "Shoes shop" within ".common-profile-list-block"
82 And I should not see "Fruits shop" 82 And I should not see "Fruits shop"
@@ -90,7 +90,7 @@ Feature: search @@ -90,7 +90,7 @@ Feature: search
90 | joaosilva | bees and butterflies | this is an article about bees and butterflies | 90 | joaosilva | bees and butterflies | this is an article about bees and butterflies |
91 | joaosilva | whales and dolphins | this is an article about whales and dolphins | 91 | joaosilva | whales and dolphins | this is an article about whales and dolphins |
92 When I go to the search page 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 And I press "Search" 94 And I press "Search"
95 Then I should see "whales and dolphins" within "div.search-results-articles" 95 Then I should see "whales and dolphins" within "div.search-results-articles"
96 And I should not see "bees and butterflies" 96 And I should not see "bees and butterflies"
@@ -107,7 +107,7 @@ Feature: search @@ -107,7 +107,7 @@ Feature: search
107 | colivre-ent | development | social networks consultancy | 107 | colivre-ent | development | social networks consultancy |
108 | colivre-ent | development | wikis consultancy | 108 | colivre-ent | development | wikis consultancy |
109 When I go to the search page 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 And I press "Search" 111 And I press "Search"
112 Then I should see "wikis consultancy" within "div.search-results-products" 112 Then I should see "wikis consultancy" within "div.search-results-products"
113 And I should not see "social networks consultancy" 113 And I should not see "social networks consultancy"
@@ -121,7 +121,7 @@ Feature: search @@ -121,7 +121,7 @@ Feature: search
121 | nice-people | Group meeting | 2009-10-01 | 121 | nice-people | Group meeting | 2009-10-01 |
122 | nice-people | John Doe's birthday | 2009-09-01 | 122 | nice-people | John Doe's birthday | 2009-09-01 |
123 When I go to the search page 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 And I press "Search" 125 And I press "Search"
126 Then I should see "John Doe's birthday" within "div.search-results-events" 126 Then I should see "John Doe's birthday" within "div.search-results-events"
127 And I should not see "Group meeting" 127 And I should not see "Group meeting"
@@ -140,7 +140,7 @@ Feature: search @@ -140,7 +140,7 @@ Feature: search
140 | owner | name | category | 140 | owner | name | category |
141 | colivre_dev | Noosfero platform | Development | 141 | colivre_dev | Noosfero platform | Development |
142 When I go to the search page 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 And I press "Search" 144 And I press "Search"
145 Then I should see "Colivre - Noosfero dev." within "div.search-results-enterprises" 145 Then I should see "Colivre - Noosfero dev." within "div.search-results-enterprises"
146 And I should see "Noosfero users" within "div.search-results-communities" 146 And I should see "Noosfero users" within "div.search-results-communities"