summaryrefslogtreecommitdiff
path: root/qa/qa/scenario/taggable.rb
diff options
context:
space:
mode:
Diffstat (limited to 'qa/qa/scenario/taggable.rb')
-rw-r--r--qa/qa/scenario/taggable.rb17
1 files changed, 17 insertions, 0 deletions
diff --git a/qa/qa/scenario/taggable.rb b/qa/qa/scenario/taggable.rb
new file mode 100644
index 00000000000..b1f24d742e0
--- /dev/null
+++ b/qa/qa/scenario/taggable.rb
@@ -0,0 +1,17 @@
+module QA
+ module Scenario
+ module Taggable
+ # rubocop:disable Gitlab/ModuleWithInstanceVariables
+
+ def tags(*tags)
+ @tags = tags
+ end
+
+ def focus
+ @tags.to_a
+ end
+
+ # rubocop:enable Gitlab/ModuleWithInstanceVariables
+ end
+ end
+end