-
-
Notifications
You must be signed in to change notification settings - Fork 649
Behat @javascript tests aren't working #1342
Comments
I see the only working solution now is using of PhantomJS as a browser for Mink. I included Why does it fail to connect to port 4444? |
@ArtuGit - Are you running the Also, can you share what you have set up in your |
@geerlingguy My project
|
@ArtuGit can you try sometimes it's easier to use use |
It works (inside DVM):
|
|
@ArtuGit please post more information about your configuration, sounds like selenium isn't setup correctly. See the issue template -- https://github.com/geerlingguy/drupal-vm/blob/master/.github/ISSUE_TEMPLATE |
Also, if trying to use Chromedriver with Chrome, please see: #1152 :( |
I think I might have the same issue here. Issue Type
Your Environment
Your OS
Full console outputconfig.yml - https://gist.github.com/attheshow/c8f8cb2a932c68e254557172d5d0b125 SummaryUnable to run a @javascript Behat test, unable to ping on port 4444 when logged into the VM. Already tried vagrant destroy && vagrant up without success. |
I'm going to close this issue and push further discussion over to #1152 Now that Chrome has a headless mode, PhantomJS seems to be going the way of the dodo bird, and all the various webdrivers are in states of brokenness, I'm going to start pushing everyone towards using Google Chrome's headless mode first, and then hopefully also have a solution that uses FireFox. PhantomJS seems to still work in most cases, but is more difficult to get set up, and also seems to be less efficient than Chrome. See downstream implementation in Acquia's BLT project: acquia/blt#1705 I would like to test things out standalone inside Drupal VM (with a default Drupal 8 website), and rework the documentation to support this use case. |
It looks like the changes we need to make are:
Read through the rest of the PR linked in the comment above for more specific changes. |
@geerlingguy I see a bunch of issues around this topic, but I do not see a specific solution
What did you mean? Do you have an example of specific configuration anywhere? |
@ArtuGit This fixes the issue for me
adding |
I have Drupal VM 4.4.5 with ubuntu1404.
I made an upgrade from DVM 4.4.4 then I did
vagrant provision
a couple times.I used this manual to establish Behat - http://docs.drupalvm.com/en/latest/extras/selenium/ .
When I run a behat scenario with
@javascript
I get following:I read some issues about such problem but I can not find a solution.
Regards, Artu
The text was updated successfully, but these errors were encountered: