From 87043d84929d0f4c76990730805cdd8f95902a3b Mon Sep 17 00:00:00 2001 From: Luciano Prestes Cavalcanti Date: Tue, 10 Feb 2015 16:24:32 -0200 Subject: [PATCH] Fix selenium autocomplete tests --- features/software_catalog.feature | 1 + features/software_registration.feature | 3 ++- features/user_profile_edition.feature | 4 ++-- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/features/software_catalog.feature b/features/software_catalog.feature index 373d15c..434ed77 100644 --- a/features/software_catalog.feature +++ b/features/software_catalog.feature @@ -53,6 +53,7 @@ Feature: Search software Scenario: Show software in reverse order by name when "Name Z-A" is selected Given I go to /search/software_infos And I select "Name Z-A" from "sort" + And I sleep for 3 seconds Then I should see "Software Two" before "Software One" Scenario: Show softwares with selected category in filter diff --git a/features/software_registration.feature b/features/software_registration.feature index 8499143..7351a24 100644 --- a/features/software_registration.feature +++ b/features/software_registration.feature @@ -1,3 +1,4 @@ +A Feature: edit public software information As a user I want to add public software information to a software @@ -93,4 +94,4 @@ Feature: edit public software information And I go to another-software's control panel And I follow "Software Info" And I type in "gp" in autocomplete list "#license_info_version" and I choose "GPL-3" - Then I should see "Read license" within "#version_link" \ No newline at end of file + Then I should see "Read license" within "#version_link" diff --git a/features/user_profile_edition.feature b/features/user_profile_edition.feature index df6b328..d2cf7b1 100644 --- a/features/user_profile_edition.feature +++ b/features/user_profile_edition.feature @@ -32,9 +32,9 @@ Feature: Institution Field Scenario: Add more then one instituion on profile editor Given I follow "Edit Profile" And I follow "Add new institution" - And I type in "Minis" into autocomplete list "input_institution" and I choose "Ministerio do Planejamento" + And I type in "Minis" in autocomplete list "input_institution" and I choose "Ministerio do Planejamento" And I follow "Add new institution" - And I type in "Gover" into autocomplete list "input_institution" and I choose "Governo do DF" + And I type in "Gover" in autocomplete list "input_institution" and I choose "Governo do DF" And I follow "Add new institution" Then I should see "Ministerio do Planejamento" within ".institutions_added" And I should see "Governo do DF" within ".institutions_added" -- libgit2 0.21.2