summaryrefslogtreecommitdiff
path: root/service/test/functional/features/steps/mail_list.py
diff options
context:
space:
mode:
Diffstat (limited to 'service/test/functional/features/steps/mail_list.py')
-rw-r--r--service/test/functional/features/steps/mail_list.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/service/test/functional/features/steps/mail_list.py b/service/test/functional/features/steps/mail_list.py
index d467e7ac..b1ae8d22 100644
--- a/service/test/functional/features/steps/mail_list.py
+++ b/service/test/functional/features/steps/mail_list.py
@@ -40,16 +40,17 @@ def impl(context, tag):
@when('I open that mail')
def impl(context):
- # open_current_mail(context)
sleep(3)
find_current_mail(context).click()
@when('I open the first mail in the mail list')
def impl(context):
+ import pdb;pdb.set_trace()
first_email = wait_until_elements_are_visible_by_locator(context, (By.XPATH, '//*[@id="mail-list"]//a'))[0]
context.current_mail_id = 'mail-' + first_email.get_attribute('href').split('/')[-1]
first_email.click()
+ sleep(5)
@when('I open the first mail in the \'{tag}\'')