Merge branch 'qa/rs-screenshot-last-run' into 'master'

Only keep screenshots from last run for QA specs

See merge request gitlab-org/gitlab-ce!15967
This commit is contained in:
Grzegorz Bizon 2017-12-16 07:40:11 +00:00
commit 62f594ac83

View file

@ -51,6 +51,9 @@ module QA
driver.browser.save_screenshot(path)
end
# Keep only the screenshots generated from the last failing test suite
Capybara::Screenshot.prune_strategy = :keep_last_run
Capybara.configure do |config|
config.default_driver = :chrome
config.javascript_driver = :chrome