From 9212d22c4f4f86f82381c5766097163214e9555c Mon Sep 17 00:00:00 2001 From: Matthew Grasmick Date: Wed, 28 Jun 2017 15:10:08 -0400 Subject: [PATCH 1/3] Revert "Updating CHANGELOG.md with 8.9.0-beta6 release notes." This reverts commit 47aee0cc916d10975119da72c54ad549e4ff6215. From ea989561f793063609802c1df24a53a7d4cfa8f1 Mon Sep 17 00:00:00 2001 From: Matthew Grasmick Date: Wed, 28 Jun 2017 15:10:08 -0400 Subject: [PATCH 2/3] Revert "Copying behat.yml and example.local.yml as part of setup:behat. (#1732)" This reverts commit a0f9080715ecf6905da6a4e75a5797b985b63796. From 089e592757fdaa582268e3c20ff0a023277cf3ab Mon Sep 17 00:00:00 2001 From: Matthew Grasmick Date: Wed, 28 Jun 2017 15:10:08 -0400 Subject: [PATCH 3/3] Revert "Defaulting web driver to Selenium. (#1729)" This reverts commit c30ddcd36655520adb16ec573b167755cc02f068. --- config/build.yml | 2 +- src/Robo/Commands/Tests/BehatCommand.php | 1 - template/tests/behat/example.local.yml | 3 +-- 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/config/build.yml b/config/build.yml index be5dbafdd..681c26b51 100644 --- a/config/build.yml +++ b/config/build.yml @@ -16,7 +16,7 @@ behat: tags: '~ajax&&~experimental&&~lightningextension' extra: '' # May be chrome, selenium, phantomjs. - web-driver: selenium + web-driver: chrome bin.path: vendor/bin diff --git a/src/Robo/Commands/Tests/BehatCommand.php b/src/Robo/Commands/Tests/BehatCommand.php index f32c98365..fbf40c46c 100644 --- a/src/Robo/Commands/Tests/BehatCommand.php +++ b/src/Robo/Commands/Tests/BehatCommand.php @@ -161,7 +161,6 @@ protected function launchChrome() { $chrome_bin = $this->findChrome(); $this->checkChromeVersion($chrome_bin); $this->logger->info("Launching headless chrome..."); - $this->logger->warning("Headless Chrome integration is experimental and may not be stable."); $this->getContainer() ->get('executor') ->execute("'$chrome_bin' --headless --disable-gpu --remote-debugging-port={$this->chromePort} https://www.chromestatus.com --disable-web-security --user-data-dir > /dev/null 2>&1") diff --git a/template/tests/behat/example.local.yml b/template/tests/behat/example.local.yml index 0ff216773..789905f81 100644 --- a/template/tests/behat/example.local.yml +++ b/template/tests/behat/example.local.yml @@ -25,8 +25,7 @@ local: DMore\ChromeExtension\Behat\ServiceContainer\ChromeExtension: ~ Behat\MinkExtension: browser_name: chrome - # Change to "default" for headless Chrome. - javascript_session: selenium2 + javascript_session: default # configure the base url for your site base_url: ${project.local.uri} # set default command for "Show last response" step.