forked from LastCallMedia/Drupal-Scaffold
-
Notifications
You must be signed in to change notification settings - Fork 0
/
behat.yml
52 lines (52 loc) · 1.86 KB
/
behat.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
# Behat Configuration file.
#
# Behat is a "Behavior Driven Development" (BDD) tool. It executes tests written in
# plain, human readable language. It is best used to ensure parts of the site function
# as expected.
#
# Tests and step definitions for this specific project are stored in the /features directory.
# Behat can be run through gulp using:
#
# gulp test:behat --base-url=http://localhost:8080
#
# If you need to interact with Behat more directly, you can invoke it directly using:
#
# vendor/bin/behat
#
# Note that you may also need to set a base url in the configuration below.
#
# For more information on Behat, see:
# - Behat documentation: http://behat.org/en/latest/guides.html
# - Drupal Behat documentation: https://behat-drupal-extension.readthedocs.io/en/3.1/
default:
suites:
default:
contexts:
- FeatureContext
- Drupal\DrupalExtension\Context\DrupalContext
- Drupal\DrupalExtension\Context\MinkContext
- Drupal\DrupalExtension\Context\DrushContext
- Drupal\DrupalExtension\Context\MessageContext
extensions:
Behat\MinkExtension:
goutte: ~
# The base URL of the site. If you are using the gulp tasks,
# this URL is set in the gulpconfig, so leave this commented out.
# base_url: http://127.0.0.1:8888
# Browser open command used for "Then show the last response"
show_cmd: open %s
Drupal\DrupalExtension:
api_driver: 'drupal'
blackbox: ~
drupal:
# @docroot
drupal_root: %paths.base%/web
drush:
binary: %paths.base%/vendor/bin/drush
# @docroot
root: %paths.base%/web
selectors:
message_selector: '.messages'
error_message_selector: '.messages.messages--error'
success_message_selector: '.messages.messages--status'
warning_message_selector: '.messages.messages--warning'