From ec00906375cd35220ee694264dce9c4ba5cdbcc9 Mon Sep 17 00:00:00 2001
From: Tulio Casagrande <tcasagra@thoughtworks.com>
Date: Wed, 12 Apr 2017 17:55:14 -0300
Subject: [#927] Add require_user tag

with @deniscostadsc
---
 service/test/functional/features/account_recovery.feature | 2 +-
 service/test/functional/features/environment.py           | 2 +-
 service/test/functional/features/smoke.feature            | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

(limited to 'service/test/functional/features')

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
-- 
cgit v1.2.3