mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
Install chrome in the development env
To be able to run feature tests against it.
This commit is contained in:
parent
9b5adb0bbc
commit
9c098e600b
3 changed files with 248 additions and 6 deletions
|
|
@ -77,7 +77,7 @@ RSpec.configure do |config|
|
|||
|
||||
Capybara.register_driver :chrome_headless do |app|
|
||||
capabilities = Selenium::WebDriver::Remote::Capabilities.chrome(
|
||||
chromeOptions: { args: %w(headless disable-gpu window-size=1920x1080) }
|
||||
chromeOptions: { args: %w(headless disable-gpu window-size=1920x1080 no-sandbox) }
|
||||
)
|
||||
Capybara::Selenium::Driver.new(
|
||||
app, browser: :chrome, desired_capabilities: capabilities
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue