Skip to content

Commit

Permalink
Switches to phantomjs instead of zombie.
Browse files Browse the repository at this point in the history
- Fixes #116
  • Loading branch information
jhedstrom committed Nov 10, 2017
1 parent 1df46e2 commit 0855090
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
6 changes: 4 additions & 2 deletions generators/app/templates/drupal/drupal/8.x/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@
},
"require-dev": {
"behat/mink": "~1.7",
"behat/mink-zombie-driver": "~1.2",
"behat/mink-goutte-driver": "~1.2",
"drupal/drupal-extension": "~3.0",
"jakoch/phantomjs-installer": "^2.1",
"jcalderonzumba/gastonjs": "~1.0.2",
"jcalderonzumba/mink-phantomjs-driver": "~0.3.1",
"mikey179/vfsstream": "~1.2",
Expand All @@ -38,7 +38,9 @@
"sort-packages": true
},
"scripts": {
"drupal-scaffold": "DrupalComposer\\DrupalScaffold\\Plugin::scaffold"
"drupal-scaffold": "DrupalComposer\\DrupalScaffold\\Plugin::scaffold",
"post-install-cmd": "PhantomInstaller\\Installer::installPhantomJS",
"post-update-cmd": "PhantomInstaller\\Installer::installPhantomJS"
},
"extra": {
"installer-paths": {
Expand Down
9 changes: 6 additions & 3 deletions generators/app/templates/gdt/test/behat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,12 @@ default:
extensions:
Behat\MinkExtension:
goutte: ~
selenium2: ~
zombie: ~
javascript_session: 'zombie'
# PhantomJS uses the Selenium2 mink driver.
# To run: `vendor/bin/phantomjs --webdriver=8643`
selenium2:
wd_host: "http://localhost:8643/wd/hub"
base_url: http://127.0.0.1:8080
javascript_session: 'selenium2'
Drupal\DrupalExtension:
blackbox: ~
drush:
Expand Down

0 comments on commit 0855090

Please sign in to comment.