diff options
Diffstat (limited to 'tests/acceptance')
-rw-r--r-- | tests/acceptance/config/behat.yml | 24 | ||||
-rwxr-xr-x | tests/acceptance/run.sh | 4 |
2 files changed, 26 insertions, 2 deletions
diff --git a/tests/acceptance/config/behat.yml b/tests/acceptance/config/behat.yml index a43bcb504a6..eb5c7d61f8c 100644 --- a/tests/acceptance/config/behat.yml +++ b/tests/acceptance/config/behat.yml @@ -65,15 +65,39 @@ default: default: selenium2: wd_host: %selenium.server% + browser: "chrome" + capabilities: + extra_capabilities: + goog:chromeOptions: + args: ["disable-dev-shm-usage"] + w3c: false John: selenium2: wd_host: %selenium.server% + browser: "chrome" + capabilities: + extra_capabilities: + goog:chromeOptions: + args: ["disable-dev-shm-usage"] + w3c: false Jane: selenium2: wd_host: %selenium.server% + browser: "chrome" + capabilities: + extra_capabilities: + goog:chromeOptions: + args: ["disable-dev-shm-usage"] + w3c: false Jim: selenium2: wd_host: %selenium.server% + browser: "chrome" + capabilities: + extra_capabilities: + goog:chromeOptions: + args: ["disable-dev-shm-usage"] + w3c: false Rubeus: # Rubeus uses a browser that has CSS grid support. selenium2: diff --git a/tests/acceptance/run.sh b/tests/acceptance/run.sh index 48e39bcd119..9a77d717a0c 100755 --- a/tests/acceptance/run.sh +++ b/tests/acceptance/run.sh @@ -108,12 +108,12 @@ function prepareSelenium() { SELENIUM_CONTAINER=selenium-nextcloud-local-test-acceptance echo "Starting Selenium server" - docker run --detach --name=$SELENIUM_CONTAINER --publish 4444:4444 --publish 5900:5900 $DOCKER_OPTIONS selenium/standalone-firefox-debug:2.53.1-beryllium + docker run --detach --name=$SELENIUM_CONTAINER --publish 4444:4444 --publish 5900:5900 $DOCKER_OPTIONS selenium/standalone-chrome-debug:3.141.59 echo "Waiting for Selenium server to be ready" if ! $TIMEOUT 10s bash -c "while ! curl 127.0.0.1:4444 >/dev/null 2>&1; do sleep 1; done"; then echo "Could not start Selenium server; running" \ - "\"docker run --rm --publish 4444:4444 --publish 5900:5900 $DOCKER_OPTIONS selenium/standalone-firefox-debug:2.53.1-beryllium\"" \ + "\"docker run --rm --publish 4444:4444 --publish 5900:5900 $DOCKER_OPTIONS selenium/standalone-chrome-debug:3.141.59\"" \ "could give you a hint of the problem" exit 1 |