diff --git a/core-dev/.env b/core-dev/.env index 7a83d3e..f1fbcf9 100644 --- a/core-dev/.env +++ b/core-dev/.env @@ -38,8 +38,8 @@ DRUPAL_TEST_WEBDRIVER_PORT=4444 # See http://nightwatchjs.org/gettingstarted#browser-drivers-setup #DRUPAL_TEST_WEBDRIVER_PATH_PREFIX=/wd/hub -MINK_DRIVER_ARGS='["chrome", {"browserName":"chrome", "goog:chromeOptions":{"args":["--no-sandbox","--ignore-certificate-errors", "--allow-insecure-localhost"]}}, "http://chrome:4444"]' -MINK_DRIVER_ARGS_WEBDRIVER='["chrome", {"browserName":"chrome", "goog:chromeOptions":{"args":["--no-sandbox","--ignore-certificate-errors", "--allow-insecure-localhost"]}}, "http://chrome:4444"]' +MINK_DRIVER_ARGS='["chrome", {"browserName":"chrome", "goog:chromeOptions":{"w3c": true, "args":["--no-sandbox","--ignore-certificate-errors", "--allow-insecure-localhost"]}}, "http://chrome:4444"]' +MINK_DRIVER_ARGS_WEBDRIVER=$MINK_DRIVER_ARGS ################ # Chromedriver # diff --git a/tests/test.bats b/tests/test.bats index 75bfa6a..008b33b 100644 --- a/tests/test.bats +++ b/tests/test.bats @@ -43,11 +43,13 @@ health_checks() { cd "${TESTDIR_COMPOSER}" ddev exec "curl -s chrome:7900" | grep -q "noVNC" ddev phpunit web/core/tests/Drupal/Tests/Component/Datetime/DateTimePlusTest.php + ddev phpunit web/core/modules/system/tests/src/FunctionalJavascript/FrameworkTest.php ddev nightwatch tests/Drupal/Nightwatch/Tests/loginTest.js cd "${TESTDIR_CHECKOUT}" ddev exec "curl -s chrome:7900" | grep -q "noVNC" ddev phpunit core/tests/Drupal/Tests/Component/Datetime/DateTimePlusTest.php + ddev phpunit core/modules/system/tests/src/FunctionalJavascript/FrameworkTest.php ddev nightwatch tests/Drupal/Nightwatch/Tests/loginTest.js }