Skip to content

Instantly share code, notes, and snippets.

@agentolivia
Last active December 22, 2015 01:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save agentolivia/6396083 to your computer and use it in GitHub Desktop.
Save agentolivia/6396083 to your computer and use it in GitHub Desktop.
my behat.yml
Feature:
@api
Scenario: Create a node
Given I am on the homepage
And I am logged in as a user with the "administrator" role
When I am viewing an "article" node with the title "My article"
Then I should see the heading "My article"
default:
paths:
features: 'features'
extensions:
Behat\MinkExtension\Extension:
goutte: ~
selenium2: ~
show_cmd: '/Applications/Firefox.app/Contents/MacOS/firefox %s'
base_url: http://localhost:8888/ambersandbox
Drupal\DrupalExtension\Extension:
blackbox: ~
api_driver: 'drupal'
drush:
alias: 'local'
drupal:
drupal_root: '/Applications/MAMP/htdocs/ambersandbox'
region_map:
footer: "#footer"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment