This repository has been archived by the owner on Jul 28, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbehat.yml
75 lines (75 loc) · 2.38 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
# Default profile.
# Common settings for all profiles
default:
autoload:
- %paths.base%/tests/behat/features/bootstrap
suites:
default:
paths:
features: %paths.base%/tests/behat/features/stories
bootstrap: %paths.base%/tests/behat/features/bootstrap
contexts:
- FeatureContext:
parameters:
screenshot_dir: '%paths.base%/tests/behat/screenshots'
- Drupal\DrupalExtension\Context\DrupalContext
- Drupal\DrupalExtension\Context\DrushContext
- Drupal\DrupalExtension\Context\MessageContext
- Drupal\DrupalExtension\Context\MinkContext
- Drupal\DrupalExtension\Context\MarkupContext
- Drupal\DrupalExtension\Context\BatchContext
- Behatch\Context\DebugContext:
screenshotDir: "%paths.base%/tests/behat/screenshots/"
- Behatch\Context\JsonContext:
evaluationMode: javascript
- Behatch\Context\RestContext
- Behatch\Context\SystemContext:
root: "../../"
- Behatch\Context\TableContext
- Behatch\Context\XmlContext
formatters:
pretty:
html:
output_path: "%paths.base%/tests/behat/reports/"
extensions:
Behat\MinkExtension:
files_path: "%paths.base%/tests/behat/assets/"
selenium2:
wd_host: http://browser:4444/wd/hub
capabilities:
browser: 'chrome'
version: "*"
browserName: 'chrome'
chrome:
switches: ['--disable-gpu', '--window-size=1280,1600', '--headless']
marionette: true
base_url: http://web
browser_name: 'chrome'
default_session: selenium2
Drupal\DrupalExtension:
blackbox: ~
api_driver: "drupal"
drush_driver: "drush"
subcontexts:
paths:
- %paths.base%
drupal:
drupal_root: /var/www/docroot
drush:
root: /var/www/docroot
region_map:
header: "#header"
content: "#content"
footer: "#footer"
selectors:
message_selector: '#messages'
error_message_selector: '#messages .messages.error'
success_message_selector: '#messages .messages.status'
Behatch\Extension: ~
emuse\BehatHTMLFormatter\BehatHTMLFormatterExtension:
name: html
renderer: Twig,Behat2
file_name: index
print_args: false
print_outp: false
loop_break: false