Merge branch 'fix/gb/qa/configure-headless-chrome-screenshots' into 'master'
Configure headless chrome screenshots correctly See merge request !12746
This commit is contained in:
commit
cd735170d3
|
@ -52,6 +52,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
|
||||
|
|
Loading…
Reference in New Issue