summaryrefslogtreecommitdiff
path: root/service
diff options
context:
space:
mode:
authorGiovane Liberato <giovaneliberato@gmail.com>2015-11-13 16:07:39 -0200
committerGiovane Liberato <giovaneliberato@gmail.com>2015-11-13 16:07:39 -0200
commitc915f6b744769cd87cc284fb0d7d89bc51ae62df (patch)
treedef0ffb3c12e61412da9eff8063f83ef2c002def /service
parentb7ff48dca546c97f78fb98ca83afd6c9684f2612 (diff)
parentde1e3408cc7d8a4beff703944c3659aeb9032fd2 (diff)
Merge pull request #521 from rdoh/remove_save_draft_button
merge "remove save draft button, related css and js"
Diffstat (limited to 'service')
-rw-r--r--service/test/functional/features/compose_save_draft_and_send.feature1
-rw-r--r--service/test/functional/features/steps/compose.py5
-rw-r--r--service/test/functional/features/steps/mail_view.py1
3 files changed, 0 insertions, 7 deletions
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')