summaryrefslogtreecommitdiff
path: root/service/test/functional
diff options
context:
space:
mode:
authorTulio Casagrande <tcasagra@thoughtworks.com>2016-12-08 15:52:34 -0200
committerTulio Casagrande <tcasagra@thoughtworks.com>2016-12-08 15:52:34 -0200
commit8a064f0bb2b611a8bc29012688389e20c443f788 (patch)
treeb7c96f666aa714e1ad9f1ef122ad5b3c7e23d0fb /service/test/functional
parentfafac3b4128a0993b0de1c6e8ca3062bf1ccc14e (diff)
Remove dead code
Diffstat (limited to 'service/test/functional')
-rw-r--r--service/test/functional/features/steps/common.py20
1 files changed, 0 insertions, 20 deletions
diff --git a/service/test/functional/features/steps/common.py b/service/test/functional/features/steps/common.py
index f2cab1a6..f21e9410 100644
--- a/service/test/functional/features/steps/common.py
+++ b/service/test/functional/features/steps/common.py
@@ -23,8 +23,6 @@ from selenium.webdriver.common.by import By
from selenium.webdriver.support import expected_conditions as EC
from selenium.webdriver.support.wait import WebDriverWait
-from test.support.integration import MailBuilder
-
TIMEOUT_IN_S = 20
DEFAULT_IMPLICIT_WAIT_TIMEOUT_IN_S = 10.0
@@ -157,24 +155,6 @@ def mail_list_with_subject_exists(context, subject):
return find_element_by_xpath(context, "//*[@class='mail-list-entry__item-subject' and contains(.,'%s')]" % subject)
-def mail_subject(context):
- e = find_element_by_css_selector(context, '#mail-view .subject')
- return e.text
-
-
def reply_subject(context):
e = find_element_by_css_selector(context, '#reply-subject')
return e.text
-
-
-def get_console_log(context):
- logs = context.browser.get_log('browser')
- for entry in logs:
- msg = entry['message']
- if not (msg.startswith('x off') or msg.startswith('<- on')):
- print(entry['message'])
-
-
-def create_email(context):
- input_mail = MailBuilder().build_input_mail()
- context.single_user_client.add_mail_to_inbox(input_mail)