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:
commit
62f594ac83
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue