Commit 7fc7e66e authored by Grzegorz Bizon's avatar Grzegorz Bizon Committed by Jose

Merge branch...

Merge branch '49021-preserve-test-run-artifacts-when-running-gitlab-qa-multiple-times' into 'master'

Resolve "Preserve test run artifacts when running gitlab-qa multiple times"

Closes #49021

See merge request gitlab-org/gitlab-ce!20495
parent ef168c42
...@@ -85,6 +85,10 @@ module QA ...@@ -85,6 +85,10 @@ module QA
driver.browser.save_screenshot(path) driver.browser.save_screenshot(path)
end end
Capybara::Screenshot.register_filename_prefix_formatter(:rspec) do |example|
File.join(QA::Runtime::Namespace.name, example.file_path.sub('./qa/specs/features/', ''))
end
Capybara.configure do |config| Capybara.configure do |config|
config.default_driver = :chrome config.default_driver = :chrome
config.javascript_driver = :chrome config.javascript_driver = :chrome
......
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