From 22c78cfd258e052958951e528f22bfb04fcb843d Mon Sep 17 00:00:00 2001 From: Sriram Viswanathan Date: Thu, 23 Mar 2017 21:01:58 -0300 Subject: |#973| Thais + Sriram | Functional test for logout from the page header --- .../functional/features/steps/backup_account.py | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 service/test/functional/features/steps/backup_account.py (limited to 'service/test/functional/features/steps/backup_account.py') diff --git a/service/test/functional/features/steps/backup_account.py b/service/test/functional/features/steps/backup_account.py new file mode 100644 index 00000000..914309f2 --- /dev/null +++ b/service/test/functional/features/steps/backup_account.py @@ -0,0 +1,22 @@ +# +# Copyright (c) 2017 ThoughtWorks, Inc. +# +# Pixelated is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# Pixelated is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with Pixelated. If not, see . + +from behave import given + + +@given(u'I am on the backup account page') +def backup_account_page(context): + context.browser.get(context.backup_account_url) -- cgit v1.2.3