diff options
author | Tiago Ferraz <tiago.ferraz@gmail.com> | 2015-03-26 12:46:13 -0300 |
---|---|---|
committer | Tiago Ferraz <tiago.ferraz@gmail.com> | 2015-03-26 12:46:13 -0300 |
commit | c4a0d941b34f9ff0cb03089b185f343a72d8f891 (patch) | |
tree | b1c7802b7e257b714d0128eed60ee5d857c654db /service/test/functional/features | |
parent | c48afcf4fc1a73e8308c90aa6a063c2b0dab6765 (diff) |
Fixing small error on def function
Diffstat (limited to 'service/test/functional/features')
-rw-r--r-- | service/test/functional/features/steps/mail_list.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/service/test/functional/features/steps/mail_list.py b/service/test/functional/features/steps/mail_list.py index cd41d3db..cbd03c67 100644 --- a/service/test/functional/features/steps/mail_list.py +++ b/service/test/functional/features/steps/mail_list.py @@ -98,7 +98,7 @@ def impl(context): @when('I delete the email') def impl(context): def last_email(): - wait_until_elements_are_visible_by_locator(context, (By.XPATH, '//*[@id="mail-list"]//li'))[0] + return wait_until_elements_are_visible_by_locator(context, (By.XPATH, '//*[@id="mail-list"]//li'))[0] 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() |