BigW Consortium Gitlab

Commit f25a50f2 by Rémy Coutable Committed by James Edwards-Jones

Merge branch 'fix/gb/qa/configure-headless-chrome-screenshots' into 'master'

Configure headless chrome screenshots correctly See merge request !12746
parent 9f3a716e
......@@ -64,6 +64,10 @@ module QA
.new(app, browser: :chrome, desired_capabilities: capabilities)
end
Capybara::Screenshot.register_driver(:chrome) do |driver, path|
driver.browser.save_screenshot(path)
end
Capybara.configure do |config|
config.app_host = @address
config.default_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