Skip to content

Merge branch 'main' into FORMS-2190-admin-responsiveness #235

Merge branch 'main' into FORMS-2190-admin-responsiveness

Merge branch 'main' into FORMS-2190-admin-responsiveness #235

Triggered via push June 19, 2025 19:02
Status Failure
Total duration 2m 18s
Artifacts 1

unit-tests.yaml

on: push
Matrix: Unit Tests (App)
Matrix: Unit Tests (Frontend)
Publish to Code Climate
0s
Publish to Code Climate
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 9 warnings
Unit Tests (Frontend) (20)
Process completed with exit code 1.
tests/unit/components/admin/AdminFormsTable.spec.js > AdministerFormsTable.vue > loads active forms after two clicks: app/frontend/tests/unit/components/admin/AdminFormsTable.spec.js#L94
AssertionError: expected last "spy" call to have been called with [ { activeOnly: true, …(5) } ] - Expected + Received [ { "activeOnly": true, "itemsPerPage": 10, "page": 0, "paginationEnabled": true, "search": "", "searchEnabled": false, + "totalItems": ObjectRefImpl { + "__v_isRef": true, + "_defaultValue": undefined, + "_key": "formTotal", + "_object": { + "apiKey": undefined, + "apiTotal": undefined, + "externalAPIList": [], + "externalAPIStatusCodes": [], + "fcProactiveHelp": {}, + "fcProactiveHelpGroupList": [], + "fcProactiveHelpImageUrl": "", + "form": {}, + "formList": [], + "formTotal": undefined, + "roles": [], + "user": {}, + "userList": [], + "userTotal": undefined, + }, + }, }, ] ❯ tests/unit/components/admin/AdminFormsTable.spec.js:94:28
tests/unit/components/admin/AdminFormsTable.spec.js > AdministerFormsTable.vue > loads deleted forms after click: app/frontend/tests/unit/components/admin/AdminFormsTable.spec.js#L63
AssertionError: expected last "spy" call to have been called with [ { activeOnly: false, …(5) } ] - Expected + Received [ { "activeOnly": false, "itemsPerPage": 10, "page": 0, "paginationEnabled": true, "search": "", "searchEnabled": false, + "totalItems": ObjectRefImpl { + "__v_isRef": true, + "_defaultValue": undefined, + "_key": "formTotal", + "_object": { + "apiKey": undefined, + "apiTotal": undefined, + "externalAPIList": [], + "externalAPIStatusCodes": [], + "fcProactiveHelp": {}, + "fcProactiveHelpGroupList": [], + "fcProactiveHelpImageUrl": "", + "form": {}, + "formList": [], + "formTotal": undefined, + "roles": [], + "user": {}, + "userList": [], + "userTotal": undefined, + }, + }, }, ] ❯ tests/unit/components/admin/AdminFormsTable.spec.js:63:28
tests/unit/components/admin/AdminFormsTable.spec.js > AdministerFormsTable.vue > shows active forms by default: app/frontend/tests/unit/components/admin/AdminFormsTable.spec.js#L34
AssertionError: expected last "spy" call to have been called with [ { activeOnly: true, …(5) } ] - Expected + Received [ { "activeOnly": true, "itemsPerPage": 10, "page": 0, "paginationEnabled": true, "search": "", "searchEnabled": false, + "totalItems": ObjectRefImpl { + "__v_isRef": true, + "_defaultValue": undefined, + "_key": "formTotal", + "_object": { + "apiKey": undefined, + "apiTotal": undefined, + "externalAPIList": [], + "externalAPIStatusCodes": [], + "fcProactiveHelp": {}, + "fcProactiveHelpGroupList": [], + "fcProactiveHelpImageUrl": "", + "form": {}, + "formList": [], + "formTotal": undefined, + "roles": [], + "user": {}, + "userList": [], + "userTotal": undefined, + }, + }, }, ] ❯ tests/unit/components/admin/AdminFormsTable.spec.js:34:28
Unit Tests (Frontend) (20): app/frontend/src/store/admin.js#L227
Unexpected console statement
Unit Tests (Frontend) (20): app/frontend/src/store/admin.js#L226
Unexpected console statement
Unit Tests (Frontend) (20): app/frontend/src/store/admin.js#L218
Unexpected console statement
Unit Tests (Frontend) (20): app/frontend/src/store/admin.js#L227
Unexpected console statement
Unit Tests (Frontend) (20): app/frontend/src/store/admin.js#L226
Unexpected console statement
Unit Tests (Frontend) (20): app/frontend/src/store/admin.js#L218
Unexpected console statement

Artifacts

Produced during runtime
Name Size Digest
coverage-app Expired
551 KB
sha256:bc498c0a69f6dcf296dec370ad048d5b0bc201c35312e8a865dfd6a1c0c4b2bb