From f949ec4f9ef1b9a54bfa3b336ce2d1f7358bd6e3 Mon Sep 17 00:00:00 2001 From: Jared Hirsch <ohai@6a68.net> Date: Tue, 14 Aug 2012 16:03:55 -0700 Subject: [PATCH] Fix example test config files --- automation-tests/credentials.yaml.example | 37 ++++++++++++++++++++--- automation-tests/sauce.yaml.example | 8 +++++ 2 files changed, 41 insertions(+), 4 deletions(-) create mode 100644 automation-tests/sauce.yaml.example diff --git a/automation-tests/credentials.yaml.example b/automation-tests/credentials.yaml.example index f16a3a942..1366d16b2 100644 --- a/automation-tests/credentials.yaml.example +++ b/automation-tests/credentials.yaml.example @@ -2,7 +2,36 @@ # License, v. 2.0. If a copy of the MPL was not distributed with this # file, You can obtain one at http://mozilla.org/MPL/2.0/. -# insert your sauce labs credentials here and save as sauce.yaml -username: <value> -password: <value> -api-key: <value> +# File contains users data. +# +# Each user is a section named with its role +# and any number of values. At least email, +# password and name should be present. +# +# Example: +# admin: +# email: email@site.com +# password: password +# name: Test User +# +# Still, you are free to add any more data you wish. It will be kept +# in the same dictionary. +# +# Example: +# admin: +# email: email@site.com +# password: password +# name: Test User +# username: testuser +# some_user_data: data +# +# The contents of this file are accessible via the pytest-mozwebqa plugin: +# +# Example: +# credentials = mozwebqa.credentials['default'] +# credentials['email'] + +default: + email: <value> + passord: <value> + name: <value> \ No newline at end of file diff --git a/automation-tests/sauce.yaml.example b/automation-tests/sauce.yaml.example new file mode 100644 index 000000000..4dbdd163a --- /dev/null +++ b/automation-tests/sauce.yaml.example @@ -0,0 +1,8 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. + +# insert your sauce labs credentials here and save as sauce.yaml +username: <value> +password: <value> +api-key: <value> \ No newline at end of file -- GitLab