Created
April 16, 2014 12:39
-
-
Save sobi3ch/10867760 to your computer and use it in GitHub Desktop.
How integreate 'selectors' with Behat (regon_map is requreid to work with selectors)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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' |
Thanks for making this public, really helpful 👍
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I am working with Drupal 8 version 8.5.0, and I had to change
messages-error
tomessages--error
andmessages-status
tomessages--status
in order to make it work. Thank you for the great snippet of code!