From 0156a4a9bfc5031f1bcc69317957b24034efbd07 Mon Sep 17 00:00:00 2001 From: Bruno Wagner Date: Mon, 14 Sep 2015 14:54:30 -0300 Subject: Removed unused sleep from the search step --- service/test/functional/features/steps/search.py | 2 -- 1 file changed, 2 deletions(-) (limited to 'service/test/functional') diff --git a/service/test/functional/features/steps/search.py b/service/test/functional/features/steps/search.py index 52cb54a2..879e834d 100644 --- a/service/test/functional/features/steps/search.py +++ b/service/test/functional/features/steps/search.py @@ -13,7 +13,6 @@ # # You should have received a copy of the GNU Affero General Public License # along with Pixelated. If not, see . -from time import sleep from selenium.webdriver import ActionChains from selenium.webdriver.common.keys import Keys @@ -23,7 +22,6 @@ from common import * @when('I search for a mail with the words "{search_term}"') def impl(context, search_term): search_field = find_element_by_css_selector(context, '#search-trigger input[type="search"]') - ActionChains(context.browser)\ .send_keys_to_element(search_field, search_term)\ .send_keys_to_element(search_field, Keys.ENTER)\ -- cgit v1.2.3