diff options
Diffstat (limited to 'service/test/functional')
-rw-r--r-- | service/test/functional/features/forward_trash_archive.feature | 1 | ||||
-rw-r--r-- | service/test/functional/features/steps/compose.py | 6 |
2 files changed, 7 insertions, 0 deletions
diff --git a/service/test/functional/features/forward_trash_archive.feature b/service/test/functional/features/forward_trash_archive.feature index 1d373b88..1daf6934 100644 --- a/service/test/functional/features/forward_trash_archive.feature +++ b/service/test/functional/features/forward_trash_archive.feature @@ -23,6 +23,7 @@ Feature: forward and deletion Given I have a mail in my inbox When I open the first mail in the 'inbox' And I choose to forward this mail + And I toggle the cc and bcc fields When for the 'CC' field I enter 'pixelated@friends.org' And for the 'Bcc' field I enter 'pixelated@family.org' And I forward this mail 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 |