Skip to content

v4 transactions

v4 transactions #1934

Triggered via pull request June 6, 2025 19:10
Status Failure
Total duration 5m 14s
Artifacts 1

test.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
unit-test
Process completed with exit code 1.
src/services/rundown-service/__tests__/rundownCache.utils.test.ts > handleCustomField() > processes all fields: apps/server/src/services/rundown-service/__tests__/rundownCache.utils.test.ts#L117
AssertionError: expected undefined to strictly equal 'value1' - Expected: "value1" + Received: undefined ❯ src/services/rundown-service/__tests__/rundownCache.utils.test.ts:117:46
src/services/rundown-service/__tests__/rundownCache.utils.test.ts > handleCustomField() > renames a field if in changelog: apps/server/src/services/rundown-service/__tests__/rundownCache.utils.test.ts#L81
AssertionError: expected {} to strictly equal { video: [ '2' ] } - Expected + Received - { - "video": [ - "2", - ], - } + {} ❯ src/services/rundown-service/__tests__/rundownCache.utils.test.ts:81:34
src/utils/__tests__/parser.test.ts > getCustomFieldData() > keeps colour information from existing fields: apps/server/src/utils/__tests__/parser.test.ts#L260
AssertionError: expected { …(3) } to strictly equal { …(4) } - Expected + Received @@ -2,15 +2,10 @@ "lighting": { "colour": "red", "label": "lighting", "type": "string", }, - "ontime_key": { - "colour": "blue", - "label": "ontime_label", - "type": "string", - }, "sound": { "colour": "green", "label": "sound", "type": "string", }, ❯ src/utils/__tests__/parser.test.ts:260:33
src/utils/__tests__/parser.test.ts > test parseDatabaseModel() with demo project (valid) > is the same as the demo project since all data is valid: apps/server/src/utils/__tests__/parser.test.ts#L44
AssertionError: expected { …(7) } to match object { …(7) } (22 matching properties omitted from actual) - Expected + Received @@ -5,16 +5,16 @@ "enabledOscIn": true, "oscPortIn": 8888, "triggers": [], }, "customFields": { - "artist": { + "Artist": { "colour": "#3E75E8", "label": "Artist", "type": "string", }, - "song": { + "Song": { "colour": "#339E4E", "label": "Song", "type": "string", }, }, @@ -49,14 +49,11 @@ }, "0b371": { "colour": "", "countToEnd": false, "cue": "SF1.03", - "custom": { - "artist": "Monika Liu", - "song": "Sentimentai", - }, + "custom": {}, "dayOffset": 0, "delay": 0, "duration": 1200000, "endAction": "none", "gap": 0, @@ -78,14 +75,11 @@ }, "1c420": { "colour": "", "countToEnd": false, "cue": "SF1.06", - "custom": { - "artist": "Kalush Orchestra", - "song": "Stefania", - }, + "custom": {}, "dayOffset": 0, "delay": 0, "duration": 1200000, "endAction": "none", "gap": 0, @@ -107,14 +101,11 @@ }, "21cd2": { "colour": "", "countToEnd": false, "cue": "SF1.02", - "custom": { - "artist": "Citi Zeni", - "song": "Eat Your Salad", - }, + "custom": {}, "dayOffset": 0, "delay": 0, "duration": 1200000, "endAction": "none", "gap": 0, @@ -136,14 +127,11 @@ }, "2340b": { "colour": "", "countToEnd": false, "cue": "SF1.10", - "custom": { - "artist": "Maro", - "song": "Saudade Saudade", - }, + "custom": {}, "dayOffset": 0, "delay": 0, "duration": 1200000, "endAction": "none", "gap": 0, @@ -165,14 +153,11 @@ }, "32d31": { "colour": "", "countToEnd": false, "cue": "SF1.01", - "custom": { - "artist": "Ronela Hajati", - "song": "Sekret", - }, + "custom": {}, "dayOffset": 0, "delay": 0, "duration": 1200000, "endAction": "none", "gap": 0, @@ -194,14 +179,11 @@ }, "3cd28": { "colour": "", "countToEnd": false, "cue": "SF1.04", - "custom": { - "artist": "Marius Bear", - "song": "Boys Do Cry", - }, + "custom": {}, "dayOffset": 0, "delay": 0, "duration": 1200000, "endAction": "none", "gap": 0, @@ -223,14 +205,11 @@ }, "503c4": { "colour": "", "countToEnd": false, "cue": "SF1.11", - "custom": { - "artist": "Mia Dimsic", - "song": "Guilty Pleasure", - }, + "custom": {}, "dayOffset": 0, "delay": 0, "duration": 1200000, "endAction": "none", "gap": 0, @@ -252,14 +231,11 @@ }, "5e965": { "colour": "", "countToEnd": false, "cue": "SF1.12", - "custom": { - "artist": "Reddi", - "song": "The Show", - }, + "custom": {}, "dayOffset": 0, "delay": 0, "duration": 1200000, "endAction": "none", "gap": 0, @@ -281,14 +257,11 @@ }, "8276c": { "colour": "", "countToEnd": false, "cue": "SF1.09", - "custom": { - "artist": "Zdob si Zdub
unit-test
Process completed with exit code 1.
unit-test: apps/server/src/classes/data-provider/__tests__/DataProvider.utils.test.ts#L140
'existingData' is assigned a value but never used. Allowed unused vars must match /^_/u
unit-test: apps/server/src/classes/data-provider/__tests__/DataProvider.utils.test.ts#L9
'existing' is assigned a value but never used. Allowed unused vars must match /^_/u
unit-test: apps/server/src/api-data/rundown/__mocks__/rundown.mocks.ts#L1
'CustomFields' is defined but never used. Allowed unused vars must match /^_/u
e2e-test
Process completed with exit code 1.

Artifacts

Produced during runtime
Name Size Digest
playwright-report
13.7 MB
sha256:a0ce32988ac5e1da3c3ed6b8ab7a8fc9db0b3edb9b254d30cdea267ed2316aa1