-
Notifications
You must be signed in to change notification settings - Fork 19
Expand file tree
/
Copy pathbehat.yml.dist
More file actions
104 lines (104 loc) · 4.08 KB
/
behat.yml.dist
File metadata and controls
104 lines (104 loc) · 4.08 KB
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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
default:
suites:
default:
paths:
- %paths.base%/tests/features
contexts:
- Drupal\DrupalExtension\Context\MinkContext:
- Drupal\DrupalExtension\Context\MessageContext:
- Drupal\DrupalExtension\Context\MarkupContext
- Drupal\DrupalExtension\Context\DrushContext
- Metadrop\Behat\Context\AntiSpamContext
- Metadrop\Behat\Context\CacheContext
- Metadrop\Behat\Context\ContentAuthoredContext
- Metadrop\Behat\Context\CronContext
- Metadrop\Behat\Context\CookieComplianceContext:
parameters:
cookie_manager_type: onetrust
# Alternative manual configuration:
# cookie_agree_selector: 'button.agree-button'
# cookie_reject_selector: 'button.reject-button'
# cookie_banner_selector: '.cookie-banner'
# cookies:
# mandatory:
# - 'cookie-mandatory'
# analytics:
# - '_ga'
# cookies_ignored:
# - 'example-cookie'
# cookies_third_party_domains_ignored:
# - example.com
# cookies_third_party_domains_included:
# - extra-service.com
- Metadrop\Behat\Context\DebugContext:
parameters:
'report_on_error': true
'error_reporting_path': "/var/www/html/docroot/sites/default/files/behat/errors"
'error_reporting_url': "http://metadropnet.docker.localhost:8000/sites/default/files/behat/errors"
'screenshots_path': "/var/www/html/docroot/sites/default/files/behat/screenshots"
'page_contents_path': "/var/www/html/docroot/sites/default/files/behat/pages"
- Metadrop\Behat\Context\DrupalGroupsExtendedContext
- Metadrop\Behat\Context\DrupalOrganicGroupsExtendedContext
- Metadrop\Behat\Context\EntityContext
- Metadrop\Behat\Context\FileContext
- Metadrop\Behat\Context\FormContext
- Metadrop\Behat\Context\I18nContext
- Metadrop\Behat\Context\LogsContext:
parameters:
base_url: "${drupal.base_url}"
types:
- php
levels:
- ERROR
- WARNING
- NOTICE
limit: 100
path: '/var/www/html/reports/behat/dblog'
write_report: false
- Metadrop\Behat\Context\MediaContext
- Metadrop\Behat\Context\NodeAccessContext
- Metadrop\Behat\Context\ParagraphsContext
- Metadrop\Behat\Context\SearchApiContext
- Metadrop\Behat\Context\UIContext:
parameters:
scroll_offset: -100
- Metadrop\Behat\Context\UrlContext
- Metadrop\Behat\Context\UsersContext
- Metadrop\Behat\Context\UsersRandomContext
- Metadrop\Behat\Context\WaitingContext
- Metadrop\Behat\Context\VideoRecordingContext:
parameters:
enabled: false
show_test_info_screen: true
show_test_info_screen_time: 2000
show_green_screen: false
show_green_screen_time: 1000
show_step_info_bubble: true
show_step_info_bubble_time: 1000
show_error_info_bubble: true
show_error_info_bubble_time: 5000
filters:
tags: "~@exclude"
extensions:
Behat\MinkExtension:
goutte: ~
selenium2:
wd_host: 'http://selenium:4444/wd/hub'
javascript_session: selenium2
base_url: "${drupal.base_url}"
NuvoleWeb\Drupal\DrupalExtension:
# Change this if you use a custom services.yml
services: "vendor/metadrop/behat-contexts/services.yml"
api_driver: "drupal"
drupal:
# Change this to the absolute path to Drupal install.
drupal_root: "${drupal.root}"
region_map:
left sidebar: "#sidebar-first"
content: "#content"
selectors:
error_message_selector: '.messages--error'
text:
node_submit_label: "Save and publish"
formatters:
progress: ~