From 89178d6d63855360126ac6a1392225f5efbaf02b Mon Sep 17 00:00:00 2001 From: NavaL Date: Tue, 29 Dec 2015 22:21:41 +0100 Subject: adding a step to toggle cc and bcc fields when forwarding emails -- fixing functional test Issue #563 --- service/test/functional/features/steps/compose.py | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'service/test/functional/features/steps') 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 -- cgit v1.2.3