You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Use composer to make a new site, edit project.yml, add to Dev Desktop, run "blt local:setup."
Add the following to the end of .bash_profile:
export PATH="/Applications/DevDesktop/mysql/bin:$PATH"
export DEVDESKTOP_DRUPAL_SETTINGS_DIR="$HOME/.acquia/DevDesktop/DrupalSettings"
@javascript
Feature: Selenium Test
In order to test if Selenium is working
As a user
I need to be able to load the homepage
Scenario: Load a page # features/Examples.feature:7
Given I am on "/" # Drupal\DrupalExtension\Context\MinkContext::visit()
WebDriver\Exception\CurlExec: Curl error thrown for http POST to http://127.0.0.1:4444/wd/hub/session with params: {"desiredCapabilities":{"tags":["Andres-Mac-Pro.local","PHP 7.0.8"],"browser":"firefox","ignoreZoomSetting":false,"name":"Behat feature suite","browserName":"chrome"}}
Failed to connect to 127.0.0.1 port 4444: Connection refused in /Users/andreangelantoni/Sites/rh-d8/vendor/instaclick/php-webdriver/lib/WebDriver/Exception.php:155
<snipped stack trace}
Next Behat\Mink\Exception\DriverException: Could not open connection: Curl error thrown for http POST to http://127.0.0.1:4444/wd/hub/session with params: {"desiredCapabilities":{"tags":["Andres-Mac-Pro.local","PHP 7.0.8"],"browser":"firefox","ignoreZoomSetting":false,"name":"Behat feature suite","browserName":"chrome"}}
Failed to connect to 127.0.0.1 port 4444: Connection refused in /Users/andreangelantoni/Sites/rh-d8/vendor/behat/mink-selenium2-driver/src/Selenium2Driver.php:290
[foreach] /Users/andreangelantoni/Sites/rh-d8/vendor/acquia/blt/phing/tasks/tests.xml:27:4: /Users/andreangelantoni/Sites/rh-d8/vendor/acquia/blt/phing/tasks/tests.xml:43:8: /Users/andreangelantoni/Sites/rh-d8/vendor/acquia/blt/phing/tasks/tests.xml:48:12: One ore more Behat tests failed.
BUILD FAILED
/Users/andreangelantoni/Sites/rh-d8/vendor/acquia/blt/phing/tasks/tests.xml:13:4: Execution of the target buildfile failed. Aborting.
Total time: 10.9698 seconds
The text was updated successfully, but these errors were encountered:
This is almost certainly the same issue as #558. I suspect that you do not have your project.hostname set correctly in project.yml, and subsequently do not have base_url set correctly in test/behat/local.yml.
OS: macOS 10.12
Dev Desktop Version: 2
Built: Sep 5 2016 04:24:06
== Steps ==
export PATH="/Applications/DevDesktop/mysql/bin:$PATH"
export DEVDESKTOP_DRUPAL_SETTINGS_DIR="$HOME/.acquia/DevDesktop/DrupalSettings"
== Result ==
" [echo] Waiting 10 seconds for PhantomJS (http://127.0.0.1:4444) to become available.
Possible malformed URL: http://127.0.0.1:4444
Possible malformed URL: http://127.0.0.1:4444
Possible malformed URL: http://127.0.0.1:4444
Possible malformed URL: http://127.0.0.1:4444
Possible malformed URL: http://127.0.0.1:4444
Possible malformed URL: http://127.0.0.1:4444
Possible malformed URL: http://127.0.0.1:4444
Possible malformed URL: http://127.0.0.1:4444
Possible malformed URL: http://127.0.0.1:4444
Possible malformed URL: http://127.0.0.1:4444"
blt > tests:behat:
blt > tests:behat:execute:
@javascript
Feature: Selenium Test
In order to test if Selenium is working
As a user
I need to be able to load the homepage
Scenario: Load a page # features/Examples.feature:7
Given I am on "/" # Drupal\DrupalExtension\Context\MinkContext::visit()
WebDriver\Exception\CurlExec: Curl error thrown for http POST to http://127.0.0.1:4444/wd/hub/session with params: {"desiredCapabilities":{"tags":["Andres-Mac-Pro.local","PHP 7.0.8"],"browser":"firefox","ignoreZoomSetting":false,"name":"Behat feature suite","browserName":"chrome"}}
<snipped stack trace}
blt > tests:phantomjs:kill:
[foreach] /Users/andreangelantoni/Sites/rh-d8/vendor/acquia/blt/phing/tasks/tests.xml:27:4: /Users/andreangelantoni/Sites/rh-d8/vendor/acquia/blt/phing/tasks/tests.xml:43:8: /Users/andreangelantoni/Sites/rh-d8/vendor/acquia/blt/phing/tasks/tests.xml:48:12: One ore more Behat tests failed.
BUILD FAILED
/Users/andreangelantoni/Sites/rh-d8/vendor/acquia/blt/phing/tasks/tests.xml:13:4: Execution of the target buildfile failed. Aborting.
Total time: 10.9698 seconds
The text was updated successfully, but these errors were encountered: