Skip to content

Instantly share code, notes, and snippets.

@anyt
Last active December 10, 2021 11:56
Show Gist options
  • Save anyt/79b046a2d577df877abf932aee2dd483 to your computer and use it in GitHub Desktop.
Save anyt/79b046a2d577df877abf932aee2dd483 to your computer and use it in GitHub Desktop.
Run OroCommerce behat tests in headless mode
imports:
- behat.yml.dist
default: &default
extensions: &default_extensions
Behat\MinkExtension:
base_url: 'http://oro.ee.local'
sessions:
second_session:
oroSelenium2:
capabilities:
extra_capabilities:
chromeOptions:
args:
- "--no-proxy-server"
- "--no-sandbox"
- "--dns-prefetch-disable"
- "--no-first-run"
- "--headless"
- "--disable-gpu"
- "--window-size=1920,1080"
- "--start-maximized"
- "--no-pings"
- "--disable-renderer-backgrounding"
first_session:
oroSelenium2:
capabilities:
extra_capabilities:
chromeOptions:
args:
- "--no-proxy-server"
- "--no-sandbox"
- "--dns-prefetch-disable"
- "--no-first-run"
- "--headless"
- "--disable-gpu"
- "--window-size=1920,1080"
- "--start-maximized"
- "--no-pings"
- "--disable-renderer-backgrounding"
system_session:
oroSelenium2:
capabilities:
extra_capabilities:
chromeOptions:
args:
- "--no-proxy-server"
- "--no-sandbox"
- "--dns-prefetch-disable"
- "--no-first-run"
- "--headless"
- "--disable-gpu"
- "--window-size=1920,1080"
- "--start-maximized"
- "--no-pings"
- "--disable-renderer-backgrounding"
320_session:
oroSelenium2:
capabilities:
extra_capabilities:
chromeOptions:
args:
- "--no-proxy-server"
- "--no-sandbox"
- "--dns-prefetch-disable"
- "--no-first-run"
- "--headless"
- "--disable-gpu"
- "--window-size=1920,1080"
- "--start-maximized"
- "--no-pings"
- "--disable-renderer-backgrounding"
640_session:
oroSelenium2:
capabilities:
extra_capabilities:
chromeOptions:
args:
- "--no-proxy-server"
- "--no-sandbox"
- "--dns-prefetch-disable"
- "--no-first-run"
- "--headless"
- "--disable-gpu"
- "--window-size=1920,1080"
- "--start-maximized"
- "--no-pings"
- "--disable-renderer-backgrounding"
chromedriver:
<<: *default
extensions:
Behat\MinkExtension:
base_url: 'http://oro.ee.local'
sessions:
first_session:
oroSelenium2:
wd_host: 'http://localhost:4444/wd/hub'
second_session:
oroSelenium2:
wd_host: 'http://localhost:4444/wd/hub'
system_session:
oroSelenium2:
wd_host: 'http://localhost:4444/wd/hub'
320_session:
oroSelenium2:
wd_host: 'http://localhost:4444/wd/hub'
640_session:
oroSelenium2:
wd_host: 'http://localhost:4444/wd/hub'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment