-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathbehat.yml.dist
69 lines (69 loc) · 2.31 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
default:
suites:
default:
paths:
- '%paths.base%/tests/features'
contexts:
- Drupal\DrupalExtension\Context\MarkupContext
- Drupal\DrupalExtension\Context\MessageContext
- Drupal\DrupalExtension\Context\MinkContext
- OpenEuropa\Site\Tests\Behat\DrupalContext
- OpenEuropa\Site\Tests\Behat\FeatureContext
- DrevOps\BehatScreenshotExtension\Context\ScreenshotContext
- rdx\behatvars\BehatVariablesContext
- Drupal\Tests\oe_media\Behat\MediaContext
filters:
tags: "~@wip"
extensions:
rdx\behatvars\BehatVariablesExtension: ~
DrevOps\BehatScreenshotExtension:
dir: '%paths.base%/tests/screenshots'
fail: true
fail_prefix: 'failed_'
purge: true
Drupal\MinkExtension:
files_path: '%paths.base%/tests/fixtures/'
goutte: ~
ajax_timeout: 10
browser_name: 'chrome'
javascript_session: 'selenium2'
selenium2:
wd_host: 'http://selenium-chrome:4444/wd/hub'
capabilities:
browser: 'chrome'
marionette: true
chrome:
switches:
- "--headless"
- "--disable-gpu"
- "--no-sandbox"
- "--disable-dev-shm-usage"
extra_capabilities:
unexpectedAlertBehaviour: accept
goog:chromeOptions:
w3c: false
base_url: "http://eic-community.ddev.site"
Drupal\DrupalExtension:
api_driver: "drupal"
drupal:
drupal_root: "web"
region_map:
page: "body"
content: ".ecl-editorial-article"
header: ".ecl-site-header"
page header: ".ecl-page-header__body"
navigation: ".ecl-navigation-menu"
custom footer: ".ecl-footer__custom"
corporate top footer: ".ecl-footer__corporate-top"
corporate bottom footer: ".ecl-footer__corporate-bottom"
selectors:
message_selector: '.ecl-message,.messages'
error_message_selector: '.ecl-message--error,.messages--error'
success_message_selector: '.ecl-message--success,.messages--status'
warning_message_selector: '.ecl-message--warning,.messages--warning'
login_form_selector: '#user-login-form'
text:
log_in: 'Log in'
log_out: 'Log out'
formatters:
progress: ~