Commit 87043d84929d0f4c76990730805cdd8f95902a3b

Authored by Luciano Prestes
Committed by Gabriela Navarro
1 parent 57c3ba24

Fix selenium autocomplete tests

Signed-off-by: Fabio Teixeira <fabio1079@gmail.com>
Signed-off-by: Luciano Prestes <lucianopcbr@gmail.com>
features/software_catalog.feature
@@ -53,6 +53,7 @@ Feature: Search software @@ -53,6 +53,7 @@ Feature: Search software
53 Scenario: Show software in reverse order by name when "Name Z-A" is selected 53 Scenario: Show software in reverse order by name when "Name Z-A" is selected
54 Given I go to /search/software_infos 54 Given I go to /search/software_infos
55 And I select "Name Z-A" from "sort" 55 And I select "Name Z-A" from "sort"
  56 + And I sleep for 3 seconds
56 Then I should see "Software Two" before "Software One" 57 Then I should see "Software Two" before "Software One"
57 58
58 Scenario: Show softwares with selected category in filter 59 Scenario: Show softwares with selected category in filter
features/software_registration.feature
  1 +A
1 Feature: edit public software information 2 Feature: edit public software information
2 As a user 3 As a user
3 I want to add public software information to a software 4 I want to add public software information to a software
@@ -93,4 +94,4 @@ Feature: edit public software information @@ -93,4 +94,4 @@ Feature: edit public software information
93 And I go to another-software's control panel 94 And I go to another-software's control panel
94 And I follow "Software Info" 95 And I follow "Software Info"
95 And I type in "gp" in autocomplete list "#license_info_version" and I choose "GPL-3" 96 And I type in "gp" in autocomplete list "#license_info_version" and I choose "GPL-3"
96 - Then I should see "Read license" within "#version_link"  
97 \ No newline at end of file 97 \ No newline at end of file
  98 + Then I should see "Read license" within "#version_link"
features/user_profile_edition.feature
@@ -32,9 +32,9 @@ Feature: Institution Field @@ -32,9 +32,9 @@ Feature: Institution Field
32 Scenario: Add more then one instituion on profile editor 32 Scenario: Add more then one instituion on profile editor
33 Given I follow "Edit Profile" 33 Given I follow "Edit Profile"
34 And I follow "Add new institution" 34 And I follow "Add new institution"
35 - And I type in "Minis" into autocomplete list "input_institution" and I choose "Ministerio do Planejamento" 35 + And I type in "Minis" in autocomplete list "input_institution" and I choose "Ministerio do Planejamento"
36 And I follow "Add new institution" 36 And I follow "Add new institution"
37 - And I type in "Gover" into autocomplete list "input_institution" and I choose "Governo do DF" 37 + And I type in "Gover" in autocomplete list "input_institution" and I choose "Governo do DF"
38 And I follow "Add new institution" 38 And I follow "Add new institution"
39 Then I should see "Ministerio do Planejamento" within ".institutions_added" 39 Then I should see "Ministerio do Planejamento" within ".institutions_added"
40 And I should see "Governo do DF" within ".institutions_added" 40 And I should see "Governo do DF" within ".institutions_added"