Skip to content

feat(24143): add ui mapping to adapters #2049

feat(24143): add ui mapping to adapters

feat(24143): add ui mapping to adapters #2049

Triggered via push July 17, 2024 15:47
Status Failure
Total duration 13m 32s
Artifacts 2

frontend-cli.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 2 warnings
lint
Process completed with exit code 1.
src/modules/ProtocolAdapters/utils/uiSchema.utils.spec.ts > getRequiredUiSchema > should merge adapter with mandatory properties: hivemq-edge/src/frontend/src/modules/ProtocolAdapters/utils/uiSchema.utils.spec.ts#L45
AssertionError: expected { …(4) } to strictly equal { test: { 'ui:disabled': true }, …(2) } - Expected + Received Object { "id": Object { "title": "new title", "ui:disabled": false, }, + "subscriptions": undefined, "test": Object { "ui:disabled": true, }, "ui:submitButtonOptions": Object { "norender": true, "submitText": "Submit", }, } ❯ src/modules/ProtocolAdapters/utils/uiSchema.utils.spec.ts:45:49
unit_tests
Process completed with exit code 1.
lint: hivemq-edge/src/frontend/src/components/rjsf/Fields/CompactArrayField.tsx#L86
The 'onHandleAdd' function makes the dependencies of useMemo Hook (at line 133) change on every render. Move it inside the useMemo callback. Alternatively, wrap the definition of 'onHandleAdd' in its own useCallback() Hook
lighthouse
1 result for http://localhost:45055/app/login Report: https://storage.googleapis.com/lighthouse-infrastructure.appspot.com/reports/1721231425960-30040.report.html ⚠️ `categories.seo` warning for `minScore` assertion Expected >= 1, but found 0.83

Artifacts

Produced during runtime
Name Size
application Expired
2.22 MB
lighthouse-results Expired
669 KB