summaryrefslogtreecommitdiff
path: root/service/test/functional/features/steps
diff options
context:
space:
mode:
Diffstat (limited to 'service/test/functional/features/steps')
-rw-r--r--service/test/functional/features/steps/mail_list.py3
-rw-r--r--service/test/functional/features/steps/mail_view.py1
2 files changed, 3 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}\'')
diff --git a/service/test/functional/features/steps/mail_view.py b/service/test/functional/features/steps/mail_view.py
index 7a7c34b8..7e6f36cd 100644
--- a/service/test/functional/features/steps/mail_view.py
+++ b/service/test/functional/features/steps/mail_view.py
@@ -19,6 +19,7 @@ from common import *
@then('I see that the subject reads \'{subject}\'')
def impl(context, subject):
+ import pdb; pdb.set_trace()
e = find_element_by_css_selector(context, '#mail-view .subject')
assert e.text == subject