Commit 3a3b5a92a1f2fb2040f6b64d84a1578403afcbac
1 parent
43d5b90a
Exists in
master
and in
28 other branches
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 | 17 | |
18 | 18 | Scenario: simple search for person |
19 | 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 | 21 | And I press "Search" |
22 | 22 | Then I should see "Joao Silva" within "#search-results" |
23 | 23 | And I should see "Joao Silva" within ".only-one-result-box" |
... | ... | @@ -32,7 +32,7 @@ Feature: search people |
32 | 32 | | name | |
33 | 33 | | Temáticas | |
34 | 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 | 36 | And I press "Search" |
37 | 37 | Then I should see "Temáticas" within "#facets-menu" |
38 | 38 | |
... | ... | @@ -44,7 +44,7 @@ Feature: search people |
44 | 44 | | login | name | category | |
45 | 45 | | linus | Linus Torvalds | software-livre | |
46 | 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 | 48 | And I press "Search" |
49 | 49 | Then I should see "Linus Torvalds" within "#search-results" |
50 | 50 | And I should not see "Joao Silva" |
... | ... | @@ -55,7 +55,7 @@ Feature: search people |
55 | 55 | | login | name | |
56 | 56 | | jsilva | Joao Adalberto de Oliveira Silva | |
57 | 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 | 59 | And I press "Search" |
60 | 60 | Then I should see "Joao Adalberto de Oliveira Silva" within "#search-results" |
61 | 61 | |
... | ... | @@ -71,7 +71,7 @@ Feature: search people |
71 | 71 | | linus | Linus Torvalds | software-livre | |
72 | 72 | | other | Other Linus | | |
73 | 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 | 75 | And I press "Search" |
76 | 76 | And I follow "Software Livre" within "#facets-menu" |
77 | 77 | Then I should see "Linus Torvalds" within "#search-results" |
... | ... | @@ -93,10 +93,10 @@ Feature: search people |
93 | 93 | | rilin | Richard Linus | | |
94 | 94 | | stall | Richard Stallman | software-livre | |
95 | 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 | 97 | And I press "Search" |
98 | 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 | 100 | And I press "Search" |
101 | 101 | Then I should see "Richard Stallman" within "#search-results" |
102 | 102 | And I should not see "Richard Linus" | ... | ... |