diff options
author | Tulio Casagrande <tcasagra@thoughtworks.com> | 2017-04-12 17:55:14 -0300 |
---|---|---|
committer | Tulio Casagrande <tcasagra@thoughtworks.com> | 2017-04-12 17:55:14 -0300 |
commit | ec00906375cd35220ee694264dce9c4ba5cdbcc9 (patch) | |
tree | 5ba8e14c07b9e9aa6d0593c9e3a15f336f2957d6 /service/test/functional | |
parent | 20448e0379cfc23188954c2b26e9e71db0093527 (diff) |
[#927] Add require_user tag
with @deniscostadsc
Diffstat (limited to 'service/test/functional')
-rw-r--r-- | service/test/functional/features/account_recovery.feature | 2 | ||||
-rw-r--r-- | service/test/functional/features/environment.py | 2 | ||||
-rw-r--r-- | service/test/functional/features/smoke.feature | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/service/test/functional/features/account_recovery.feature b/service/test/functional/features/account_recovery.feature index 414cf30e..da167d31 100644 --- a/service/test/functional/features/account_recovery.feature +++ b/service/test/functional/features/account_recovery.feature @@ -14,7 +14,7 @@ # You should have received a copy of the GNU Affero General Public License # along with Pixelated. If not, see <http://www.gnu.org/licenses/>. -@smoke +@smoke @require_user Feature: Account Recovery As a user of Pixelated I want to recover my account diff --git a/service/test/functional/features/environment.py b/service/test/functional/features/environment.py index efc86801..bc2e1283 100644 --- a/service/test/functional/features/environment.py +++ b/service/test/functional/features/environment.py @@ -70,7 +70,7 @@ def before_all(context): def before_tag(context, tag): - if tag == "smoke": + if tag == "require_user": context.username = 'testuser_{}'.format(uuid.uuid4()) context.user_email = '{}@{}'.format(context.username, context.hostname) utils.create_user(context) diff --git a/service/test/functional/features/smoke.feature b/service/test/functional/features/smoke.feature index d106da1b..b8fdbf35 100644 --- a/service/test/functional/features/smoke.feature +++ b/service/test/functional/features/smoke.feature @@ -14,7 +14,7 @@ # You should have received a copy of the GNU Affero General Public License # along with Pixelated. If not, see <http://www.gnu.org/licenses/>. -@smoke +@smoke @require_user Feature: sign up, login and logout As a visitor of Pixelated I want to sign up |