forked from openeuropa/oe_theme
-
Notifications
You must be signed in to change notification settings - Fork 0
/
behat.yml.dist
44 lines (44 loc) · 1.57 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
default:
suites:
default:
paths:
- %paths.base%/tests/features
contexts:
- Drupal\DrupalExtension\Context\MinkContext
- Drupal\DrupalExtension\Context\DrupalContext
- Drupal\DrupalExtension\Context\MarkupContext
- Drupal\Tests\oe_theme\Behat\DrupalContext
- Drupal\Tests\oe_theme\Behat\MinkContext
- Drupal\Tests\oe_theme\Behat\TransformationContext:
elements:
logo: "a.ecl-logo"
breadcrumb: "nav.ecl-breadcrumbs"
corporate block: ".demo-block-footer-corporate"
identity block: ".demo-block-footer-identity"
contacts block: ".demo-block-footer-ec"
sites switcher: ".demo-block-site-switcher"
search box: ".demo-block-header-search"
language switcher: ".demo-block-language-switcher"
pages:
login: "/user/login"
extensions:
Behat\MinkExtension:
goutte: ~
selenium2: ~
javascript_session: selenium2
base_url: "${drupal.base_url}"
Drupal\DrupalExtension:
api_driver: "drupal"
drupal:
drupal_root: "build"
region_map:
page: "body"
header: ".ecl-site-header"
navigation: ".ecl-navigation-menu"
about dropdown menu: "#nav-menu-expandable-group-2"
priorities dropdown menu: "#nav-menu-expandable-group-3"
identity footer: ".ecl-footer__site-identity"
corporate footer: ".ecl-footer__site-corporate"
contacts footer: ".ecl-footer__ec"
formatters:
progress: ~