summaryrefslogtreecommitdiff
path: root/qa/qa/scenario
diff options
context:
space:
mode:
Diffstat (limited to 'qa/qa/scenario')
-rw-r--r--qa/qa/scenario/template.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/qa/qa/scenario/template.rb b/qa/qa/scenario/template.rb
index ef634d3ccda..8cf1fa0705f 100644
--- a/qa/qa/scenario/template.rb
+++ b/qa/qa/scenario/template.rb
@@ -32,6 +32,9 @@ module QA
# Given *gitlab_address* = 'http://gitlab-abc123.test/' #=> http://about.gitlab-abc123.test/
Runtime::Scenario.define(:about_address, URI(-> { gitlab_address.host = "about.#{gitlab_address.host}"; gitlab_address }.call).to_s) # rubocop:disable Style/Semicolon
+ # Save the scenario class name
+ Runtime::Scenario.define(:klass, self.class.name)
+
##
# Setup knapsack and download latest report
#