This repository has been archived by the owner on Jul 27, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 21
/
behat.yml.dist
189 lines (188 loc) · 7.29 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
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
# Suites defaults.
.paths: &paths
- '%paths.base%/tests/features'
.contexts: &contexts
- Drupal\joinup\Context\BootstrapDrupalContext
- Drupal\DrupalExtension\Context\DrushContext
- Drupal\DrupalExtension\Context\MarkupContext
- Drupal\DrupalExtension\Context\MessageContext
# Todo: Restore alphabetical ordering for TallinnContext once it is
# possible to determine the execution order of Behat hooks.
# Ref. https://github.com/Behat/Behat/issues/62
# Ref. https://citnet.tech.ec.europa.eu/CITnet/jira/browse/ISAICP-6060
- Drupal\joinup\Context\TallinnContext
- Drupal\joinup\Context\AdmsValidatorContext
- Drupal\joinup\Context\AssetDistributionContext
- Drupal\joinup\Context\AssetReleaseContext
- Drupal\joinup\Context\CollectionContext
- Drupal\joinup\Context\ContactFormContext
- Drupal\joinup\Context\ContactInformationContext
- Drupal\joinup\Context\CustomPageContext
- Drupal\joinup\Context\DigitQaPipelineContext
- Drupal\joinup\Context\DrupalContext
- Drupal\joinup\Context\EifContext
- Drupal\joinup\Context\EuplContext
- Drupal\joinup\Context\Isa2AnalyticsContext
- Drupal\joinup\Context\JoinupCommunityContentContext
- Drupal\joinup\Context\JoinupContext
- Drupal\joinup\Context\JoinupCoreContext
- Drupal\joinup\Context\JoinupDiscussionContext
- Drupal\joinup\Context\JoinupDocumentContext
- Drupal\joinup\Context\JoinupEuLoginContext
- Drupal\joinup\Context\JoinupEventContext
- Drupal\joinup\Context\JoinupFeaturedContext
- Drupal\joinup\Context\JoinupFrontPageContext
- Drupal\joinup\Context\JoinupGroupContext
- Drupal\joinup\Context\JoinupInviteContext
- Drupal\joinup\Context\JoinupLegalContext
- Drupal\joinup\Context\JoinupLicenceContext
- Drupal\joinup\Context\JoinupNewsContext
- Drupal\joinup\Context\JoinupNewsletterContext
- Drupal\joinup\Context\JoinupNotificationContext
- Drupal\joinup\Context\JoinupParagraphsContext
- Drupal\joinup\Context\JoinupSearchContext
- Drupal\joinup\Context\JoinupSeoContext
- Drupal\joinup\Context\JoinupSubscriptionContext
- Drupal\joinup\Context\JoinupUserContext
- Drupal\joinup\Context\MinkContext
- Drupal\joinup\Context\ModerationContext
- Drupal\joinup\Context\OeNewsroomNewsletterContext
- Drupal\joinup\Context\OwnerContext
- Drupal\joinup\Context\RdfEntityProvenanceContext
- Drupal\joinup\Context\RdfGraphContext
- Drupal\joinup\Context\RssContext
- Drupal\joinup\Context\ScreenshotContext:
localDir: ${behat.screenshots.local.dir}
- Drupal\joinup\Context\SolutionContext
- Drupal\joinup\Context\WhatsNewContext
- Drupal\joinup\Context\WysiwygContext
- Drupal\Tests\cas_mock_server\Context\CasMockServerContext:
attributes_map:
firstName: First name
lastName: Last name
- Drupal\Tests\honeypot\Behat\HoneypotContext
- Drupal\Tests\message_digest\Behat\MessageDigestContext
- Drupal\Tests\oe_webtools\Behat\WebtoolsETransContext
- Drupal\Tests\oe_webtools\Behat\WebtoolsMapsContext
- Drupal\Tests\pipeline\Behat\PipelineContext
- Drupal\Tests\spdx\Behat\SpdxContext
- Drupal\joinup\Context\FeatureContext
- LoversOfBehat\TableExtension\Context\TableContext
# Default profile.
default:
suites:
group_a:
contexts: *contexts
paths: *paths
filters:
tags: '~@wip&&@group-a'
group_b:
contexts: *contexts
paths: *paths
filters:
tags: '~@wip&&@group-b'
group_c:
contexts: *contexts
paths: *paths
filters:
tags: '~@wip&&@group-c'
group_d:
contexts: *contexts
paths: *paths
filters:
tags: '~@wip&&@group-d'
group_e:
contexts: *contexts
paths: *paths
filters:
tags: '~@wip&&@group-e'
group_f:
contexts: *contexts
paths: *paths
filters:
tags: '~@wip&&@group-f'
group_g:
contexts: *contexts
paths: *paths
filters:
tags: '~@wip&&@group-g'
default:
contexts: *contexts
paths: *paths
filters:
tags: '~@wip&&~@group-a&&~@group-b&&~@group-c&&~@group-d&&~@group-e&&~@group-f&&~@group-g'
extensions:
Drupal\MinkExtension:
base_url: ${env.DRUPAL_BASE_URL}
ajax_timeout: 10
files_path: ${joinup.dir}/tests/fixtures/files
goutte: ~
javascript_session: selenium2
browser_name: ${behat.browser_name}
selenium2:
wd_host: ${env.WEBDRIVER_URL}
capabilities: {"browserName": "chrome", "browser": "chrome", 'chrome': {'switches':['--no-sandbox']}}
LoversOfBehat\TableExtension:
table_map:
'group menu edit table': '#menu-overview'
'eif recommendations': '.eif-recommendations table'
'member administration': '.og-members-overview table'
'member permissions': 'table.form-table__member-permissions'
'licence comparer': 'table[data-drupal-selector="licence-comparer"]'
'pipeline log': 'table.joinup-pipeline-log-table'
'subscribers report': 'table'
Drupal\DrupalExtension:
api_driver: 'drupal'
blackbox: ~
region_map:
Administration toolbar: '#toolbar-administration'
Comment: '.comments-section'
Content listing field filter form: '.field--name-field-content-listing'
Contact information inline form: '#edit-field-ar-contact-information-wrapper'
Content: '.section--content-middle'
Cookie consent banner: '#cookie-consent-banner'
Entity actions: '.block-joinup-local-tasks-block'
Footer: '.section--footer'
Header menu: '#block-joinup-theme-main-menu'
Header: '.section--featured'
Left sidebar: '.section--sidebar-left'
Main solution vertical tab: '#edit-group-main'
Management solution vertical tab: '#edit-group-management'
Members admin form header: '#edit-header'
Members admin form actions: '#edit-action'
Modal buttons: '.ui-dialog-buttonpane'
Modal content: '#drupal-modal'
Modal title: '.ui-dialog-title'
My unpublished content area: '.block-user-unpublished'
Navigation menu block: '#block-navigation'
Navigation menu: 'div.navigation-menu ul'
Page title: 'div.page__title-wrapper'
Pager: 'nav.pager'
Plus button menu: 'div.add-content-menu'
Primary menu: '.region-primary-menu'
Related solutions: '.field--name-field-is-related-solutions'
SevenHeader: '.region-header'
Table of contents: '#block-table-of-contents'
Table of contents outline: '#block-toc-outline'
Unpublished content area: '.block-entity-unpublished'
Statistics: '#block-statistics'
drupal:
drupal_root: ${joinup.site_dir}
selectors:
message_selector: '.alert, .messages'
error_message_selector: '.alert.alert--error, .messages.message--error'
success_message_selector: '.alert.alert--status, .messages.messages--status'
warning_message_selector: '.alert.alert--warning, .messages.message--warning'
login_form_selector: '#user-login-form'
subcontexts:
autoload: false
paths: []
text:
log_in: 'Sign in'
log_out: 'Sign out'
username_field: 'Email or username'
FriendsOfBehat\ServiceContainerExtension:
imports:
- ${joinup.dir}/vendor/drupaltest/behat-one-time-login/behat.services.yml
formatters:
${behat.formatter.name}: ~