summaryrefslogtreecommitdiff
path: root/service/test/functional/features/steps/backup_account.py
diff options
context:
space:
mode:
Diffstat (limited to 'service/test/functional/features/steps/backup_account.py')
-rw-r--r--service/test/functional/features/steps/backup_account.py11
1 files changed, 6 insertions, 5 deletions
diff --git a/service/test/functional/features/steps/backup_account.py b/service/test/functional/features/steps/backup_account.py
index 916198f6..56d30211 100644
--- a/service/test/functional/features/steps/backup_account.py
+++ b/service/test/functional/features/steps/backup_account.py
@@ -21,17 +21,18 @@ from common import (
find_element_by_css_selector)
-@given(u'I am on the backup account page')
+@when(u'I go to the backup account page')
+@given(u'I go to the backup account page')
def backup_account_page(context):
context.browser.get(context.backup_account_url)
-@when(u'I submit my email')
+@when(u'I submit my backup account')
def submit_backup_email(context):
fill_by_css_selector(context, 'input[name="email"]', 'test@test.com')
- find_element_by_css_selector(context, 'button[type="submit"]').click()
+ find_element_by_css_selector(context, '.submit-button button[type="submit"]').click()
-@then(u'I see the confirmation page')
+@then(u'I see the confirmation of this submission')
def confirmation_page(context):
- find_element_by_css_selector(context, '.confirmation-container')
+ find_element_by_css_selector(context, '.confirmation-container', timeout=50)