diff --git a/.github/workflows/build-2.x.yml b/.github/workflows/build-2.x.yml index 84efdbf7..8cd9f1d1 100644 --- a/.github/workflows/build-2.x.yml +++ b/.github/workflows/build-2.x.yml @@ -14,7 +14,6 @@ jobs: SCRIPT_DIR: ${{ github.workspace }}/islandora_ci DRUPAL_DIR: /opt/drupal PHPUNIT_FILE: ${{ github.workspace }}/build_dir/phpunit.xml - MINK_DRIVER_ARGS_WEBDRIVER: '["chrome", {"browserName":"chrome","chromeOptions":{"args":["--disable-gpu","--headless", "--no-sandbox", "--disable-dev-shm-usage"]}}, "http://localhost:9515"]' runs-on: ubuntu-latest continue-on-error: ${{ matrix.allowed_failure }} @@ -110,7 +109,6 @@ jobs: - name: Start chromedriver if: matrix.test-suite == 'functional-javascript' run: |- - ls -l /usr/local/share/chromedriver-linux64 /usr/local/share/chromedriver-linux64/chromedriver \ --log-path=/tmp/chromedriver.log \ --verbose \ diff --git a/phpunit.xml b/phpunit.xml index 46e82e78..bc0609fb 100644 --- a/phpunit.xml +++ b/phpunit.xml @@ -47,7 +47,7 @@ <!-- Example for changing the driver args to phantomjs tests MINK_DRIVER_ARGS_PHANTOMJS value: '["http://127.0.0.1:8510"]' --> <env name="MINK_DRIVER_ARGS_PHANTOMJS" value=""/> <!-- Example for changing the driver args to webdriver tests MINK_DRIVER_ARGS_WEBDRIVER value: '["chrome", { "chromeOptions": { "w3c": false } }, "http://localhost:4444/wd/hub"]' For using the Firefox browser, replace "chrome" with "firefox" --> - <env name="MINK_DRIVER_ARGS_WEBDRIVER" value=""/> + <env name="MINK_DRIVER_ARGS_WEBDRIVER" value='["chrome", {"browserName":"chrome","chromeOptions":{"args":["--disable-gpu","--headless", "--no-sandbox", "--disable-dev-shm-usage"]}}, "http://localhost:9515"]'/> </php> <testsuites> <testsuite name="unit">