Loading tests/src/Behat/behat.yml +2 −1 Original line number Diff line number Diff line Loading @@ -24,7 +24,7 @@ default: extensions: DMore\ChromeExtension\Behat\ServiceContainer\ChromeExtension: ~ Drupal\MinkExtension: ajax_timeout: 30 ajax_timeout: 180 goutte: ~ selenium2: ~ browser_name: chrome Loading @@ -37,6 +37,7 @@ default: chrome: api_url: http://localhost:9222 validate_certificate: false socket_timeout: 30 # drupal api_driver requires the same server where the tests run. # Uncomment or set to $BEHAT_PARAMS (recommended). # base_url: http://localhost Loading tests/src/Behat/scripts/run_behat.sh +3 −2 Original line number Diff line number Diff line Loading @@ -118,11 +118,12 @@ function setup() { pkill "${CHROMIUM}" fi "${CHROMIUM}" --disable-gpu --headless --no-sandbox \ # See https://gitlab.com/DMore/chrome-mink-driver/ "${CHROMIUM}" --disable-extensions --disable-gpu --headless --no-sandbox \ --remote-debugging-address=0.0.0.0 --remote-debugging-port=9222 2> /dev/null & readonly CHROMIUM_PID=$(pgrep "${CHROMIUM}") echo "PID: ${CHROMIUM_PID}" sleep 3 sleep 10s run_popd } Loading Loading
tests/src/Behat/behat.yml +2 −1 Original line number Diff line number Diff line Loading @@ -24,7 +24,7 @@ default: extensions: DMore\ChromeExtension\Behat\ServiceContainer\ChromeExtension: ~ Drupal\MinkExtension: ajax_timeout: 30 ajax_timeout: 180 goutte: ~ selenium2: ~ browser_name: chrome Loading @@ -37,6 +37,7 @@ default: chrome: api_url: http://localhost:9222 validate_certificate: false socket_timeout: 30 # drupal api_driver requires the same server where the tests run. # Uncomment or set to $BEHAT_PARAMS (recommended). # base_url: http://localhost Loading
tests/src/Behat/scripts/run_behat.sh +3 −2 Original line number Diff line number Diff line Loading @@ -118,11 +118,12 @@ function setup() { pkill "${CHROMIUM}" fi "${CHROMIUM}" --disable-gpu --headless --no-sandbox \ # See https://gitlab.com/DMore/chrome-mink-driver/ "${CHROMIUM}" --disable-extensions --disable-gpu --headless --no-sandbox \ --remote-debugging-address=0.0.0.0 --remote-debugging-port=9222 2> /dev/null & readonly CHROMIUM_PID=$(pgrep "${CHROMIUM}") echo "PID: ${CHROMIUM_PID}" sleep 3 sleep 10s run_popd } Loading