From 76efb47c91a6add0369e699e935bcf048ab9e3b0 Mon Sep 17 00:00:00 2001 From: Tulio Casagrande Date: Tue, 6 Dec 2016 09:39:14 -0200 Subject: Remove sleep time when waiting for interstitial See: https://github.com/pixelated/project-issues/issues/381 --- service/test/functional/features/steps/login.py | 6 ------ 1 file changed, 6 deletions(-) (limited to 'service/test/functional/features/steps/login.py') diff --git a/service/test/functional/features/steps/login.py b/service/test/functional/features/steps/login.py index b5e88608..6ee521e9 100644 --- a/service/test/functional/features/steps/login.py +++ b/service/test/functional/features/steps/login.py @@ -13,7 +13,6 @@ # # You should have received a copy of the GNU Affero General Public License # along with Pixelated. If not, see . -import time from behave import given, when, then @@ -42,11 +41,6 @@ def click_login(context): @then(u'I should see the fancy interstitial') def step_impl(context): find_element_by_css_selector(context, 'section#hive-section') - _wait_for_interstitial_to_reload() - - -def _wait_for_interstitial_to_reload(): - time.sleep(10) @when(u'I logout') -- cgit v1.2.3