Commit 89a03cc1 authored by Rémy Coutable's avatar Rémy Coutable

Configure the browser before running any QA scenario

Signed-off-by: default avatarRémy Coutable <remy@rymai.me>
parent 4b02b3cd
......@@ -23,6 +23,8 @@ module QA
def perform(options, *args)
extract_address(:gitlab_address, options, args)
QA::Runtime::Browser.configure!
Runtime::Feature.enable(options[:enable_feature]) if options.key?(:enable_feature)
Specs::Runner.perform do |specs|
......
......@@ -20,6 +20,8 @@ module QA
def self.do_perform(address, *rspec_options)
Runtime::Scenario.define(:gitlab_address, address)
QA::Runtime::Browser.configure!
Specs::Runner.perform do |specs|
specs.tty = true
specs.options = rspec_options if rspec_options.any?
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment