Skip to content
Snippets Groups Projects
Commit 4058d34e 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 36a62218
Branches
Tags
3 merge requests!1316Issue #3310263: Release 4.5.0,!1260Issue #3307397: Release 4.4.0,!806Issue #3271560: Extend timeout to avoid AJAX request RuntimeException in BDD
......@@ -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
......
......@@ -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
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment