From de1e3408cc7d8a4beff703944c3659aeb9032fd2 Mon Sep 17 00:00:00 2001 From: Robin Doherty Date: Thu, 12 Nov 2015 20:25:53 +1100 Subject: remove save draft button, related css and js --- service/test/functional/features/compose_save_draft_and_send.feature | 1 - service/test/functional/features/steps/compose.py | 5 ----- service/test/functional/features/steps/mail_view.py | 1 - 3 files changed, 7 deletions(-) (limited to 'service/test') diff --git a/service/test/functional/features/compose_save_draft_and_send.feature b/service/test/functional/features/compose_save_draft_and_send.feature index 1a886d14..6c7f31c3 100644 --- a/service/test/functional/features/compose_save_draft_and_send.feature +++ b/service/test/functional/features/compose_save_draft_and_send.feature @@ -24,7 +24,6 @@ Feature: compose mail, save draft and send mail | subject | body | | Pixelated rocks! | You should definitely use it. Cheers, User. | And for the 'To' field I enter 'pixelated@friends.org' - And I save the draft When I select the tag 'drafts' When I open the first mail in the mail list And I send it diff --git a/service/test/functional/features/steps/compose.py b/service/test/functional/features/steps/compose.py index e93468a2..b73521ed 100644 --- a/service/test/functional/features/steps/compose.py +++ b/service/test/functional/features/steps/compose.py @@ -42,11 +42,6 @@ def choose_impl(context, recipients_field, to_type): find_element_by_css_selector(context, '.tt-dropdown-menu div div').click() -@when('I save the draft') -def save_impl(context): - context.browser.find_element_by_id('draft-button').click() - - @when('I send it') def send_impl(context): send_button = wait_until_element_is_visible_by_locator(context, (By.CSS_SELECTOR, '#send-button:enabled')) diff --git a/service/test/functional/features/steps/mail_view.py b/service/test/functional/features/steps/mail_view.py index 7a44f62d..82fc28af 100644 --- a/service/test/functional/features/steps/mail_view.py +++ b/service/test/functional/features/steps/mail_view.py @@ -81,7 +81,6 @@ def impl(context): @when('I forward this mail') def impl(context): - context.execute_steps(u'When I save the draft') # FIXME: this won't be necessary after #89 is done wait_until_button_is_visible(context, 'Send') click_button(context, 'Send') -- cgit v1.2.3