diff options
author | NavaL <mnandri@thoughtworks.com> | 2015-12-29 22:21:41 +0100 |
---|---|---|
committer | NavaL <mnandri@thoughtworks.com> | 2015-12-29 22:22:41 +0100 |
commit | 89178d6d63855360126ac6a1392225f5efbaf02b (patch) | |
tree | aa7d3fb96b275bae4a8ecf0ca7d5bb53c91d38ac /service/test/functional/features/steps | |
parent | 22ab584f81b598e1aa61ae86b27b08459b589b16 (diff) |
adding a step to toggle cc and bcc fields when forwarding emails -- fixing functional test
Issue #563
Diffstat (limited to 'service/test/functional/features/steps')
-rw-r--r-- | service/test/functional/features/steps/compose.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/service/test/functional/features/steps/compose.py b/service/test/functional/features/steps/compose.py index b73521ed..f0bed86e 100644 --- a/service/test/functional/features/steps/compose.py +++ b/service/test/functional/features/steps/compose.py @@ -48,6 +48,12 @@ def send_impl(context): send_button.click() +@when(u'I toggle the cc and bcc fields') +def collapse_cc_bcc_fields(context): + cc_and_bcc_chevron = wait_until_element_is_visible_by_locator(context, (By.CSS_SELECTOR, '#cc-bcc-collapse')) + cc_and_bcc_chevron.click() + + def _enter_recipient(context, recipients_field, to_type): recipients_field = recipients_field.lower() browser = context.browser |