GitLab wurde erfolgreich aktualisiert. Dank regelmäßiger Updates bleibt das THM GitLab sicher und Sie profitieren von den neuesten Funktionen. Danke für Ihre Geduld.

Commit 62f594ac authored by Grzegorz Bizon's avatar Grzegorz Bizon

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
parents 258633a6 ac0dba6d
......@@ -51,6 +51,9 @@ def self.configure!
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
......
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