Skip to content

Merge pull request #7897 from nextcloud/fix/short-event-titles #108

Merge pull request #7897 from nextcloud/fix/short-event-titles

Merge pull request #7897 from nextcloud/fix/short-event-titles #108

Triggered via push January 23, 2026 11:52
Status Failure
Total duration 10m 19s
Artifacts

node-test.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

12 errors
changes
The process '/usr/bin/git' failed with exit code 128
tests/javascript/unit/models/calendar.test.js > Test suite: Calendar model (models/calendar.js) > should properly parse sharees of a calendar: tests/javascript/unit/models/calendar.test.js#L508
AssertionError: expected { id: 'L2Zvby9iYXI=', …(21) } to deeply equal { canBePublished: true, …(21) } - Expected + Received @@ -70,20 +70,48 @@ "owner": "/remote.php/dav/principals/users/admin/", "publishURL": null, "readOnly": false, "shares": [ { - "id": "share1", + "displayName": "Marcus Beehler", + "id": "cHJpbmNpcGFsOnByaW5jaXBhbHMvdXNlcnMvdXNlcjQ=", + "isCircle": false, + "isGroup": false, + "isRemoteUser": false, + "isUser": true, + "uri": "principal:principals/users/user4", + "writeable": false, }, { - "id": "share2", + "displayName": "My personal circle", + "id": "cHJpbmNpcGFsOnByaW5jaXBhbHMvY2lyY2xlcy9jNDc5YzE0YmQ4MjQxNQ==", + "isCircle": true, + "isGroup": false, + "isRemoteUser": false, + "isUser": false, + "uri": "principal:principals/circles/c479c14bd82415", + "writeable": false, }, { - "id": "share3", + "displayName": "Whitney Anders", + "id": "cHJpbmNpcGFsOnByaW5jaXBhbHMvdXNlcnMvdXNlcjM=", + "isCircle": false, + "isGroup": false, + "isRemoteUser": false, + "isUser": true, + "uri": "principal:principals/users/user3", + "writeable": true, }, { - "id": "share4", + "displayName": "admin", + "id": "cHJpbmNpcGFsOnByaW5jaXBhbHMvZ3JvdXBzL2FkbWlu", + "isCircle": false, + "isGroup": true, + "isRemoteUser": false, + "isUser": false, + "uri": "principal:principals/groups/admin", + "writeable": false, }, ], "supportsEvents": true, "supportsJournals": false, "supportsTasks": false, ❯ tests/javascript/unit/models/calendar.test.js:508:7
tests/javascript/unit/models/alarm.test.js > Test suite: Alarm model (models/alarm.js) > should properly load a relative alarm related to the end of the event: tests/javascript/unit/models/alarm.test.js#L341
AssertionError: expected "vi.fn()" to be called 1 times, but got 0 times ❯ tests/javascript/unit/models/alarm.test.js:341:42
tests/javascript/unit/models/alarm.test.js > Test suite: Alarm model (models/alarm.js) > should properly load a relative alarm after the alarm: tests/javascript/unit/models/alarm.test.js#L300
AssertionError: expected "vi.fn()" to be called 1 times, but got 0 times ❯ tests/javascript/unit/models/alarm.test.js:300:42
tests/javascript/unit/models/alarm.test.js > Test suite: Alarm model (models/alarm.js) > should properly load a relative alarm within 24 hours after the event: tests/javascript/unit/models/alarm.test.js#L259
AssertionError: expected "vi.fn()" to be called 1 times, but got 0 times ❯ tests/javascript/unit/models/alarm.test.js:259:42
tests/javascript/unit/models/alarm.test.js > Test suite: Alarm model (models/alarm.js) > should properly load a relative alarm days before the event: tests/javascript/unit/models/alarm.test.js#L218
AssertionError: expected "vi.fn()" to be called 1 times, but got 0 times ❯ tests/javascript/unit/models/alarm.test.js:218:42
tests/javascript/unit/models/alarm.test.js > Test suite: Alarm model (models/alarm.js) > should properly load a relative alarm a week before the event: tests/javascript/unit/models/alarm.test.js#L163
AssertionError: expected "vi.fn()" to be called 1 times, but got 0 times ❯ tests/javascript/unit/models/alarm.test.js:163:42
tests/javascript/unit/models/alarm.test.js > Test suite: Alarm model (models/alarm.js) > should properly load an absolute alarm with a time zone other than UTC: tests/javascript/unit/models/alarm.test.js#L104
AssertionError: expected { …(14) } to deeply equal { …(14) } - Expected + Received @@ -1,7 +1,7 @@ { - "absoluteDate": 2026-01-23T12:02:49.031Z, + "absoluteDate": 2022-01-15T09:00:00.000Z, "absoluteTimezoneId": "Africa/Banjul", "alarmComponent": AlarmComponent { "_components": Map {}, "_mutable": true, "_name": "VALARM", ❯ tests/javascript/unit/models/alarm.test.js:104:22
tests/javascript/unit/models/alarm.test.js > Test suite: Alarm model (models/alarm.js) > should properly load an absolute alarm: tests/javascript/unit/models/alarm.test.js#L73
AssertionError: expected { …(14) } to deeply equal { …(14) } - Expected + Received @@ -1,7 +1,7 @@ { - "absoluteDate": 2026-01-23T12:02:49.027Z, + "absoluteDate": 2020-03-06T08:30:00.000Z, "absoluteTimezoneId": "UTC", "alarmComponent": AlarmComponent { "_components": Map {}, "_mutable": true, "_name": "VALARM", ❯ tests/javascript/unit/models/alarm.test.js:73:22
tests/javascript/unit/defaults/defaultCategories.test.js > defaults/defaultCategories test suite > should provide a default set of categories: tests/javascript/unit/defaults/defaultCategories.test.js#L38
AssertionError: expected [ { …(2) }, { …(2) }, { …(2) }, …(12) ] to deeply equal [ …(15) ] - Expected + Received [ { - "label": "Anniversary", - "value": "Anniversary", + "label": "translated message", + "value": "translated message", }, { - "label": "Appointment", - "value": "Appointment", + "label": "translated message", + "value": "translated message", }, { - "label": "Business", - "value": "Business", + "label": "translated message", + "value": "translated message", }, { - "label": "Education", - "value": "Education", + "label": "translated message", + "value": "translated message", }, { - "label": "Holiday", - "value": "Holiday", + "label": "translated message", + "value": "translated message", }, { - "label": "Meeting", - "value": "Meeting", + "label": "translated message", + "value": "translated message", }, { - "label": "Miscellaneous", - "value": "Miscellaneous", + "label": "translated message", + "value": "translated message", }, { - "label": "Non-working hours", - "value": "Non-working hours", + "label": "translated message", + "value": "translated message", }, { - "label": "Not in office", - "value": "Not in office", + "label": "translated message", + "value": "translated message", }, { - "label": "Personal", - "value": "Personal", + "label": "translated message", + "value": "translated message", }, { - "label": "Phone call", - "value": "Phone call", + "label": "translated message", + "value": "translated message", }, { - "label": "Sick day", - "value": "Sick day", + "label": "translated message", + "value": "translated message", }, { - "label": "Special occasion", - "value": "Special occasion", + "label": "translated message", + "value": "translated message", }, { - "label": "Travel", - "value": "Travel", + "label": "translated message", + "value": "translated message", }, { - "label": "Vacation", - "value": "Vacation", + "label": "translated message", + "value": "translated message", }, ] ❯ tests/javascript/unit/defaults/defaultCategories.test.js:38:31
Unhandled error: src/services/settings.js#L15
AxiosError: Network Error ❯ XMLHttpRequest.handleError node_modules/axios/lib/adapters/xhr.js:112:20 ❯ XMLHttpRequest.invokeTheCallbackFunction node_modules/jsdom/lib/jsdom/living/generated/EventHandlerNonNull.js:14:28 ❯ XMLHttpRequest.<anonymous> node_modules/jsdom/lib/jsdom/living/helpers/create-event-accessor.js:36:32 ❯ innerInvokeEventListeners node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:360:16 ❯ invokeEventListeners node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:296:3 ❯ XMLHttpRequestImpl._dispatch node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:243:9 ❯ fireAnEvent node_modules/jsdom/lib/jsdom/living/helpers/events.js:18:36 ❯ requestErrorSteps node_modules/jsdom/lib/jsdom/living/xhr/xhr-utils.js:123:3 ❯ Object.dispatchError node_modules/jsdom/lib/jsdom/living/xhr/xhr-utils.js:59:3 ❯ EventEmitter.<anonymous> node_modules/jsdom/lib/jsdom/living/xhr/XMLHttpRequest-impl.js:655:18 ❯ Axios.request node_modules/axios/lib/core/Axios.js:45:41 ❯ Module.setConfig src/services/settings.js:15:2 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { description: undefined, number: undefined, config: { transitional: { silentJSONParsing: true, forcedJSONParsing: true, clarifyTimeoutError: false, constructor: 'Function<Object>', __defineGetter__: 'Function<__defineGetter__>', __defineSetter__: 'Function<__defineSetter__>', hasOwnProperty: 'Function<hasOwnProperty>', __lookupGetter__: 'Function<__lookupGetter__>', __lookupSetter__: 'Function<__lookupSetter__>', isPrototypeOf: 'Function<isPrototypeOf>', propertyIsEnumerable: 'Function<propertyIsEnumerable>', toString: 'Function<toString>', valueOf: 'Function<valueOf>', __proto__: { constructor: 'Function<Object>', __defineGetter__: 'Function<__defineGetter__>', __defineSetter__: 'Function<__defineSetter__>', hasOwnProperty: 'Function<hasOwnProperty>', __lookupGetter__: 'Function<__lookupGetter__>', __lookupSetter__: 'Function<__lookupSetter__>', isPrototypeOf: 'Function<isPrototypeOf>', propertyIsEnumerable: 'Function<propertyIsEnumerable>', toString: 'Function<toString>', valueOf: 'Function<valueOf>', __proto__: null, toLocaleString: 'Function<toLocaleString>' }, toLocaleString: 'Function<toLocaleString>' }, adapter: [ 'xhr', 'http', 'fetch' ], transformRequest: [ 'Function<transformRequest>' ], transformResponse: [ 'Function<transformResponse>' ], timeout: +0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, maxBodyLength: -1, env: { FormData: 'Function<FormData>', Blob: 'Function<Blob>', constructor: 'Function<Object>', __defineGetter__: 'Function<__defineGetter__>', __defineSetter__: 'Function<__defineSetter__>', hasOwnProperty: 'Function<hasOwnProperty>', __lookupGetter__: 'Function<__lookupGetter__>', __lookupSetter__: 'Function<__lookupSetter__>', isPrototypeOf: 'Function<isPrototypeOf>', propertyIsEnumerable: 'Function<propertyIsEnumerable>', toString: 'Function<toString>', valueOf: 'Function<valueOf>', __proto__: { constructor: 'Function<Object>', __defineGetter__: 'Function<__defineGetter__>', __defineSetter__: 'Function<__defineSetter__>', hasOwnProperty: 'Function<hasOwnProperty>', __lookupGetter__: 'Function<__lookupGetter__>', __lookupSetter__: 'Function<__lookupSetter__>', isPrototypeOf: 'Function<isPrototypeOf>', propertyIsEnumerable: 'Function<propertyIsEnumerable>', toString: 'Function<toString>', valueOf: 'Function<valueOf>', __proto__: null, toLocaleString: 'Function<toLocaleString>' }, toLocaleString: 'Function<toLocaleString>' }, validateStatus: 'Function<validateStatus>', headers: { Accept: 'application/json, text/plain, */*', 'Content-Type': 'application/json', requesttoken: '', 'X-Requested-With': 'XMLHttpRequest' }, method: 'post', url: '//index.php/apps/calendar/v1/config/key42', data: '{"value":"value1337"}', allowAbsoluteUrls: true, constructor: 'Function<Object>', __defineGetter__: 'Function<__defineGetter__>', __defineSetter__: 'Function<__defineSetter__>', hasOwnProperty: 'Funct
npm-test-summary
Process completed with exit code 1.