forked from Catrobat/Catroweb
-
Notifications
You must be signed in to change notification settings - Fork 0
/
behat.yml.dist
328 lines (285 loc) · 13.1 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
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
default:
# --------------------------------------------------------------------------------------------------
# Output formatting:
# - only shows the progress in command line and then creates a new html report
# - default would be pretty
# - switch with explicit parameter "-f pretty" when running behat
#
formatters:
progress: true
# --------------------------------------------------------------------------------------------------
# Register all Extensions here:
#
extensions:
Behat\Symfony2Extension:
kernel:
bootstrap: config/bootstrap_test.php
class: App\Kernel
DMore\ChromeExtension\Behat\ServiceContainer\ChromeExtension: ~
Behat\MinkExtension:
browser_name: chrome
base_url: http://localhost/index_test.php/
sessions:
default:
chrome:
api_url: "http://localhost:9222"
download_behavior: allow
download_path: tests/testdata/UploadDownloadTemp
socket_timeout: 60
dom_wait_timeout: 10000
DVDoug\Behat\CodeCoverage\Extension:
filter:
include:
directories:
'src': ~
reports:
clover:
target: tests/testreports/coverage/behat/coverage.xml
# --------------------------------------------------------------------------------------------------
# Register test suites here:
#
# Note: Also define them in the github action workflows. Else they will not be checked automatically.
#
# The more suites the better.. why?
#
# - Easier parallelization in the test system (github actions)
# - Less Chrome Exception due to a less polluted cache during a suites execution
#
# Drawback the suite setup process (DB creation, .. ) is executed more often if you intend to run all suites at once
#
#
suites:
api-authentication:
paths: [ "tests/behat/features/api/authentication" ]
contexts:
- Tests\behat\context\RefreshEnvironmentContext
- Tests\behat\context\DataFixturesContext
- Tests\behat\context\ApiContext
- Tests\behat\context\CatrowebBrowserContext
api-mediapackage:
paths: [ "tests/behat/features/api/mediapackage" ]
contexts:
- Tests\behat\context\RefreshEnvironmentContext
- Tests\behat\context\DataFixturesContext
- Tests\behat\context\ApiContext
- Tests\behat\context\CatrowebBrowserContext
api-projects:
paths: [ "tests/behat/features/api/projects" ]
contexts:
- Tests\behat\context\RefreshEnvironmentContext
- Tests\behat\context\DataFixturesContext
- Tests\behat\context\ApiContext
- Tests\behat\context\CatrowebBrowserContext
api-user:
paths: [ "tests/behat/features/api/user" ]
contexts:
- Tests\behat\context\RefreshEnvironmentContext
- Tests\behat\context\DataFixturesContext
- Tests\behat\context\ApiContext
- Tests\behat\context\CatrowebBrowserContext
api-utility:
paths: [ "tests/behat/features/api/utility" ]
contexts:
- Tests\behat\context\RefreshEnvironmentContext
- Tests\behat\context\DataFixturesContext
- Tests\behat\context\ApiContext
- Tests\behat\context\CatrowebBrowserContext
### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ###
api-deprecated-general:
paths: [ "tests/behat/features/api-deprecated/general" ]
contexts:
- Tests\behat\context\RefreshEnvironmentContext
- Tests\behat\context\DataFixturesContext
- Tests\behat\context\CatrowebBrowserContext
- Tests\behat\context\ApiContext
api-deprecated-profile:
paths: [ "tests/behat/features/api-deprecated/profile" ]
contexts:
- Tests\behat\context\RefreshEnvironmentContext
- Tests\behat\context\DataFixturesContext
- Tests\behat\context\CatrowebBrowserContext
- Tests\behat\context\ApiContext
api-deprecated-project:
paths: [ "tests/behat/features/api-deprecated/project" ]
contexts:
- Tests\behat\context\RefreshEnvironmentContext
- Tests\behat\context\DataFixturesContext
- Tests\behat\context\CatrowebBrowserContext
- Tests\behat\context\ApiContext
api-deprecated-upload:
paths: [ "tests/behat/features/api-deprecated/upload" ]
contexts:
- Tests\behat\context\RefreshEnvironmentContext
- Tests\behat\context\DataFixturesContext
- Tests\behat\context\CatrowebBrowserContext
- Tests\behat\context\ApiContext
### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ###
web-admin:
paths: [ "tests/behat/features/web/admin" ]
contexts:
- Tests\behat\context\RefreshEnvironmentContext
- Tests\behat\context\DataFixturesContext
- Tests\behat\context\CatrowebBrowserContext
- Tests\behat\context\ApiContext
web-apk-generation:
paths: [ "tests/behat/features/web/apk-generation" ]
contexts:
- Tests\behat\context\RefreshEnvironmentContext
- Tests\behat\context\DataFixturesContext
- Tests\behat\context\CatrowebBrowserContext
- Tests\behat\context\ApiContext
web-authentication:
paths: [ "tests/behat/features/web/authentication" ]
contexts:
- Tests\behat\context\RefreshEnvironmentContext
- Tests\behat\context\DataFixturesContext
- Tests\behat\context\CatrowebBrowserContext
- Tests\behat\context\ApiContext
web-code-statistics:
paths:
- "tests/behat/features/web/code-statistics"
contexts:
- Tests\behat\context\RefreshEnvironmentContext
- Tests\behat\context\DataFixturesContext
- Tests\behat\context\CatrowebBrowserContext
- Tests\behat\context\ApiContext
web-code-view:
paths:
- "tests/behat/features/web/code-view"
contexts:
- Tests\behat\context\RefreshEnvironmentContext
- Tests\behat\context\DataFixturesContext
- Tests\behat\context\CatrowebBrowserContext
- Tests\behat\context\ApiContext
web-comments:
paths:
- "tests/behat/features/web/comments"
contexts:
- Tests\behat\context\RefreshEnvironmentContext
- Tests\behat\context\DataFixturesContext
- Tests\behat\context\CatrowebBrowserContext
- Tests\behat\context\ApiContext
web-general:
paths:
- "tests/behat/features/web/general"
contexts:
- Tests\behat\context\RefreshEnvironmentContext
- Tests\behat\context\DataFixturesContext
- Tests\behat\context\CatrowebBrowserContext
- Tests\behat\context\ApiContext
web-media-library:
paths:
- "tests/behat/features/web/media-library"
contexts:
- Tests\behat\context\RefreshEnvironmentContext
- Tests\behat\context\DataFixturesContext
- Tests\behat\context\CatrowebBrowserContext
- Tests\behat\context\ApiContext
web-notifications1:
paths: ["tests/behat/features/web/notifications1"]
contexts:
- Tests\behat\context\RefreshEnvironmentContext
- Tests\behat\context\DataFixturesContext
- Tests\behat\context\CatrowebBrowserContext
- Tests\behat\context\ApiContext
web-notifications2:
paths: ["tests/behat/features/web/notifications2"]
contexts:
- Tests\behat\context\RefreshEnvironmentContext
- Tests\behat\context\DataFixturesContext
- Tests\behat\context\CatrowebBrowserContext
- Tests\behat\context\ApiContext
web-notifications3:
paths: ["tests/behat/features/web/notifications3"]
contexts:
- Tests\behat\context\RefreshEnvironmentContext
- Tests\behat\context\DataFixturesContext
- Tests\behat\context\CatrowebBrowserContext
- Tests\behat\context\ApiContext
web-notifications4:
paths: ["tests/behat/features/web/notifications4"]
contexts:
- Tests\behat\context\RefreshEnvironmentContext
- Tests\behat\context\DataFixturesContext
- Tests\behat\context\CatrowebBrowserContext
- Tests\behat\context\ApiContext
web-profile:
paths: [ "tests/behat/features/web/profile" ]
contexts:
- Tests\behat\context\RefreshEnvironmentContext
- Tests\behat\context\DataFixturesContext
- Tests\behat\context\CatrowebBrowserContext
- Tests\behat\context\ApiContext
web-project:
paths: [ "tests/behat/features/web/project" ]
contexts:
- Tests\behat\context\RefreshEnvironmentContext
- Tests\behat\context\DataFixturesContext
- Tests\behat\context\CatrowebBrowserContext
- Tests\behat\context\ApiContext
web-project-details:
paths: [ "tests/behat/features/web/project-details" ]
contexts:
- Tests\behat\context\RefreshEnvironmentContext
- Tests\behat\context\DataFixturesContext
- Tests\behat\context\CatrowebBrowserContext
- Tests\behat\context\ApiContext
web-project-list:
paths: [ "tests/behat/features/web/project-list" ]
contexts:
- Tests\behat\context\RefreshEnvironmentContext
- Tests\behat\context\DataFixturesContext
- Tests\behat\context\CatrowebBrowserContext
- Tests\behat\context\ApiContext
web-reactions:
paths:
- "tests/behat/features/web/reactions"
contexts:
- Tests\behat\context\RefreshEnvironmentContext
- Tests\behat\context\DataFixturesContext
- Tests\behat\context\CatrowebBrowserContext
- Tests\behat\context\ApiContext
web-recommendations:
paths:
- "tests/behat/features/web/recommendations"
contexts:
- Tests\behat\context\RefreshEnvironmentContext
- Tests\behat\context\DataFixturesContext
- Tests\behat\context\CatrowebBrowserContext
- Tests\behat\context\ApiContext
web-remix-system:
paths:
- "tests/behat/features/web/remix-system"
contexts:
- Tests\behat\context\RefreshEnvironmentContext
- Tests\behat\context\DataFixturesContext
- Tests\behat\context\CatrowebBrowserContext
- Tests\behat\context\ApiContext
web-scratch-integration:
paths:
- "tests/behat/features/web/scratch-integration"
contexts:
- Tests\behat\context\RefreshEnvironmentContext
- Tests\behat\context\DataFixturesContext
- Tests\behat\context\CatrowebBrowserContext
- Tests\behat\context\ApiContext
web-search:
paths: [ "tests/behat/features/web/search" ]
contexts:
- Tests\behat\context\RefreshEnvironmentContext
- Tests\behat\context\DataFixturesContext
- Tests\behat\context\CatrowebBrowserContext
- Tests\behat\context\ApiContext
web-top-bar:
paths: [ "tests/behat/features/web/top-bar" ]
contexts:
- Tests\behat\context\RefreshEnvironmentContext
- Tests\behat\context\DataFixturesContext
- Tests\behat\context\CatrowebBrowserContext
- Tests\behat\context\ApiContext
# --------------------------------------------------------------------------------------------------
# Exclude specific tests based on their tags here:
#
gherkin:
filters:
tags: "@~disabled&&~wip&&~external"