Acceptance criteria:
- All api-testing tests for extensions/skins pass when temp accounts are enabled
Status (23 May 2024):
1 | 11:24:08 > wikibase-rest-api-definition@0.1.0 api-testing:e2e |
---|---|
2 | 11:24:08 > npm run mocha -- --recursive tests/mocha/api-testing |
3 | 11:24:08 |
4 | 11:24:09 |
5 | 11:24:09 > wikibase-rest-api-definition@0.1.0 mocha |
6 | 11:24:09 > mocha --timeout 0 --inline-diffs --recursive tests/mocha/api-testing |
7 | 11:24:09 |
8 | 11:24:10 |
9 | 11:24:10 |
10 | 11:24:10 addItemAliasesInLanguage |
11 | 11:24:12 ✔ responds 404 if the item does not exist (286ms) |
12 | 11:24:13 ✔ responds 409 if the item is a redirect (455ms) |
13 | 11:24:13 20x success response |
14 | 11:24:13 ✔ can create a new list of aliases with edit metadata omitted (223ms) |
15 | 11:24:13 ✔ can add to an existing list of aliases with edit metadata omitted (198ms) |
16 | 11:24:15 ✔ can add aliases with edit metadata provided (1802ms) |
17 | 11:24:15 400 error response |
18 | 11:24:15 ✔ invalid item id (84ms) |
19 | 11:24:15 ✔ should have sitelink change dispatched (90ms) |
20 | 11:24:15 ✔ invalid language code (97ms) |
21 | 11:24:15 ✔ alias is empty (48ms) |
22 | 11:24:15 ✔ should have sitelink usage (69ms) |
23 | 11:24:15 ✔ alias list is empty (41ms) |
24 | 11:24:15 ✔ should have wikibase_item page prop (62ms) |
25 | 11:24:15 item deletion |
26 | 11:24:15 ✔ alias too long (68ms) |
27 | 11:24:15 ✔ alias contains invalid characters (42ms) |
28 | 11:24:15 ✔ duplicate input aliases (63ms) |
29 | 11:24:15 ✔ input alias already exist (88ms) |
30 | 11:24:15 |
31 | 11:24:15 addItemStatement |
32 | 11:24:17 ✔ should dispatch item deletion (110ms) |
33 | 11:24:17 201 success response |
34 | 11:24:17 ✔ should not have sitelink usage (49ms) |
35 | 11:24:17 ✔ should not have wikibase_item page prop |
36 | 11:24:17 |
37 | 11:24:17 data value normalization |
38 | 11:24:17 ✔ can add a statement to an item with edit metadata omitted (311ms) |
39 | 11:24:18 ✔ can add a statement to an item with edit metadata provided (342ms) |
40 | 11:24:18 ✔ can add a statement with a globecoordinate value in new format (443ms) |
41 | 11:24:18 ✔ can add a statement with a time value in new format (420ms) |
42 | 11:24:19 ✔ can add a statement with a wikibase-entityid value in new format (356ms) |
43 | 11:24:19 400 error response |
44 | 11:24:19 ✔ invalid Item ID (39ms) |
45 | 11:24:19 ✔ comment too long (54ms) |
46 | 11:24:19 ✔ invalid edit tag (47ms) |
47 | 11:24:19 ✔ invalid bot flag (58ms) |
48 | 11:24:19 ✔ invalid comment (53ms) |
49 | 11:24:19 ✔ invalid statement field (82ms) |
50 | 11:24:19 ✔ missing statement field |
51 | 11:24:19 404 error response |
52 | 11:24:19 ✔ normalize Commons media (273ms) |
53 | 11:24:19 ✔ item not found (85ms) |
54 | 11:24:19 409 error response |
55 | 11:24:19 ✔ normalize Unicode string (218ms) |
56 | 11:24:19 |
57 | 11:24:19 Label Rendering in Comments |
58 | 11:24:20 ✔ item is a redirect (489ms) |
59 | 11:24:20 |
60 | 11:24:20 addPropertyAliasesInLanguage |
61 | 11:24:21 ✔ responds 404 if the property does not exist (90ms) |
62 | 11:24:21 20x success response |
63 | 11:24:21 1) "before all" hook: create string property for "renders entity labels in parsed edit summaries in API requests" |
64 | 11:24:21 |
65 | 11:24:21 Lua Wikibase integration |
66 | 11:24:21 ✔ can add to an existing list of aliases with edit metadata omitted (221ms) |
67 | 11:24:22 ✔ can add aliases with edit metadata provided (332ms) |
68 | 11:24:22 ✔ can create a new list of aliases with edit metadata omitted (231ms) |
69 | 11:24:22 400 error response |
70 | 11:24:22 ✔ invalid property id (73ms) |
71 | 11:24:22 ✔ invalid language code (65ms) |
72 | 11:24:22 ✔ alias is empty (82ms) |
73 | 11:24:22 ✔ alias list is empty (73ms) |
74 | 11:24:22 ✔ alias too long (80ms) |
75 | 11:24:22 ✔ alias contains invalid characters (73ms) |
76 | 11:24:22 ✔ duplicate input aliases (80ms) |
77 | 11:24:23 ✔ input alias already exist (65ms) |
78 | 11:24:23 |
79 | 11:24:23 addPropertyStatement |
80 | 11:24:24 201 success response |
81 | 11:24:24 ✔ can add a statement to a property with edit metadata omitted (277ms) |
82 | 11:24:24 ✔ can add a statement to a property with edit metadata (202ms) |
83 | 11:24:25 ✔ can add a statement with a globecoordinate value in new format (477ms) |
84 | 11:24:25 ✔ can add a statement with a time value in new format (516ms) |
85 | 11:24:26 ✔ can add a statement with a wikibase-entityid value in new format (564ms) |
86 | 11:24:26 400 error response |
87 | 11:24:26 ✔ invalid request data (72ms) |
88 | 11:24:26 ✔ invalid property id (45ms) |
89 | 11:24:26 ✔ comment too long (70ms) |
90 | 11:24:26 ✔ invalid edit tag (64ms) |
91 | 11:24:26 ✔ invalid statement field (92ms) |
92 | 11:24:26 ✔ missing statement field (70ms) |
93 | 11:24:26 404 error response |
94 | 11:24:26 ✔ property not found (83ms) |
95 | 11:24:26 |
96 | 11:24:26 Auth |
97 | 11:24:27 ✔ getLabel can be invoked correctly (622ms) |
98 | 11:24:27 ✔ getLabel returns the label of the redirect target for a redirected item (447ms) |
99 | 11:24:28 ✔ getLabel can be invoked correctly with strange uselang query param (851ms) |
100 | 11:24:28 ✔ getLabelByLang can be invoked correctly (549ms) |
101 | 11:24:29 ✔ reassigning entity ID has no impact on usage tracking (767ms) |
102 | 11:24:30 Authentication |
103 | 11:24:30 addItemStatement |
104 | 11:24:30 ✔ getLabelByLang returns the label of the redirect target for a redirected item (487ms) |
105 | 11:24:30 ✔ has an X-Authenticated-User header with the logged in user (178ms) |
106 | 11:24:30 OAuth |
107 | 11:24:30 - responds with an error given an invalid bearer token |
108 | 11:24:30 replaceItemStatement |
109 | 11:24:30 ✔ has an X-Authenticated-User header with the logged in user (191ms) |
110 | 11:24:30 OAuth |
111 | 11:24:30 - responds with an error given an invalid bearer token |
112 | 11:24:30 replaceStatement |
113 | 11:24:30 ✔ has an X-Authenticated-User header with the logged in user (186ms) |
114 | 11:24:30 OAuth |
115 | 11:24:30 - responds with an error given an invalid bearer token |
116 | 11:24:30 deleteItemStatement |
117 | 11:24:30 ✔ getEntity_claims can be invoked correctly (519ms) |
118 | 11:24:30 ✔ has an X-Authenticated-User header with the logged in user (123ms) |
119 | 11:24:31 ✔ getEntity_claims can be invoked not yet existing property (784ms) |
120 | 11:24:31 OAuth |
121 | 11:24:31 - responds with an error given an invalid bearer token |
122 | 11:24:31 deleteStatement |
123 | 11:24:31 ✔ has an X-Authenticated-User header with the logged in user (196ms) |
124 | 11:24:32 ✔ getEntity_aliases can be invoked correctly (641ms) |
125 | 11:24:32 ✔ getEntity_labels can be invoked correctly (524ms) |
126 | 11:24:32 OAuth |
127 | 11:24:32 - responds with an error given an invalid bearer token |
128 | 11:24:32 patchItemStatement |
129 | 11:24:33 ✔ has an X-Authenticated-User header with the logged in user (152ms) |
130 | 11:24:33 OAuth |
131 | 11:24:33 - responds with an error given an invalid bearer token |
132 | 11:24:33 patchStatement |
133 | 11:24:33 ✔ has an X-Authenticated-User header with the logged in user (170ms) |
134 | 11:24:33 OAuth |
135 | 11:24:33 - responds with an error given an invalid bearer token |
136 | 11:24:33 replaceItemLabel |
137 | 11:24:33 ✔ has an X-Authenticated-User header with the logged in user (301ms) |
138 | 11:24:33 OAuth |
139 | 11:24:33 - responds with an error given an invalid bearer token |
140 | 11:24:33 replaceItemDescription |
141 | 11:24:33 ✔ getDescription can be invoked correctly (956ms) |
142 | 11:24:33 ✔ has an X-Authenticated-User header with the logged in user (190ms) |
143 | 11:24:33 OAuth |
144 | 11:24:33 - responds with an error given an invalid bearer token |
145 | 11:24:33 setSitelink |
146 | 11:24:34 ✔ has an X-Authenticated-User header with the logged in user (280ms) |
147 | 11:24:34 ✔ formatValue can be invoked correctly (997ms) |
148 | 11:24:34 OAuth |
149 | 11:24:34 - responds with an error given an invalid bearer token |
150 | 11:24:34 patchSitelinks |
151 | 11:24:34 ✔ has an X-Authenticated-User header with the logged in user (210ms) |
152 | 11:24:35 ✔ formatValue uses the label of the redirect target for a redirected item (570ms) |
153 | 11:24:35 ensure resilience of label and description usage tracking => T287704 |
154 | 11:24:35 ✔ gets the empty label with nil as language and doesnt break addLabelUsage (390ms) |
155 | 11:24:35 OAuth |
156 | 11:24:35 - responds with an error given an invalid bearer token |
157 | 11:24:35 patchItemLabels |
158 | 11:24:35 ✔ gets the empty label with an object as language and doesnt break addLabelUsage (368ms) |
159 | 11:24:36 ✔ has an X-Authenticated-User header with the logged in user (196ms) |
160 | 11:24:36 OAuth |
161 | 11:24:36 - responds with an error given an invalid bearer token |
162 | 11:24:36 patchItemDescriptions |
163 | 11:24:36 ✔ has an X-Authenticated-User header with the logged in user (138ms) |
164 | 11:24:36 OAuth |
165 | 11:24:36 - responds with an error given an invalid bearer token |
166 | 11:24:36 patchItemAliases |
167 | 11:24:36 ✔ has an X-Authenticated-User header with the logged in user (168ms) |
168 | 11:24:36 OAuth |
169 | 11:24:36 - responds with an error given an invalid bearer token |
170 | 11:24:36 addItemAliasesInLanguage |
171 | 11:24:36 ✔ has an X-Authenticated-User header with the logged in user (133ms) |
172 | 11:24:36 OAuth |
173 | 11:24:36 - responds with an error given an invalid bearer token |
174 | 11:24:36 deleteItemLabel |
175 | 11:24:36 ✔ has an X-Authenticated-User header with the logged in user (172ms) |
176 | 11:24:36 ✔ gets the empty label with an integer as language and doesnt break addLabelUsage (812ms) |
177 | 11:24:37 ✔ gets the empty label with an invalid language and doesnt break addLabelUsage (625ms) |
178 | 11:24:37 OAuth |
179 | 11:24:37 - responds with an error given an invalid bearer token |
180 | 11:24:37 deleteItemDescription |
181 | 11:24:37 ✔ has an X-Authenticated-User header with the logged in user (127ms) |
182 | 11:24:38 ✔ gets the empty description with nil as language and doesnt break addDescriptionUsage (768ms) |
183 | 11:24:38 OAuth |
184 | 11:24:38 - responds with an error given an invalid bearer token |
185 | 11:24:38 deleteSitelink |
186 | 11:24:38 ✔ has an X-Authenticated-User header with the logged in user (163ms) |
187 | 11:24:38 ✔ gets the empty description with an object as language and doesnt break addDescriptionUsage (782ms) |
188 | 11:24:39 OAuth |
189 | 11:24:39 - responds with an error given an invalid bearer token |
190 | 11:24:39 patchPropertyLabels |
191 | 11:24:39 ✔ has an X-Authenticated-User header with the logged in user (154ms) |
192 | 11:24:39 OAuth |
193 | 11:24:39 - responds with an error given an invalid bearer token |
194 | 11:24:39 patchPropertyDescriptions |
195 | 11:24:39 ✔ has an X-Authenticated-User header with the logged in user (196ms) |
196 | 11:24:39 OAuth |
197 | 11:24:39 - responds with an error given an invalid bearer token |
198 | 11:24:39 patchPropertyAliases |
199 | 11:24:39 ✔ has an X-Authenticated-User header with the logged in user (160ms) |
200 | 11:24:39 OAuth |
201 | 11:24:39 - responds with an error given an invalid bearer token |
202 | 11:24:39 addPropertyAliasesInLanguage |
203 | 11:24:39 ✔ has an X-Authenticated-User header with the logged in user (116ms) |
204 | 11:24:39 OAuth |
205 | 11:24:39 - responds with an error given an invalid bearer token |
206 | 11:24:39 addPropertyStatement |
207 | 11:24:39 ✔ gets the empty description with an integer as language and doesnt break addDescriptionUsage (760ms) |
208 | 11:24:39 ✔ has an X-Authenticated-User header with the logged in user (128ms) |
209 | 11:24:39 OAuth |
210 | 11:24:39 - responds with an error given an invalid bearer token |
211 | 11:24:39 replacePropertyStatement |
212 | 11:24:39 ✔ has an X-Authenticated-User header with the logged in user (102ms) |
213 | 11:24:39 OAuth |
214 | 11:24:39 - responds with an error given an invalid bearer token |
215 | 11:24:39 replaceStatement |
216 | 11:24:39 ✔ has an X-Authenticated-User header with the logged in user (96ms) |
217 | 11:24:39 OAuth |
218 | 11:24:39 - responds with an error given an invalid bearer token |
219 | 11:24:39 patchPropertyStatement |
220 | 11:24:40 ✔ has an X-Authenticated-User header with the logged in user (137ms) |
221 | 11:24:40 OAuth |
222 | 11:24:40 - responds with an error given an invalid bearer token |
223 | 11:24:40 deletePropertyStatement |
224 | 11:24:40 ✔ gets the empty description with an invalid language and doesnt break addDescriptionUsage (465ms) |
225 | 11:24:40 |
226 | 11:24:40 namespaces |
227 | 11:24:40 ✔ has an X-Authenticated-User header with the logged in user (163ms) |
228 | 11:24:40 OAuth |
229 | 11:24:40 - responds with an error given an invalid bearer token |
230 | 11:24:40 deleteStatement |
231 | 11:24:40 ✔ has an X-Authenticated-User header with the logged in user (181ms) |
232 | 11:24:40 OAuth |
233 | 11:24:40 - responds with an error given an invalid bearer token |
234 | 11:24:40 replacePropertyLabel |
235 | 11:24:41 ✔ has an X-Authenticated-User header with the logged in user (142ms) |
236 | 11:24:41 OAuth |
237 | 11:24:41 - responds with an error given an invalid bearer token |
238 | 11:24:41 replacePropertyDescription |
239 | 11:24:41 ✔ has an X-Authenticated-User header with the logged in user (129ms) |
240 | 11:24:41 OAuth |
241 | 11:24:41 - responds with an error given an invalid bearer token |
242 | 11:24:41 deletePropertyLabel |
243 | 11:24:41 ✔ has an X-Authenticated-User header with the logged in user (128ms) |
244 | 11:24:41 OAuth |
245 | 11:24:41 - responds with an error given an invalid bearer token |
246 | 11:24:41 deletePropertyDescription |
247 | 11:24:41 ✔ has an X-Authenticated-User header with the logged in user (147ms) |
248 | 11:24:41 ✔ 120 has defaultcontentmodel wikibase-item |
249 | 11:24:41 ✔ 122 has defaultcontentmodel wikibase-property |
250 | 11:24:41 |
251 | 11:24:41 sitelink redirect behavior with badges |
252 | 11:24:41 OAuth |
253 | 11:24:41 - responds with an error given an invalid bearer token |
254 | 11:24:41 patchProperty |
255 | 11:24:42 ✔ has an X-Authenticated-User header with the logged in user (127ms) |
256 | 11:24:42 OAuth |
257 | 11:24:42 - responds with an error given an invalid bearer token |
258 | 11:24:42 getItemStatements |
259 | 11:24:42 ✔ has an X-Authenticated-User header with the logged in user (50ms) |
260 | 11:24:42 OAuth |
261 | 11:24:42 - responds with an error given an invalid bearer token |
262 | 11:24:42 getItemStatement |
263 | 11:24:42 ✔ has an X-Authenticated-User header with the logged in user (47ms) |
264 | 11:24:42 OAuth |
265 | 11:24:42 - responds with an error given an invalid bearer token |
266 | 11:24:42 getItem |
267 | 11:24:42 ✔ has an X-Authenticated-User header with the logged in user (49ms) |
268 | 11:24:42 OAuth |
269 | 11:24:42 - responds with an error given an invalid bearer token |
270 | 11:24:42 getItemAliasesInLanguage |
271 | 11:24:42 ✔ has an X-Authenticated-User header with the logged in user (51ms) |
272 | 11:24:42 OAuth |
273 | 11:24:42 - responds with an error given an invalid bearer token |
274 | 11:24:42 getItemAliases |
275 | 11:24:42 ✔ has an X-Authenticated-User header with the logged in user (49ms) |
276 | 11:24:42 OAuth |
277 | 11:24:42 - responds with an error given an invalid bearer token |
278 | 11:24:42 getItemDescription |
279 | 11:24:42 ✔ has an X-Authenticated-User header with the logged in user (44ms) |
280 | 11:24:42 OAuth |
281 | 11:24:42 - responds with an error given an invalid bearer token |
282 | 11:24:42 getItemDescriptions |
283 | 11:24:42 ✔ has an X-Authenticated-User header with the logged in user (51ms) |
284 | 11:24:42 OAuth |
285 | 11:24:42 - responds with an error given an invalid bearer token |
286 | 11:24:42 getItemLabel |
287 | 11:24:42 ✔ has an X-Authenticated-User header with the logged in user (42ms) |
288 | 11:24:42 OAuth |
289 | 11:24:42 - responds with an error given an invalid bearer token |
290 | 11:24:42 getItemLabels |
291 | 11:24:42 ✔ has an X-Authenticated-User header with the logged in user (41ms) |
292 | 11:24:42 OAuth |
293 | 11:24:42 - responds with an error given an invalid bearer token |
294 | 11:24:42 getStatement |
295 | 11:24:42 ✔ has an X-Authenticated-User header with the logged in user |
296 | 11:24:42 OAuth |
297 | 11:24:42 - responds with an error given an invalid bearer token |
298 | 11:24:42 getSitelinks |
299 | 11:24:42 ✔ has an X-Authenticated-User header with the logged in user (48ms) |
300 | 11:24:42 OAuth |
301 | 11:24:42 - responds with an error given an invalid bearer token |
302 | 11:24:42 getSitelink |
303 | 11:24:42 ✔ has an X-Authenticated-User header with the logged in user (43ms) |
304 | 11:24:42 OAuth |
305 | 11:24:42 - responds with an error given an invalid bearer token |
306 | 11:24:42 getProperty |
307 | 11:24:42 ✔ has an X-Authenticated-User header with the logged in user (45ms) |
308 | 11:24:42 OAuth |
309 | 11:24:42 - responds with an error given an invalid bearer token |
310 | 11:24:42 getPropertyLabel |
311 | 11:24:42 ✔ has an X-Authenticated-User header with the logged in user (48ms) |
312 | 11:24:42 OAuth |
313 | 11:24:42 - responds with an error given an invalid bearer token |
314 | 11:24:42 getPropertyLabels |
315 | 11:24:42 ✔ has an X-Authenticated-User header with the logged in user (55ms) |
316 | 11:24:42 OAuth |
317 | 11:24:42 - responds with an error given an invalid bearer token |
318 | 11:24:42 getPropertyDescriptions |
319 | 11:24:42 ✔ has an X-Authenticated-User header with the logged in user (65ms) |
320 | 11:24:42 OAuth |
321 | 11:24:42 - responds with an error given an invalid bearer token |
322 | 11:24:42 getPropertyDescription |
323 | 11:24:42 ✔ has an X-Authenticated-User header with the logged in user |
324 | 11:24:42 OAuth |
325 | 11:24:42 - responds with an error given an invalid bearer token |
326 | 11:24:42 getPropertyAliases |
327 | 11:24:42 ✔ has an X-Authenticated-User header with the logged in user (63ms) |
328 | 11:24:42 OAuth |
329 | 11:24:42 - responds with an error given an invalid bearer token |
330 | 11:24:42 getPropertyAliasesInLanguage |
331 | 11:24:42 ✔ has an X-Authenticated-User header with the logged in user (49ms) |
332 | 11:24:42 OAuth |
333 | 11:24:42 - responds with an error given an invalid bearer token |
334 | 11:24:42 getPropertyStatements |
335 | 11:24:42 ✔ has an X-Authenticated-User header with the logged in user (40ms) |
336 | 11:24:42 OAuth |
337 | 11:24:42 - responds with an error given an invalid bearer token |
338 | 11:24:42 getStatement |
339 | 11:24:43 ✔ has an X-Authenticated-User header with the logged in user (43ms) |
340 | 11:24:43 OAuth |
341 | 11:24:43 - responds with an error given an invalid bearer token |
342 | 11:24:43 getPropertyStatement |
343 | 11:24:43 ✔ has an X-Authenticated-User header with the logged in user (56ms) |
344 | 11:24:43 OAuth |
345 | 11:24:43 - responds with an error given an invalid bearer token |
346 | 11:24:43 addItem |
347 | 11:24:43 ✔ has an X-Authenticated-User header with the logged in user (127ms) |
348 | 11:24:43 OAuth |
349 | 11:24:43 - responds with an error given an invalid bearer token |
350 | 11:24:43 Authorization |
351 | 11:24:43 addItemStatement |
352 | 11:24:43 ✔ Unauthorized bot edit |
353 | 11:24:43 replaceItemStatement |
354 | 11:24:43 ✔ Unauthorized bot edit |
355 | 11:24:43 replaceStatement |
356 | 11:24:43 ✔ Unauthorized bot edit |
357 | 11:24:43 deleteItemStatement |
358 | 11:24:43 ✔ Unauthorized bot edit |
359 | 11:24:44 deleteStatement |
360 | 11:24:44 ✔ Unauthorized bot edit |
361 | 11:24:45 patchItemStatement |
362 | 11:24:45 ✔ Unauthorized bot edit |
363 | 11:24:45 patchStatement |
364 | 11:24:45 ✔ Unauthorized bot edit |
365 | 11:24:45 replaceItemLabel |
366 | 11:24:45 ✔ Unauthorized bot edit |
367 | 11:24:45 replaceItemDescription |
368 | 11:24:45 ✔ Unauthorized bot edit |
369 | 11:24:45 setSitelink |
370 | 11:24:45 ✔ Unauthorized bot edit (43ms) |
371 | 11:24:45 ✔ wbsetsitelink: disallows redirect sitelink without redirect badge (1168ms) |
372 | 11:24:46 patchSitelinks |
373 | 11:24:46 ✔ Unauthorized bot edit (39ms) |
374 | 11:24:46 ✔ wbsetsitelink: allows redirect sitelink with redirect badge (1047ms) |
375 | 11:24:47 patchItemLabels |
376 | 11:24:47 ✔ Unauthorized bot edit (38ms) |
377 | 11:24:47 patchItemDescriptions |
378 | 11:24:47 ✔ Unauthorized bot edit |
379 | 11:24:47 patchItemAliases |
380 | 11:24:47 ✔ Unauthorized bot edit |
381 | 11:24:47 addItemAliasesInLanguage |
382 | 11:24:47 ✔ Unauthorized bot edit |
383 | 11:24:47 deleteItemLabel |
384 | 11:24:47 ✔ Unauthorized bot edit |
385 | 11:24:48 ✔ wbsetsitelink: allows adding redirect badge to redirect sitelink (1844ms) |
386 | 11:24:48 deleteItemDescription |
387 | 11:24:48 ✔ Unauthorized bot edit |
388 | 11:24:49 deleteSitelink |
389 | 11:24:49 ✔ Unauthorized bot edit (44ms) |
390 | 11:24:49 ✔ wbsetsitelink: disallows removing redirect badge from redirect sitelink (1268ms) |
391 | 11:24:50 patchPropertyLabels |
392 | 11:24:50 ✔ Unauthorized bot edit |
393 | 11:24:50 patchPropertyDescriptions |
394 | 11:24:50 ✔ Unauthorized bot edit (39ms) |
395 | 11:24:50 patchPropertyAliases |
396 | 11:24:50 ✔ Unauthorized bot edit |
397 | 11:24:50 addPropertyAliasesInLanguage |
398 | 11:24:50 ✔ Unauthorized bot edit |
399 | 11:24:50 addPropertyStatement |
400 | 11:24:50 ✔ Unauthorized bot edit |
401 | 11:24:50 replacePropertyStatement |
402 | 11:24:50 ✔ Unauthorized bot edit |
403 | 11:24:50 replaceStatement |
404 | 11:24:50 ✔ Unauthorized bot edit (39ms) |
405 | 11:24:50 patchPropertyStatement |
406 | 11:24:50 ✔ Unauthorized bot edit |
407 | 11:24:50 deletePropertyStatement |
408 | 11:24:50 ✔ Unauthorized bot edit |
409 | 11:24:50 ✔ wbsetsitelink: allows replacing redirect badge with another (947ms) |
410 | 11:24:50 deleteStatement |
411 | 11:24:50 ✔ Unauthorized bot edit (45ms) |
412 | 11:24:50 replacePropertyLabel |
413 | 11:24:50 ✔ Unauthorized bot edit (39ms) |
414 | 11:24:50 replacePropertyDescription |
415 | 11:24:51 ✔ Unauthorized bot edit (42ms) |
416 | 11:24:51 deletePropertyLabel |
417 | 11:24:51 ✔ Unauthorized bot edit |
418 | 11:24:51 deletePropertyDescription |
419 | 11:24:51 ✔ Unauthorized bot edit |
420 | 11:24:51 patchProperty |
421 | 11:24:51 ✔ Unauthorized bot edit (48ms) |
422 | 11:24:51 addItem |
423 | 11:24:51 ✔ Unauthorized bot edit (41ms) |
424 | 11:24:51 addItemStatement |
425 | 11:24:51 Blocked user |
426 | 11:24:51 ✔ cannot create/edit if blocked |
427 | 11:24:51 replaceItemStatement |
428 | 11:24:51 Blocked user |
429 | 11:24:51 ✔ cannot create/edit if blocked (83ms) |
430 | 11:24:51 replaceStatement |
431 | 11:24:51 Blocked user |
432 | 11:24:52 ✔ cannot create/edit if blocked (54ms) |
433 | 11:24:52 deleteItemStatement |
434 | 11:24:52 Blocked user |
435 | 11:24:52 ✔ cannot create/edit if blocked (48ms) |
436 | 11:24:52 ✔ wbsetsitelink: disallows removing redirect badge from redirect sitelink with no title provided (1742ms) |
437 | 11:24:53 deleteStatement |
438 | 11:24:53 Blocked user |
439 | 11:24:53 ✔ cannot create/edit if blocked (80ms) |
440 | 11:24:53 ✔ wbeditentity: disallows redirect sitelink without redirect badge (1319ms) |
441 | 11:24:54 patchItemStatement |
442 | 11:24:54 Blocked user |
443 | 11:24:54 ✔ cannot create/edit if blocked (45ms) |
444 | 11:24:54 patchStatement |
445 | 11:24:54 Blocked user |
446 | 11:24:54 ✔ wbeditentity: allows redirect sitelink with redirect badge (951ms) |
447 | 11:24:54 ✔ cannot create/edit if blocked (40ms) |
448 | 11:24:54 replaceItemLabel |
449 | 11:24:54 Blocked user |
450 | 11:24:54 ✔ cannot create/edit if blocked (60ms) |
451 | 11:24:54 replaceItemDescription |
452 | 11:24:54 Blocked user |
453 | 11:24:54 ✔ cannot create/edit if blocked (48ms) |
454 | 11:24:55 setSitelink |
455 | 11:24:55 Blocked user |
456 | 11:24:55 ✔ cannot create/edit if blocked (104ms) |
457 | 11:24:56 ✔ wbeditentity: allows adding redirect badge to redirect sitelink (1570ms) |
458 | 11:24:56 patchSitelinks |
459 | 11:24:56 Blocked user |
460 | 11:24:56 ✔ cannot create/edit if blocked |
461 | 11:24:57 patchItemLabels |
462 | 11:24:57 Blocked user |
463 | 11:24:57 ✔ cannot create/edit if blocked (90ms) |
464 | 11:24:57 patchItemDescriptions |
465 | 11:24:57 Blocked user |
466 | 11:24:57 ✔ cannot create/edit if blocked (54ms) |
467 | 11:24:57 ✔ wbeditentity: disallows removing redirect badge from redirect sitelink (1445ms) |
468 | 11:24:57 patchItemAliases |
469 | 11:24:57 Blocked user |
470 | 11:24:57 ✔ cannot create/edit if blocked (70ms) |
471 | 11:24:57 addItemAliasesInLanguage |
472 | 11:24:57 Blocked user |
473 | 11:24:57 ✔ cannot create/edit if blocked (56ms) |
474 | 11:24:58 deleteItemLabel |
475 | 11:24:58 Blocked user |
476 | 11:24:58 ✔ cannot create/edit if blocked (76ms) |
477 | 11:24:58 1) "after each" hook for "cannot create/edit if blocked" |
478 | 11:24:58 deleteItemDescription |
479 | 11:24:58 Blocked user |
480 | 11:24:58 ✔ cannot create/edit if blocked (53ms) |
481 | 11:24:58 2) "after each" hook for "cannot create/edit if blocked" |
482 | 11:24:58 deleteSitelink |
483 | 11:24:58 Blocked user |
484 | 11:24:58 ✔ cannot create/edit if blocked (73ms) |
485 | 11:24:58 3) "after each" hook for "cannot create/edit if blocked" |
486 | 11:24:58 ✔ wbeditentity: allows replacing redirect badge with another (1380ms) |
487 | 11:24:58 patchPropertyLabels |
488 | 11:24:58 Blocked user |
489 | 11:24:59 ✔ cannot create/edit if blocked (65ms) |
490 | 11:24:59 patchPropertyDescriptions |
491 | 11:24:59 Blocked user |
492 | 11:24:59 ✔ cannot create/edit if blocked (62ms) |
493 | 11:24:59 patchPropertyAliases |
494 | 11:24:59 Blocked user |
495 | 11:24:59 ✔ cannot create/edit if blocked (84ms) |
496 | 11:24:59 addPropertyAliasesInLanguage |
497 | 11:24:59 Blocked user |
498 | 11:24:59 ✔ cannot create/edit if blocked (55ms) |
499 | 11:25:00 addPropertyStatement |
500 | 11:25:00 Blocked user |
501 | 11:25:00 ✔ cannot create/edit if blocked (53ms) |
502 | 11:25:00 replacePropertyStatement |
503 | 11:25:00 Blocked user |
504 | 11:25:00 ✔ cannot create/edit if blocked (56ms) |
505 | 11:25:00 replaceStatement |
506 | 11:25:00 Blocked user |
507 | 11:25:00 ✔ wbeditentity: disallows removing redirect badge from redirect sitelink with no title provided (1563ms) |
508 | 11:25:00 |
509 | 11:25:00 |
510 | 11:25:00 43 passing (52s) |
511 | 11:25:00 1 failing |
512 | 11:25:00 |
513 | 11:25:00 1) Label Rendering in Comments |
514 | 11:25:00 "before all" hook: create string property for "renders entity labels in parsed edit summaries in API requests": |
515 | 11:25:00 AssertionError: User "<anon>": Action "wbeditentity" returned error code "badtoken": Invalid CSRF token.! |
516 | 11:25:00 at Client.action (node_modules/api-testing/lib/actionapi.js:123:11) |
517 | 11:25:00 at process.processTicksAndRejections (node:internal/process/task_queues:95:5) |
518 | 11:25:00 at async createProperty (tests/api-testing/LabelRenderingTest.js:61:20) |
519 | 11:25:00 at async Context.<anonymous> (tests/api-testing/LabelRenderingTest.js:34:26) |
520 | 11:25:00 |
521 | 11:25:00 |
522 | 11:25:00 |
523 | 11:25:00 ✔ cannot create/edit if blocked (59ms) |
524 | 11:25:00 ERROR: "api-testing:wikibase" exited with 1. |
525 | 11:25:00 INFO:quibble.commands:<<< Finish: Run API-Testing, in 132.213 s |
The work here is a mix of:
- If using an anonymous user and anonymous token, only make one edit per test. That's because subsequent edits would be done as a temp user. (Alternatively, clear the cached token and re-request it.)
- If we are not explicitly testing anonymous editing behavior, consider just using a regular, named user account for the edits
- In some cases, business logic needs to be updated.
Business logic changes (like T365673) should be tracked in subtasks.
Extensions with apitests. Check indicates that the extension tests pass (core's currently fail) with temp accounts enabled: