Commit 897b5fc6 authored by Kumiko Ono's avatar Kumiko Ono Committed by Yas Naoi
Browse files

Issue #3271560 by kumikoono, yas: Extend timeout values to avoid AJAX request...

Issue #3271560 by kumikoono, yas: Extend timeout values to avoid AJAX request RuntimeException in BDD
parent 47237c29
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -24,7 +24,7 @@ default:
  extensions:
    DMore\ChromeExtension\Behat\ServiceContainer\ChromeExtension: ~
    Drupal\MinkExtension:
      ajax_timeout: 30
      ajax_timeout: 180
      goutte: ~
      selenium2: ~
      browser_name: chrome
@@ -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
+3 −2
Original line number Diff line number Diff line
@@ -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
}