Skip to content

Fix and add test cases #103

Fix and add test cases

Fix and add test cases #103

Triggered via push March 7, 2024 14:15
Status Failure
Total duration 17m 32s
Artifacts 1

cicd-feature.yml

on: push
Matrix: build-and-test / build-and-test
build-and-test  /  Publish Unit Test Report
14s
build-and-test / Publish Unit Test Report
Fit to window
Zoom out
Zoom in

Annotations

12 errors and 8 warnings
CrossModel language Relationship › relationship with attributes: extensions/crossmodel-lang/test/language-server/cross-model-lang-relationship.test.ts#L68
expect(received).toHaveLength(expected) Expected length: 0 Received length: 1 Received array: [{"code": undefined, "codeDescription": undefined, "data": undefined, "message": "Must provide a unique id.", "range": {"end": {"character": 22, "line": 1}, "start": {"character": 8, "line": 1}}, "relatedInformation": undefined, "severity": 1, "source": "cross-model", "tags": undefined}] at Object.<anonymous> (test/language-server/cross-model-lang-relationship.test.ts:68:42)
CrossModel language Relationship › relationship with wrong entity: extensions/crossmodel-lang/test/language-server/cross-model-lang-relationship.test.ts#L80
expect(received).toHaveLength(expected) Expected length: 1 Received length: 2 Received array: [{"code": undefined, "codeDescription": undefined, "data": {"code": "linking-error", "containerType": "RelationshipAttribute", "property": "child", "refText": "Order.Address"}, "message": "Could not resolve reference to Attribute named 'Order.Address'.", "range": {"end": {"character": 30, "line": 7}, "start": {"character": 17, "line": 7}}, "relatedInformation": undefined, "severity": 1, "source": "cross-model", "tags": undefined}, {"code": undefined, "codeDescription": undefined, "data": undefined, "message": "Must provide a unique id.", "range": {"end": {"character": 22, "line": 1}, "start": {"character": 8, "line": 1}}, "relatedInformation": undefined, "severity": 1, "source": "cross-model", "tags": undefined}] at Object.<anonymous> (test/language-server/cross-model-lang-relationship.test.ts:80:42)
CrossModel language Relationship › relationship with duplicates: extensions/crossmodel-lang/test/language-server/cross-model-lang-relationship.test.ts#L92
expect(received).toHaveLength(expected) Expected length: 2 Received length: 3 Received array: [{"code": undefined, "codeDescription": undefined, "data": undefined, "message": "Each parent attribute can only be referenced once.", "range": {"end": {"character": 29, "line": 8}, "start": {"character": 18, "line": 8}}, "relatedInformation": undefined, "severity": 1, "source": "cross-model", "tags": undefined}, {"code": undefined, "codeDescription": undefined, "data": undefined, "message": "Each child attribute can only be referenced once.", "range": {"end": {"character": 33, "line": 9}, "start": {"character": 17, "line": 9}}, "relatedInformation": undefined, "severity": 1, "source": "cross-model", "tags": undefined}, {"code": undefined, "codeDescription": undefined, "data": undefined, "message": "Must provide a unique id.", "range": {"end": {"character": 22, "line": 1}, "start": {"character": 8, "line": 1}}, "relatedInformation": undefined, "severity": 1, "source": "cross-model", "tags": undefined}] at Object.<anonymous> (test/language-server/cross-model-lang-relationship.test.ts:92:42)
build-and-test / ubuntu-latest
Process completed with exit code 1.
CrossModel language Relationship › relationship with attributes: extensions/crossmodel-lang/test/language-server/cross-model-lang-relationship.test.ts#L68
expect(received).toHaveLength(expected) Expected length: 0 Received length: 1 Received array: [{"code": undefined, "codeDescription": undefined, "data": undefined, "message": "Must provide a unique id.", "range": {"end": {"character": 22, "line": 1}, "start": {"character": 8, "line": 1}}, "relatedInformation": undefined, "severity": 1, "source": "cross-model", "tags": undefined}] at Object.<anonymous> (test/language-server/cross-model-lang-relationship.test.ts:68:42)
CrossModel language Relationship › relationship with wrong entity: extensions/crossmodel-lang/test/language-server/cross-model-lang-relationship.test.ts#L80
expect(received).toHaveLength(expected) Expected length: 1 Received length: 2 Received array: [{"code": undefined, "codeDescription": undefined, "data": {"code": "linking-error", "containerType": "RelationshipAttribute", "property": "child", "refText": "Order.Address"}, "message": "Could not resolve reference to Attribute named 'Order.Address'.", "range": {"end": {"character": 30, "line": 7}, "start": {"character": 17, "line": 7}}, "relatedInformation": undefined, "severity": 1, "source": "cross-model", "tags": undefined}, {"code": undefined, "codeDescription": undefined, "data": undefined, "message": "Must provide a unique id.", "range": {"end": {"character": 22, "line": 1}, "start": {"character": 8, "line": 1}}, "relatedInformation": undefined, "severity": 1, "source": "cross-model", "tags": undefined}] at Object.<anonymous> (test/language-server/cross-model-lang-relationship.test.ts:80:42)
CrossModel language Relationship › relationship with duplicates: extensions/crossmodel-lang/test/language-server/cross-model-lang-relationship.test.ts#L92
expect(received).toHaveLength(expected) Expected length: 2 Received length: 3 Received array: [{"code": undefined, "codeDescription": undefined, "data": undefined, "message": "Each parent attribute can only be referenced once.", "range": {"end": {"character": 29, "line": 8}, "start": {"character": 18, "line": 8}}, "relatedInformation": undefined, "severity": 1, "source": "cross-model", "tags": undefined}, {"code": undefined, "codeDescription": undefined, "data": undefined, "message": "Each child attribute can only be referenced once.", "range": {"end": {"character": 33, "line": 9}, "start": {"character": 17, "line": 9}}, "relatedInformation": undefined, "severity": 1, "source": "cross-model", "tags": undefined}, {"code": undefined, "codeDescription": undefined, "data": undefined, "message": "Must provide a unique id.", "range": {"end": {"character": 22, "line": 1}, "start": {"character": 8, "line": 1}}, "relatedInformation": undefined, "severity": 1, "source": "cross-model", "tags": undefined}] at Object.<anonymous> (test/language-server/cross-model-lang-relationship.test.ts:92:42)
build-and-test / macos-11
Process completed with exit code 1.
CrossModel language Relationship › relationship with attributes: extensions/crossmodel-lang/test/language-server/cross-model-lang-relationship.test.ts#L68
expect(received).toHaveLength(expected) Expected length: 0 Received length: 1 Received array: [{"code": undefined, "codeDescription": undefined, "data": undefined, "message": "Must provide a unique id.", "range": {"end": {"character": 22, "line": 1}, "start": {"character": 8, "line": 1}}, "relatedInformation": undefined, "severity": 1, "source": "cross-model", "tags": undefined}] at Object.<anonymous> (test/language-server/cross-model-lang-relationship.test.ts:68:42)
CrossModel language Relationship › relationship with wrong entity: extensions/crossmodel-lang/test/language-server/cross-model-lang-relationship.test.ts#L80
expect(received).toHaveLength(expected) Expected length: 1 Received length: 2 Received array: [{"code": undefined, "codeDescription": undefined, "data": {"code": "linking-error", "containerType": "RelationshipAttribute", "property": "child", "refText": "Order.Address"}, "message": "Could not resolve reference to Attribute named 'Order.Address'.", "range": {"end": {"character": 30, "line": 7}, "start": {"character": 17, "line": 7}}, "relatedInformation": undefined, "severity": 1, "source": "cross-model", "tags": undefined}, {"code": undefined, "codeDescription": undefined, "data": undefined, "message": "Must provide a unique id.", "range": {"end": {"character": 22, "line": 1}, "start": {"character": 8, "line": 1}}, "relatedInformation": undefined, "severity": 1, "source": "cross-model", "tags": undefined}] at Object.<anonymous> (test/language-server/cross-model-lang-relationship.test.ts:80:42)
CrossModel language Relationship › relationship with duplicates: extensions/crossmodel-lang/test/language-server/cross-model-lang-relationship.test.ts#L92
expect(received).toHaveLength(expected) Expected length: 2 Received length: 3 Received array: [{"code": undefined, "codeDescription": undefined, "data": undefined, "message": "Each parent attribute can only be referenced once.", "range": {"end": {"character": 29, "line": 8}, "start": {"character": 18, "line": 8}}, "relatedInformation": undefined, "severity": 1, "source": "cross-model", "tags": undefined}, {"code": undefined, "codeDescription": undefined, "data": undefined, "message": "Each child attribute can only be referenced once.", "range": {"end": {"character": 33, "line": 9}, "start": {"character": 17, "line": 9}}, "relatedInformation": undefined, "severity": 1, "source": "cross-model", "tags": undefined}, {"code": undefined, "codeDescription": undefined, "data": undefined, "message": "Must provide a unique id.", "range": {"end": {"character": 22, "line": 1}, "start": {"character": 8, "line": 1}}, "relatedInformation": undefined, "severity": 1, "source": "cross-model", "tags": undefined}] at Object.<anonymous> (test/language-server/cross-model-lang-relationship.test.ts:92:42)
build-and-test / windows-2019
Process completed with exit code 1.
build-and-test / ubuntu-latest
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@v3, actions/setup-python@v4, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
build-and-test / ubuntu-latest
No files were found with the provided path: e2e-tests/allure-results/. No artifacts will be uploaded.
build-and-test / macos-11
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@v3, actions/setup-python@v4, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
build-and-test / windows-2019
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@v3, actions/setup-python@v4, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
All 3 runs failed: CrossModel language Relationship relationship with attributes (CrossModel language Relationship relationship with attributes): CrossModel language Relationship relationship with attributes#L0
unit-test-results/Linux-unit-test-results-c0151290-dc8d-11ee-bf10-8d4ebe642991.xml [took 0s] unit-test-results/Windows-unit-test-results-8f650360-dc8f-11ee-bd88-41adfbb45bd9.xml [took 0s] unit-test-results/macOS-unit-test-results-acb1e330-dc8e-11ee-8cdc-9f143733b6a8.xml [took 0s]
All 3 runs failed: CrossModel language Relationship relationship with wrong entity (CrossModel language Relationship relationship with wrong entity): CrossModel language Relationship relationship with wrong entity#L0
unit-test-results/Linux-unit-test-results-c0151290-dc8d-11ee-bf10-8d4ebe642991.xml [took 0s] unit-test-results/Windows-unit-test-results-8f650360-dc8f-11ee-bd88-41adfbb45bd9.xml [took 0s] unit-test-results/macOS-unit-test-results-acb1e330-dc8e-11ee-8cdc-9f143733b6a8.xml [took 0s]
All 3 runs failed: CrossModel language Relationship relationship with duplicates (CrossModel language Relationship relationship with duplicates): CrossModel language Relationship relationship with duplicates#L0
unit-test-results/Linux-unit-test-results-c0151290-dc8d-11ee-bf10-8d4ebe642991.xml [took 0s] unit-test-results/Windows-unit-test-results-8f650360-dc8f-11ee-bd88-41adfbb45bd9.xml [took 0s] unit-test-results/macOS-unit-test-results-acb1e330-dc8e-11ee-8cdc-9f143733b6a8.xml [took 0s]
build-and-test / Publish Unit Test Report
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/download-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.

Artifacts

Produced during runtime
Name Size
unit-test-results Expired
63 KB