Skip to content

Instantly share code, notes, and snippets.

@kalinchernev
Created May 3, 2017 13:01
Show Gist options
  • Save kalinchernev/bad984799f4af22b734666b883e88e70 to your computer and use it in GitHub Desktop.
Save kalinchernev/bad984799f4af22b734666b883e88e70 to your computer and use it in GitHub Desktop.
example behat config
default:
suites:
default:
contexts:
- FeatureContext
- Drupal\DrupalExtension\Context\DrushContext
- Drupal\DrupalExtension\Context\MessageContext
- Drupal\nexteuropa\Context\DrupalContext
- Drupal\nexteuropa\Context\MinkContext
filters:
tags: "~@wip"
extensions:
Behat\MinkExtension:
goutte: ~
selenium2: ~
javascript_session: 'selenium2'
base-url: 'http://euc.dev'
show_cmd: google-chrome %s
Drupal\DrupalExtension:
api_driver: 'drupal'
blackbox: ~
drupal:
drupal_root: '/var/www/euc.dev/platform'
selectors:
message_selector: '.messages'
error_message_selector: '.messages.error'
success_message_selector: '.messages.status'
subcontexts:
paths:
- '/var/www/euc.dev/platform/sites/all'
drush:
root: '/var/www/euc.dev/platform'
binary: '/var/www/euc.dev/bin/drush'
formatters:
progress: ~
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment