summaryrefslogtreecommitdiff
path: root/service/test/functional/features/steps
diff options
context:
space:
mode:
authorkaeff <hi@kaeff.net>2015-09-07 16:53:04 +0200
committerkaeff <hi@kaeff.net>2015-09-07 16:54:57 +0200
commit0e42b6d9220b33d7d1a42aa7901d45c573c53ce3 (patch)
treedd786d01c7531f1400abd71ded0ee1576b9b1c45 /service/test/functional/features/steps
parent9fb72d4deb4207e1b4569f55f5344e5d7ef9e2eb (diff)
Attempt to reduce flakiness of checkboxes.feature
Diffstat (limited to 'service/test/functional/features/steps')
-rw-r--r--service/test/functional/features/steps/common.py5
-rw-r--r--service/test/functional/features/steps/mail_list.py1
2 files changed, 0 insertions, 6 deletions
diff --git a/service/test/functional/features/steps/common.py b/service/test/functional/features/steps/common.py
index af801902..863fb6ca 100644
--- a/service/test/functional/features/steps/common.py
+++ b/service/test/functional/features/steps/common.py
@@ -45,11 +45,6 @@ def wait_for_user_alert_to_disapear(context, timeout=TIMEOUT_IN_S):
wait_until_element_is_invisible_by_locator(context, (By.ID, 'user-alerts'), timeout)
-def wait_for_user_alert_to_appear_and_disapear(context, timeout=TIMEOUT_IN_S):
- wait_until_element_is_visible_by_locator(context, (By.ID, LOADING), timeout)
- wait_until_element_is_invisible_by_locator(context, (By.ID, LOADING), timeout)
-
-
def wait_until_elements_are_visible_by_locator(context, locator_tuple, timeout=TIMEOUT_IN_S):
spend_time_in_reactor()
wait = WebDriverWait(context.browser, timeout)
diff --git a/service/test/functional/features/steps/mail_list.py b/service/test/functional/features/steps/mail_list.py
index ff7acaf4..9b7bdb4a 100644
--- a/service/test/functional/features/steps/mail_list.py
+++ b/service/test/functional/features/steps/mail_list.py
@@ -102,7 +102,6 @@ def impl(context):
context.current_mail_id = last_email().get_attribute('id')
last_email().find_element_by_tag_name('input').click()
find_element_by_id(context, 'delete-selected').click()
- wait_for_user_alert_to_appear_and_disapear(context)
wait_for_user_alert_to_disapear(context)
spend_time_in_reactor()
assert 0 == len(context.browser.find_element_by_id('mail-list').find_elements_by_tag_name('li'))