Skip to content

Instantly share code, notes, and snippets.

@colincalnan
Forked from sobi3ch/behat.yml
Created May 18, 2017 17:21
Show Gist options
  • Save colincalnan/5acd764cab15c5f65f1b6ef79a4aaffe to your computer and use it in GitHub Desktop.
Save colincalnan/5acd764cab15c5f65f1b6ef79a4aaffe to your computer and use it in GitHub Desktop.
How integreate 'selectors' with Behat (regon_map is requreid to work with selectors)
default:
paths:
features: 'features'
extensions:
Behat\MinkExtension\Extension:
goutte: ~
selenium2: ~
base_url: https://production.server/
Drupal\DrupalExtension\Extension:
blackbox: ~
region_map:
content: "#content"
footer: "#footer"
left header: "#header-left"
right header: "#header-right"
right sidebar: "#column-right"
selectors:
message_selector: '.messages'
error_message_selector: '.messages.messages-error'
success_message_selector: '.messages.messages-status'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment