-
Notifications
You must be signed in to change notification settings - Fork 1
/
behat.yml
77 lines (74 loc) · 2.53 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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
default:
autoload: [ '%paths.base%/tests/behat/bootstrap' ]
gherkin:
# Disable caching during development. It is enabled for profiles below.
cache: ~
filters:
tags: "~@suggest&&~@skipped"
suites:
default:
paths: [ '%paths.base%/tests/behat/features' ]
contexts:
- FeatureContext
- Drupal\DrupalExtension\Context\MinkContext
- Drupal\DrupalExtension\Context\MarkupContext
- Drupal\DrupalExtension\Context\MessageContext
- DrevOps\BehatScreenshotExtension\Context\ScreenshotContext
- Ubirak\RestApiBehatExtension\RestApiContext
- Ubirak\RestApiBehatExtension\Json\JsonContext
extensions:
Drupal\MinkExtension:
files_path: '%paths.base%/tests/behat/fixtures'
selenium2:
wd_host: "http://chrome:4444/wd/hub"
capabilities: { "browser": "chrome", "version": "*", "marionette": true }
browserkit_http: ~
ajax_timeout: 5
browser_name: chrome
javascript_session: selenium2
base_url: http://nginx:8080
# Provides integration with Drupal APIs.
Drupal\DrupalExtension:
blackbox: ~
api_driver: drupal
drush_driver: drush
drupal:
drupal_root: docroot
drush:
root: docroot
selectors:
message_selector: '.messages'
error_message_selector: '.messages.messages--error'
success_message_selector: '.messages.messages--status'
warning_message_selector: '.messages.messages--warning'
region_map:
alert: '.region-alert'
header: '.region-header'
header_search: '.region-header-search'
menu: '.region-menu'
breadcrumb: '.region-breadcrumb'
feature: '.region-feature'
above_content: '.region-above-content'
content: '.region-content'
sidebar: '.region-sidebar'
above_footer: '.region-above-footer'
footer_first: '.region-footer-first'
footer_second: '.region-footer-second'
footer_third: '.region-footer-third'
footer_fourth: '.region-footer-fourth'
footer_fifth: '.region-footer-fifth'
footer_sixth: '.region-footer-sixth'
splash: '.region-splash'
# Allows to capture HTML and JPG screenshots (based on the driver used).
DrevOps\BehatScreenshotExtension:
dir: '%paths.base%/screenshots'
fail: true
purge: false
Ubirak\RestApiBehatExtension\Extension:
rest:
base_url: http://nginx:8080
store_response: true
suggest:
gherkin:
filters:
tags: "~@nosuggest&&~@skipped"