This repository has been archived by the owner on Nov 16, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 10
/
behat.yml.dist
46 lines (46 loc) · 1.6 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
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
filters:
tags: "${behat.tags}"
extensions:
Drupal\MinkExtension:
goutte: ~
ajax_timeout: 10
browser_name: '${selenium.browser}'
javascript_session: 'selenium2'
selenium2:
wd_host: '${selenium.host}:${selenium.port}/wd/hub'
capabilities: { "browser": '${selenium.browser}', "version": "*" }
base_url: "${drupal.base_url}"
Drupal\DrupalExtension:
api_driver: "drupal"
drupal:
drupal_root: "${drupal.root}"
region_map:
page: "body"
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: ~