Commit 3a3b5a92a1f2fb2040f6b64d84a1578403afcbac

Authored by Daniela Feitosa
1 parent 43d5b90a

Fixed test: features/search_people.feature

Showing 1 changed file with 7 additions and 7 deletions   Show diff stats
features/search_people.feature
@@ -17,7 +17,7 @@ Feature: search people @@ -17,7 +17,7 @@ Feature: search people
17 17
18 Scenario: simple search for person 18 Scenario: simple search for person
19 When I go to the search people page 19 When I go to the search people page
20 - And I fill in "query" with "Silva" 20 + And I fill in "search-input" with "Silva"
21 And I press "Search" 21 And I press "Search"
22 Then I should see "Joao Silva" within "#search-results" 22 Then I should see "Joao Silva" within "#search-results"
23 And I should see "Joao Silva" within ".only-one-result-box" 23 And I should see "Joao Silva" within ".only-one-result-box"
@@ -32,7 +32,7 @@ Feature: search people @@ -32,7 +32,7 @@ Feature: search people
32 | name | 32 | name |
33 | Temáticas | 33 | Temáticas |
34 When I go to the search people page 34 When I go to the search people page
35 - And I fill in "query" with "joao" 35 + And I fill in "search-input" with "joao"
36 And I press "Search" 36 And I press "Search"
37 Then I should see "Temáticas" within "#facets-menu" 37 Then I should see "Temáticas" within "#facets-menu"
38 38
@@ -44,7 +44,7 @@ Feature: search people @@ -44,7 +44,7 @@ Feature: search people
44 | login | name | category | 44 | login | name | category |
45 | linus | Linus Torvalds | software-livre | 45 | linus | Linus Torvalds | software-livre |
46 When I go to the search people page 46 When I go to the search people page
47 - And I fill in "query" with "software livre" 47 + And I fill in "search-input" with "software livre"
48 And I press "Search" 48 And I press "Search"
49 Then I should see "Linus Torvalds" within "#search-results" 49 Then I should see "Linus Torvalds" within "#search-results"
50 And I should not see "Joao Silva" 50 And I should not see "Joao Silva"
@@ -55,7 +55,7 @@ Feature: search people @@ -55,7 +55,7 @@ Feature: search people
55 | login | name | 55 | login | name |
56 | jsilva | Joao Adalberto de Oliveira Silva | 56 | jsilva | Joao Adalberto de Oliveira Silva |
57 When I go to the search people page 57 When I go to the search people page
58 - And I fill in "query" with "Adalberto Silva" 58 + And I fill in "search-input" with "Adalberto Silva"
59 And I press "Search" 59 And I press "Search"
60 Then I should see "Joao Adalberto de Oliveira Silva" within "#search-results" 60 Then I should see "Joao Adalberto de Oliveira Silva" within "#search-results"
61 61
@@ -71,7 +71,7 @@ Feature: search people @@ -71,7 +71,7 @@ Feature: search people
71 | linus | Linus Torvalds | software-livre | 71 | linus | Linus Torvalds | software-livre |
72 | other | Other Linus | | 72 | other | Other Linus | |
73 When I go to the search people page 73 When I go to the search people page
74 - And I fill in "query" with "Linus" 74 + And I fill in "search-input" with "Linus"
75 And I press "Search" 75 And I press "Search"
76 And I follow "Software Livre" within "#facets-menu" 76 And I follow "Software Livre" within "#facets-menu"
77 Then I should see "Linus Torvalds" within "#search-results" 77 Then I should see "Linus Torvalds" within "#search-results"
@@ -93,10 +93,10 @@ Feature: search people @@ -93,10 +93,10 @@ Feature: search people
93 | rilin | Richard Linus | | 93 | rilin | Richard Linus | |
94 | stall | Richard Stallman | software-livre | 94 | stall | Richard Stallman | software-livre |
95 When I go to the search people page 95 When I go to the search people page
96 - And I fill in "query" with "Linus" 96 + And I fill in "search-input" with "Linus"
97 And I press "Search" 97 And I press "Search"
98 And I follow "Software Livre" within "#facets-menu" 98 And I follow "Software Livre" within "#facets-menu"
99 - And I fill in "query" with "Richard" 99 + And I fill in "search-input" with "Richard"
100 And I press "Search" 100 And I press "Search"
101 Then I should see "Richard Stallman" within "#search-results" 101 Then I should see "Richard Stallman" within "#search-results"
102 And I should not see "Richard Linus" 102 And I should not see "Richard Linus"