summaryrefslogtreecommitdiff
path: root/fake-service/features/steps/mail_view.py
diff options
context:
space:
mode:
authorVictor Shyba <victor.shyba@gmail.com>2014-10-03 16:56:04 -0300
committerVictor Shyba <victor.shyba@gmail.com>2014-10-03 16:56:04 -0300
commit21526245682b7c3b8ec66751bceb8ce039aa4450 (patch)
tree75ee182a48255fe36c093a2eb48914b6f24dbae3 /fake-service/features/steps/mail_view.py
parentd57e4993ece29da34c370a96732c820798c5048b (diff)
No more archive dialog, updating functional tests #53
Diffstat (limited to 'fake-service/features/steps/mail_view.py')
-rw-r--r--fake-service/features/steps/mail_view.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/fake-service/features/steps/mail_view.py b/fake-service/features/steps/mail_view.py
index 96208acc..089f9bd4 100644
--- a/fake-service/features/steps/mail_view.py
+++ b/fake-service/features/steps/mail_view.py
@@ -84,8 +84,8 @@ def impl(context):
@then('I choose to trash')
def impl(context):
- wait_until_button_is_visible(context, 'Trash message')
- click_button(context, 'Trash message')
+ context.browser.execute_script("$('button#view-more-actions').click()")
+ click_button(context, 'Trash this message', 'span')
@then('I see the mail has a cc and a bcc recipient')
def impl(context):