-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathbehat.yml.dist
111 lines (110 loc) · 4.14 KB
/
behat.yml.dist
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
105
106
107
108
109
110
111
default:
suites:
default:
paths:
- "%paths.base%/tests/features"
contexts:
- Drupal\DrupalExtension\Context\ConfigContext
- Drupal\DrupalExtension\Context\DrupalContext
- Drupal\DrupalExtension\Context\MarkupContext
- Drupal\DrupalExtension\Context\MessageContext
- Drupal\Tests\oe_webtools\Behat\MinkContext
- Drupal\Tests\oe_webtools\Behat\WebtoolsAnalyticsMinkContext
- Drupal\Tests\oe_webtools\Behat\WebtoolsConfigContext
- Drupal\Tests\oe_webtools\Behat\WebtoolsCookieConsentContext:
selectors:
oembed_video: 'iframe'
- Drupal\Tests\oe_webtools\Behat\WebtoolsCleanupContext
- Drupal\Tests\oe_webtools\Behat\WebtoolsETransContext
- Drupal\Tests\oe_webtools\Behat\WebtoolsExtensionsContext
- Drupal\Tests\oe_webtools\Behat\WebtoolsGlobanContext
- Drupal\Tests\oe_webtools\Behat\WebtoolsMapsContext
- OpenEuropa\Behat\TransformationContext:
pages:
Webtools Analytics configuration: 'en/admin/config/system/oe_webtools_analytics'
Webtools Laco Widget configuration: 'en/admin/config/regional/oe_webtools_laco_widget'
Webtools Analytics rule creation: 'en/admin/structure/webtools_analytics_rule/add'
Webtools Analytics rule: 'en/admin/structure/webtools_analytics_rule'
Webtools Cookie Consent configuration: 'en/admin/config/system/oe_webtools_cookie_consent'
Webtools Globan configuration: 'en/admin/config/system/oe_webtools_globan'
filters:
tags: "~@static"
extensions:
Drupal\MinkExtension:
browserkit_http: ~
ajax_timeout: 10
browser_name: 'chrome'
javascript_session: 'selenium2'
selenium2:
wd_host: '${selenium.host}:${selenium.port}/wd/hub'
capabilities:
browser: chrome
nativeEvents: true
marionette: true
browserName: chrome
version: '*'
extra_capabilities:
chromeOptions:
w3c: false
args:
- '--no-sandbox'
- '--start-maximized'
- '--disable-gpu'
- '--window-size=1440,900'
- '--disable-dev-shm-usage'
- '--disable-setuid-sandbox'
- '--disable-web-security'
- '--DNS-prefetch-disable'
- '--disable-translate'
- '--ignore-certificate-errors'
- '--test-type'
- '--disable-extensions'
- '--incognito'
- '--disable-infobars'
base_url: "${drupal.base_url}"
Drupal\DrupalExtension:
api_driver: "drupal"
drupal:
drupal_root: "build"
region_map:
about dropdown menu: "#nav-menu-expandable-group-2"
corporate bottom footer: ".ecl-footer__corporate-bottom"
corporate top footer: ".ecl-footer__corporate-top"
custom footer: ".ecl-footer__custom"
header: ".ecl-site-header"
language dialog: ".ecl-dialog"
language switcher: ".ecl-language-list"
navigation: ".ecl-navigation-menu"
page: "body"
page header: ".ecl-page-header"
page header site identity: ".ecl-page-header__identity"
priorities dropdown menu: "#nav-menu-expandable-group-3"
selectors:
message_selector: ".messages"
error_message_selector: ".messages.messages--error"
formatters:
progress: ~
static:
suites:
default:
paths:
- "%paths.base%/tests/features"
contexts:
- Drupal\DrupalExtension\Context\MinkContext
- Drupal\Tests\oe_webtools\Behat\WebtoolsETransContext
- Drupal\Tests\oe_webtools\Behat\WebtoolsExtensionsContext
- Drupal\Tests\oe_webtools\Behat\WebtoolsMapsContext
filters:
tags: "@static"
extensions:
Drupal\MinkExtension:
browserkit_http: ~
ajax_timeout: 10
browser_name: 'chrome'
base_url: "${static_html.base_url}"
Drupal\DrupalExtension:
api_driver: "drupal"
drupal:
drupal_root: "build"
formatters:
progress: ~