diff --git a/tests/behat.common.yml b/tests/behat.common.yml index a5e9dee..fa659f5 100644 --- a/tests/behat.common.yml +++ b/tests/behat.common.yml @@ -15,12 +15,13 @@ default: Behat\MinkExtension: goutte: ~ selenium2: ~ - # base_url: http://${drupal.uri} + #base_url: http://mydrupalsite.com + #files_path: './profiles/panopoly/modules/panopoly/panopoly_test/tests' Drupal\DrupalExtension: blackbox: ~ - # drush: - # root: ${drush.root} - # drupal: + #drush: + # root: '/path/to/drupal/root' + #drupal: # drupal_root: '/path/to/drupal/root' api_driver: 'drupal' region_map: @@ -61,12 +62,9 @@ default: Footer: ".region-footer" Search: "#search-form" Panopoly Magic Style Settings: "#panels-edit-style-settings-form #edit-general-settings" - # Look in the profile modules directory and pull in module subcontexts. subcontexts: paths: - # - "../../../contrib/" - # - "../../../panopoly/" - # - "steps/" + - "./profiles/panopoly" # Setup for Google Chrome only tests. chrome: diff --git a/tests/behat.template.yml b/tests/behat.template.yml index 73988bd..4dd147b 100644 --- a/tests/behat.template.yml +++ b/tests/behat.template.yml @@ -4,10 +4,14 @@ imports: default: extensions: Behat\MinkExtension: - base_url: http://${drupal.uri} + base_url: http://mydrupalsite.com files_path: './profiles/panopoly/modules/panopoly/panopoly_test/tests' Drupal\DrupalExtension: drush: - root: ${drush.root} + root: '/path/to/drupal/root' drupal: drupal_root: '/path/to/drupal/root' + # Look in the profile modules directory and pull in module subcontexts. + subcontexts: + paths: + - "./profiles/panopoly" diff --git a/tests/behat.travis.yml b/tests/behat.travis.yml index 4921ebd..53761cf 100644 --- a/tests/behat.travis.yml +++ b/tests/behat.travis.yml @@ -9,7 +9,12 @@ default: Drupal\DrupalExtension: drush: alias: self - # This will be setup by .travis.yml like so: - # export BEHAT_PARAMS="extensions[Drupal\\DrupalExtension\\Extension][drupal][drupal_root]=$DRUPAL_ROOT" + # This will be setup using the BEHAT_PARAMS environment variable. #drupal: # drupal_root: "/path/to/drupal/root" + + # Look in the profile modules directory and pull in module subcontexts. + subcontexts: + paths: + - "./profiles/panopoly" +