Skip to content

Merge remote-tracking branch 'origin/master' into UIQM-652 #2782

Merge remote-tracking branch 'origin/master' into UIQM-652

Merge remote-tracking branch 'origin/master' into UIQM-652 #2782

GitHub Actions / Jest Unit Test Results failed Oct 15, 2024 in 0s

3 fail, 471 pass in 3m 2s

    1 files  ±0    47 suites  ±0   3m 2s ⏱️ -2s
474 tests +1  471 ✔️ +1  0 💤 ±0  3 ±0 
477 runs  +1  474 ✔️ +1  0 💤 ±0  3 ±0 

Results for commit 336f74d. ± Comparison against earlier commit c2d8672.

Annotations

Check warning on line 0 in Given QuickMarcEditWrapper when is bib marc type when click on save button should show on save message and redirect on load page

See this annotation in the file changed.

@github-actions github-actions / Jest Unit Test Results

Given QuickMarcEditWrapper when is bib marc type when click on save button should show on save message and redirect on load pag…ckMarcEditWrapper when is bib marc type when click on save button should show on save message and redirect on load page) failed

artifacts/jest-junit/junit.xml
Raw output
Error: expect(jest.fn()).toHaveBeenCalled()

Expected number of calls: >= 1
Received number of calls:    0
    at Object.toHaveBeenCalled (/home/runner/work/ui-quick-marc/ui-quick-marc/src/QuickMarcEditor/QuickMarcEditWrapper.test.js:496:28)

Check warning on line 0 in Given QuickMarcEditWrapper when is bib marc type when click on save button should edit record with correct payload

See this annotation in the file changed.

@github-actions github-actions / Jest Unit Test Results

Given QuickMarcEditWrapper when is bib marc type when click on save button should edit record with correct payload (Given QuickMarcEditWrapper when is bib marc type when click on save button should edit record with correct payload) failed

artifacts/jest-junit/junit.xml
Raw output
Error: expect(jest.fn()).toHaveBeenCalledWith(...expected)

- Expected
+ Received

@@ -124,11 +124,11 @@
    "leader": "00000nam\\a2200000uu\\4500",
    "marcFormat": "BIBLIOGRAPHIC",
    "parsedRecordDtoId": "1bf159d9-4da8-4c3f-9aac-c83e68356bbf",
    "parsedRecordId": "1bf159d9-4da8-4c3f-9aac-c83e68356bbf",
    "records": undefined,
-   "relatedRecordVersion": "1",
+   "relatedRecordVersion": undefined,
    "suppressDiscovery": false,
    "updateInfo": Object {
      "recordState": "NEW",
    },
  },

Number of calls: 1
    at Object.toHaveBeenCalledWith (/home/runner/work/ui-quick-marc/ui-quick-marc/src/QuickMarcEditor/QuickMarcEditWrapper.test.js:632:38)

Check warning on line 0 in Given Quick Marc Editor Container when the action is not CREATE should append the relatedRecordVersion parameter to URL

See this annotation in the file changed.

@github-actions github-actions / Jest Unit Test Results

Given Quick Marc Editor Container when the action is not CREATE should append the relatedRecordVersion parameter to URL (Given Quick Marc Editor Container when the action is not CREATE should append the relatedRecordVersion parameter to URL) failed

artifacts/jest-junit/junit.xml
Raw output
Error: expect(jest.fn()).toHaveBeenCalledWith(...expected)

Expected: {"search": StringContaining "relatedRecordVersion=1"}

Number of calls: 0
    at Object.toHaveBeenCalledWith (/home/runner/work/ui-quick-marc/ui-quick-marc/src/QuickMarcEditor/QuickMarcEditorContainer.test.js:242:26)