Commit 48d1f3d6 authored by Robert Speicher's avatar Robert Speicher

Merge branch...

Merge branch '48893-getting-undefined-local-variable-or-method-page-for-errors-in-qa-jobs' into 'master'

Resolve "Getting "undefined local variable or method `page' for" errors in QA jobs"

Closes #48893

See merge request gitlab-org/gitlab-ce!20410
parents 4d2e24ed 098ecc8b
...@@ -32,6 +32,12 @@ module QA ...@@ -32,6 +32,12 @@ module QA
end end
def self.configure! def self.configure!
RSpec.configure do |config|
config.define_derived_metadata(file_path: %r{/qa/specs/features/}) do |metadata|
metadata[:type] = :feature
end
end
return if Capybara.drivers.include?(:chrome) return if Capybara.drivers.include?(:chrome)
Capybara.register_driver :chrome do |app| Capybara.register_driver :chrome do |app|
......
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