chore(23777): fix rebase #2377
frontend-cli.yml
on: push
build_production
1m 39s
lint
55s
unit_tests
1m 13s
Annotations
11 errors
src/hooks/useGetEdgeTopics/useGetEdgeTopics.spec.tsx > useGetEdgeTopics > should return adapters' topics:
hivemq-edge/src/frontend/src/hooks/useGetEdgeTopics/useGetEdgeTopics.spec.tsx#L157
AssertionError: expected { data: [ 'root/topic/ref/1' ], …(4) } to strictly equal ObjectContaining{…}
- Expected
+ Received
- ObjectContaining {
+ Object {
"data": Array [
- "a/valid/topic/modbus/1",
- "a/valid/topic/opc-ua-client/1",
- "a/valid/topic/opc-ua-client/2",
"root/topic/ref/1",
],
+ "error": null,
+ "isError": false,
+ "isLoading": false,
+ "isSuccess": true,
}
❯ src/hooks/useGetEdgeTopics/useGetEdgeTopics.spec.tsx:157:28
|
src/modules/ProtocolAdapters/utils/export.utils.spec.ts > adapterExportFormats > should run the subscription downloader:
hivemq-edge/src/frontend/src/modules/ProtocolAdapters/utils/export.utils.spec.ts#L35
AssertionError: expected true to be falsy
- Expected
+ Received
- true
+ false
❯ src/modules/ProtocolAdapters/utils/export.utils.spec.ts:35:51
|
src/modules/Subscriptions/hooks/useSubscriptionManager.spec.tsx > useSubscriptionManager > should return inward subscription:
hivemq-edge/src/frontend/src/modules/Subscriptions/hooks/useSubscriptionManager.spec.tsx#L129
AssertionError: expected { isLoading: false, …(2) } to strictly equal { …(3) }
- Expected
+ Received
Object {
- "inwardManager": ObjectContaining {
- "formData": ObjectContaining {
- "subscriptions": Array [
- Object {
- "destination": "root/topic/ref/1",
- "qos": 0,
- },
- Object {
- "destination": "root/topic/ref/2",
- "qos": 0,
- },
- ],
- },
- "schema": ObjectContaining {
- "properties": Object {
- "subscriptions": ObjectContaining {
- "description": "List of subscriptions for the simulation",
- },
- },
- "required": Array [
- "subscriptions",
- ],
- "type": "object",
- },
- "uiSchema": ObjectContaining {
- "subscriptions": Object {
- "items": Object {
- "ui:collapsable": Object {
- "titleKey": "destination",
- },
- "ui:order": Array [
- "destination",
- "qos",
- "*",
- ],
- },
- },
- "ui:submitButtonOptions": Object {
- "norender": true,
- },
- },
- },
+ "inwardManager": undefined,
"isLoading": false,
"outwardManager": undefined,
}
❯ src/modules/Subscriptions/hooks/useSubscriptionManager.spec.tsx:129:28
|
src/modules/Subscriptions/hooks/useSubscriptionManager.spec.tsx > useSubscriptionManager > should return outward subscription:
hivemq-edge/src/frontend/src/modules/Subscriptions/hooks/useSubscriptionManager.spec.tsx#L145
AssertionError: expected { isLoading: false, …(2) } to strictly equal { …(3) }
- Expected
+ Received
Object {
- "inwardManager": ObjectContaining {
- "formData": ObjectContaining {
- "subscriptions": Array [
- Object {
- "destination": "root/topic/ref/1",
- "qos": 0,
- },
- Object {
- "destination": "root/topic/ref/2",
- "qos": 0,
- },
- ],
- },
- "schema": ObjectContaining {
- "properties": Object {
- "subscriptions": ObjectContaining {
- "description": "List of subscriptions for the simulation",
- },
- },
- "required": Array [
- "subscriptions",
- ],
- "type": "object",
- },
- "uiSchema": ObjectContaining {
- "subscriptions": Object {
- "items": Object {
- "ui:collapsable": Object {
- "titleKey": "destination",
- },
- "ui:order": Array [
- "destination",
- "qos",
- "*",
- ],
- },
- },
- "ui:submitButtonOptions": Object {
- "norender": true,
- },
- },
- },
+ "inwardManager": undefined,
"isLoading": false,
"outwardManager": ObjectContaining {
"formData": Object {
"subscriptions": ArrayContaining [
ObjectContaining {
"mqtt-topic": Array [
"bar/test8",
"pump1/temperature",
],
},
],
},
"schema": ObjectContaining {
"properties": ObjectContaining {
"subscriptions": ObjectContaining {
"items": ObjectContaining {
"required": Array [
"node",
"mqtt-topic",
],
},
},
},
"required": Array [
"subscriptions",
],
"type": "object",
},
"uiSchema": Object {
"subscriptions": Object {
"items": Object {
"mqtt-topic": Object {
"items": Object {
"ui:options": Object {
"create": false,
"multiple": false,
},
},
},
},
"ui:field": "mqtt:transform",
},
"ui:submitButtonOptions": Object {
"norender": true,
},
},
},
}
❯ src/modules/Subscriptions/hooks/useSubscriptionManager.spec.tsx:145:28
|
src/modules/Workspace/hooks/useGetPoliciesMatching.spec.tsx > useGetPoliciesMatching > should find policies for an adapter:
hivemq-edge/src/frontend/src/modules/Workspace/hooks/useGetPoliciesMatching.spec.tsx#L50
AssertionError: expected [] to deeply equal [ { …(3) } ]
- Expected
+ Received
- Array [
- Object {
- "createdAt": "2023-10-13T11:51:24.234Z",
- "id": "my-policy-id",
- "matching": Object {
- "topicFilter": "root/topic/ref/1",
- },
- },
- ]
+ Array []
❯ src/modules/Workspace/hooks/useGetPoliciesMatching.spec.tsx:50:28
|
src/modules/Workspace/hooks/useGetPoliciesMatching.spec.tsx > useGetPoliciesMatching > should find policies for a group:
hivemq-edge/src/frontend/src/modules/Workspace/hooks/useGetPoliciesMatching.spec.tsx#L86
AssertionError: expected [] to deeply equal [ { …(3) } ]
- Expected
+ Received
- Array [
- Object {
- "createdAt": "2023-10-13T11:51:24.234Z",
- "id": "my-policy-id",
- "matching": Object {
- "topicFilter": "root/topic/ref/1",
- },
- },
- ]
+ Array []
❯ src/modules/Workspace/hooks/useGetPoliciesMatching.spec.tsx:86:28
|
src/modules/Workspace/utils/nodes-utils.spec.ts > createAdapterNode > should create a default Adapter node:
hivemq-edge/src/frontend/src/modules/Workspace/utils/nodes-utils.spec.ts#L178
AssertionError: expected { nodeAdapter: { …(5) }, …(3) } to strictly equal ObjectContaining{…}
- Expected
+ Received
- ObjectContaining {
- "edgeConnector": ObjectContaining {
- "animated": true,
+ Object {
+ "deviceConnector": undefined,
+ "edgeConnector": Object {
+ "animated": false,
+ "focusable": false,
"id": "connect-edge-adapter@my-adapter",
+ "markerEnd": Object {
+ "color": "#38A169",
+ "height": 20,
+ "type": "arrowclosed",
+ "width": 20,
+ },
"source": "adapter@my-adapter",
+ "style": Object {
+ "stroke": "#38A169",
+ "strokeWidth": 1.5,
+ },
"target": "edge",
+ "targetHandle": "Top",
+ "type": "REPORT_EDGE",
},
- "nodeAdapter": ObjectContaining {
+ "nodeAdapter": Object {
+ "data": Object {
+ "config": Object {
+ "id": "my-adapter",
+ "pollingIntervalMillis": 10000,
+ "subscriptions": Array [
+ Object {
+ "destination": "root/topic/ref/1",
+ "qos": 0,
+ },
+ Object {
+ "destination": "root/topic/ref/2",
+ "qos": 0,
+ },
+ ],
+ },
+ "id": "my-adapter",
+ "status": Object {
+ "connection": "CONNECTED",
+ "startedAt": "2023-08-21T11:51:24.234+01",
+ },
+ "type": "simulation",
+ },
"id": "adapter@my-adapter",
+ "position": Object {
+ "x": 625,
+ "y": -66.66666666666669,
+ },
"sourcePosition": "bottom",
"type": "ADAPTER_NODE",
},
+ "nodeDevice": undefined,
}
❯ src/modules/Workspace/utils/nodes-utils.spec.ts:178:20
|
src/modules/Workspace/utils/topics-utils.spec.ts > discoverAdapterTopics > should return 1 with 'modbus':
hivemq-edge/src/frontend/src/modules/Workspace/utils/topics-utils.spec.ts#L131
AssertionError: expected [] to deeply equal [ 'subscriptions.*.destination' ]
- Expected
+ Received
- Array [
- "subscriptions.*.destination",
- ]
+ Array []
❯ src/modules/Workspace/utils/topics-utils.spec.ts:131:21
|
src/modules/Workspace/utils/topics-utils.spec.ts > discoverAdapterTopics > should return 1 with 'simulation':
hivemq-edge/src/frontend/src/modules/Workspace/utils/topics-utils.spec.ts#L131
AssertionError: expected [] to deeply equal [ 'subscriptions.*.destination' ]
- Expected
+ Received
- Array [
- "subscriptions.*.destination",
- ]
+ Array []
❯ src/modules/Workspace/utils/topics-utils.spec.ts:131:21
|
src/modules/Workspace/utils/topics-utils.spec.ts > discoverAdapterTopics > should return 2 with 'opc-ua-client':
hivemq-edge/src/frontend/src/modules/Workspace/utils/topics-utils.spec.ts#L131
AssertionError: expected [] to deeply equal [ 'subscriptions.*.mqtt-topic' ]
- Expected
+ Received
- Array [
- "subscriptions.*.mqtt-topic",
- ]
+ Array []
❯ src/modules/Workspace/utils/topics-utils.spec.ts:131:21
|
lighthouse
2 results for http://localhost:36039/app/login
❌ `categories.best-practices` failure for `minScore` assertion
Expected >= 1, but found 0.96
⚠️ `categories.seo` warning for `minScore` assertion
Expected >= 1, but found 0.83
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
application
Expired
|
15.3 MB |
|
cypress-component-videos
Expired
|
18.4 MB |
|
lighthouse-results
|
729 KB |
|