diff options
author | Bruno Wagner <bwagner@riseup.net> | 2015-09-14 14:54:30 -0300 |
---|---|---|
committer | Bruno Wagner <bwagner@riseup.net> | 2015-09-14 14:54:30 -0300 |
commit | 0156a4a9bfc5031f1bcc69317957b24034efbd07 (patch) | |
tree | d08994c5cd7730a10454b75305f5f2ce90dafdd1 /service/test/functional | |
parent | c0f48d7d0bb1a62346d2f7fec5d1dc814a6a52c7 (diff) |
Removed unused sleep from the search step
Diffstat (limited to 'service/test/functional')
-rw-r--r-- | service/test/functional/features/steps/search.py | 2 |
1 files changed, 0 insertions, 2 deletions
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 <http://www.gnu.org/licenses/>. -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)\ |