This repository has been archived by the owner on Jun 11, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
behat.yml.dist
58 lines (58 loc) · 2.41 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
default:
suites:
default:
contexts:
- Drupal\DrupalExtension\Context\DrupalContext
- Drupal\DrupalExtension\Context\MarkupContext
- Ec\Europa\EuropaDemo\Behat\TransformationContext:
elements:
about dropdown menu: "#nav-menu-expandable-group-2 .ecl-navigation-menu__links"
banner title: ".ecl-banner__title"
breadcrumb: "nav.ecl-breadcrumb"
corporate top block: ".demo-block-footer-corporate-top"
corporate bottom block: ".demo-block-footer-corporate-bottom"
custom block: ".demo-block-footer-custom"
hero: ".page-header__hero-title"
language switcher: ".ecl-language-list"
language switcher overlay: ".ecl-dialog__body"
language switcher link: ".ecl-lang-select-sites__link .ecl-lang-select-sites__label"
logo: "a.ecl-logo"
page header: ".ecl-page-header__body"
priorities dropdown menu: "#nav-menu-expandable-group-3 .ecl-navigation-menu__links"
sites switcher: ".demo-block-site-switcher"
search box: ".demo-block-header-search"
pages:
create Landing: "/en/node/add/landing_page"
ECL components overview: "/en/components"
front: "/en/node/1"
non-existing: "/non-existing"
administrative: "/en/admin"
- Ec\Europa\EuropaDemo\Behat\WebtoolsContext
- Ec\Europa\EuropaDemo\Behat\MinkContext
extensions:
Behat\MinkExtension:
goutte: ~
browser_name: 'chrome'
javascript_session: 'selenium2'
selenium2:
wd_host: '${selenium.host}:${selenium.port}/wd/hub'
capabilities: { "browser": "chrome", "version": "*" }
base_url: "${drupal.base_url}"
Drupal\DrupalExtension:
api_driver: "drupal"
drupal:
drupal_root: "build"
region_map:
banner: ".ecl-banner"
custom footer: ".ecl-footer__custom"
corporate top footer: ".ecl-footer__corporate-top"
corporate bottom footer: ".ecl-footer__corporate-bottom"
header: ".ecl-site-header"
message: ".ecl-message"
navigation: ".ecl-navigation-menu"
page: "body"
page header: ".ecl-page-header__body"
content: "section.main-content"
language switcher: ".ecl-language-list .ecl-dialog"
formatters:
progress: ~