summaryrefslogtreecommitdiff
path: root/service/test/functional/features/steps/backup_account.py
diff options
context:
space:
mode:
authorSriram Viswanathan <sriramv@thoughtworks.com>2017-03-24 15:57:21 -0300
committerGitHub <noreply@github.com>2017-03-24 15:57:21 -0300
commit643184750bbecff57b96da47d7064f67a66f4586 (patch)
tree7fd16e01110f2d345792f86b05e54d4da0d49bcd /service/test/functional/features/steps/backup_account.py
parentf7bb5b60dae726f9a92b2d0286b6235cdcbb4ea5 (diff)
parentccc31c1e1867c37335ee3fbdd4bc729ad6917883 (diff)
Merge pull request #1020 from pixelated/logout_button_header
|#973| Thais + Sriram | Adds logout component to be shown on the header
Diffstat (limited to 'service/test/functional/features/steps/backup_account.py')
-rw-r--r--service/test/functional/features/steps/backup_account.py22
1 files changed, 22 insertions, 0 deletions
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 <http://www.gnu.org/licenses/>.
+
+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)