From 77c375434fcac4ab41a539a4aa1ab05c43b5b6ed Mon Sep 17 00:00:00 2001 From: Martin Stockhammer Date: Sat, 4 Nov 2017 12:04:19 +0100 Subject: Fixing window size issues with selenium driver --- src/ci/scripts/container_webtest.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/ci/scripts/container_webtest.sh b/src/ci/scripts/container_webtest.sh index e2268e301..b80845598 100644 --- a/src/ci/scripts/container_webtest.sh +++ b/src/ci/scripts/container_webtest.sh @@ -61,7 +61,7 @@ function stop_instance() { function start_instance() { echo "Starting container ${INSTANCE_NAME}" - docker run -d --net="${NETWORK_TYPE}" -p "${PORT_MAPPING}" --name "${INSTANCE_NAME}" "${TAG}" + docker run -d -e "SCREEN_WIDTH=${SCREEN_WIDTH}" -e "SCREEN_HEIGHT=${SCREEN_HEIGHT}" --net="${NETWORK_TYPE}" -p "${PORT_MAPPING}" --name "${INSTANCE_NAME}" "${TAG}" } function print_usage() { -- cgit v1.2.3