summaryrefslogtreecommitdiff
path: root/service/test/functional
diff options
context:
space:
mode:
authorRobin Doherty <rdoherty@gmail.com>2015-11-12 20:25:53 +1100
committerRobin Doherty <rdoherty@gmail.com>2015-11-12 20:37:26 +1100
commitde1e3408cc7d8a4beff703944c3659aeb9032fd2 (patch)
tree27c7566e935c8b3fff85a71f5a3f916ebd8c8c12 /service/test/functional
parent3ef5fb5dd004edcf23d55b2533c37ffafec828f4 (diff)
remove save draft button, related css and js
Diffstat (limited to 'service/test/functional')
-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')