-
Notifications
You must be signed in to change notification settings - Fork 0
/
behat.yml.dist
93 lines (93 loc) · 4.47 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
default:
suites:
default:
paths:
- %paths.base%/tests/features
contexts:
- Drupal\DrupalExtension\Context\DrupalContext
- Drupal\DrupalExtension\Context\MarkupContext
- Drupal\Tests\oe_content\Behat\DateFieldContext
- Drupal\Tests\oe_media\Behat\MediaContext
- Drupal\Tests\oe_theme\Behat\DrupalContext
- Drupal\Tests\oe_theme\Behat\MinkContext
- Drupal\Tests\oe_theme\Behat\OeThemeTestContext
- Drupal\Tests\oe_theme\Behat\CleanupContext
- Drupal\Tests\oe_theme\Behat\EventContext
- Drupal\Tests\oe_theme\Behat\PreserveAnonymousPermissionsContext
- Drupal\Tests\oe_content\Behat\Content\CorporateContentContext
- Drupal\Tests\oe_content\Behat\Content\Node\EventContentContext
- Drupal\Tests\oe_content\Behat\Content\Venue\DefaultVenueContext
- Drupal\Tests\oe_content\Behat\Content\Contact\GeneralContactContext
- Drupal\Tests\oe_content\Behat\Content\Contact\PressContactContext
- OpenEuropa\Behat\TransformationContext:
elements:
about dropdown menu: ".ecl-menu-legacy__item:nth-child(2) .ecl-menu-legacy__mega"
breadcrumb: "nav.ecl-breadcrumb"
dropdown content: ".ecl-unordered-list"
language switcher: ".ecl-language-list"
language switcher link: ".ecl-site-header__selector"
language switcher links: ".ecl-language-list--overlay"
list item: ".ecl-content-item"
list item image: ".ecl-content-item__image__before"
logo: ".ecl-site-header__logo-image"
media container: ".ecl-media-container"
page header: ".ecl-page-header"
priorities dropdown menu: ".ecl-menu-legacy__item:nth-child(3) .ecl-menu-legacy__mega"
search form: ".ecl-search-form"
pages:
content management: "/en/admin/content"
ECL components overview: "/en/components"
ECL dropdown component: "/en/components/dropdown"
event creation: "/en/node/add/oe_event"
image creation: "/en/media/add/image"
recent content: "/en/node"
user registration: "/user/register"
home: "/en"
extensions:
Drupal\MinkExtension:
goutte: ~
ajax_timeout: 10
browser_name: 'chrome'
javascript_session: 'selenium2'
selenium2:
wd_host: '${selenium.host}:${selenium.port}/wd/hub'
capabilities: { "browser": "chrome", "version": "*" }
base_url: "${drupal.base_url}"
files_path: "%paths.base%/tests/fixtures/"
Drupal\DrupalExtension:
api_driver: "drupal"
drupal:
drupal_root: "build"
subcontexts:
paths:
- "%paths.base%/build/modules/contrib/datetime_testing"
region_map:
about dropdown menu: ".ecl-menu-legacy__item:nth-child(2) .ecl-menu-legacy__mega"
footer: "footer.ecl-footer"
header: ".ecl-site-header"
language dialog: ".ecl-dialog"
language switcher: ".ecl-language-list"
language page switcher: ".ecl-page-header .ecl-lang-select-page"
navigation: ".ecl-menu-legacy"
page: "body"
page header: ".ecl-page-header"
page header site identity: "h2.ecl-u-type-heading-2"
page header title: ".ecl-page-header .ecl-page-header__title"
page header intro: ".ecl-page-header .ecl-page-header__description"
page header meta: ".ecl-page-header .ecl-page-header__meta-list"
priorities dropdown menu: ".ecl-menu-legacy__item:nth-child(3) .ecl-menu-legacy__mega"
selected language in the language page switcher: ".ecl-page-header .ecl-lang-select-page .ecl-lang-select-page__option--is-selected"
unavailable languages in the language page switcher: ".ecl-page-header .ecl-lang-select-page .ecl-lang-select-page__unavailable"
Social media links: "#oe-social-media-links-values"
Social media follow: ".ecl-social-media-follow"
event contacts: "#event-contacts"
event general contacts: "#event-contacts-general"
event press contacts: "#event-contacts-press"
event registration: "#event-registration-block"
event details: "#event-details"
event practical information: "#event-practical-information"
FriendsOfBehat\ServiceContainerExtension:
imports:
- 'build/modules/contrib/oe_content/tests/Behat/config/services.yml'
formatters:
progress: ~