Introduce form to edit Relationship data and attributes #110
Annotations
4 errors and 2 warnings
Run Unit Tests:
extensions/crossmodel-lang/test/language-server/cross-model-lang-relationship.test.ts#L50
expect(received).toHaveLength(expected)
Expected length: 0
Received length: 5
Received array: [{"code": undefined, "codeDescription": undefined, "data": {"code": "linking-error", "containerType": "Relationship", "property": "parent", "refText": "Customer"}, "message": "An error occurred while resolving reference to 'Customer': TypeError: Cannot read properties of undefined (reading 'parseResult')", "range": {"end": {"character": 20, "line": 2}, "start": {"character": 12, "line": 2}}, "relatedInformation": undefined, "severity": 1, "source": "cross-model", "tags": undefined}, {"code": undefined, "codeDescription": undefined, "data": {"code": "linking-error", "containerType": "Relationship", "property": "child", "refText": "Order"}, "message": "An error occurred while resolving reference to 'Order': TypeError: Cannot read properties of undefined (reading 'parseResult')", "range": {"end": {"character": 16, "line": 3}, "start": {"character": 11, "line": 3}}, "relatedInformation": undefined, "severity": 1, "source": "cross-model", "tags": undefined}, {"code": undefined, "codeDescription": undefined, "data": {"code": "linking-error", "containerType": "RelationshipAttribute", "property": "parent", "refText": "Customer.Id"}, "message": "An error occurred while resolving reference to 'Customer.Id': TypeError: Cannot read properties of undefined (reading 'parseResult')", "range": {"end": {"character": 29, "line": 6}, "start": {"character": 18, "line": 6}}, "relatedInformation": undefined, "severity": 1, "source": "cross-model", "tags": undefined}, {"code": undefined, "codeDescription": undefined, "data": {"code": "linking-error", "containerType": "RelationshipAttribute", "property": "child", "refText": "Order.CustomerId"}, "message": "An error occurred while resolving reference to 'Order.CustomerId': TypeError: Cannot read properties of undefined (reading 'parseResult')", "range": {"end": {"character": 33, "line": 7}, "start": {"character": 17, "line": 7}}, "relatedInformation": undefined, "severity": 1, "source": "cross-model", "tags": undefined}, {"code": undefined, "codeDescription": undefined, "data": undefined, "message": "An error occurred during validation: Cannot read properties of undefined (reading 'parseResult')", "range": {"end": {"character": 33, "line": 7}, "start": {"character": 0, "line": 0}}, "relatedInformation": undefined, "severity": 1, "source": "cross-model", "tags": undefined}]
at Object.<anonymous> (test/language-server/cross-model-lang-relationship.test.ts:50:50)
|
Run Unit Tests:
extensions/crossmodel-lang/test/language-server/cross-model-lang-relationship.test.ts#L55
expect(received).toHaveLength(expected)
Expected length: 1
Received length: 5
Received array: [{"code": undefined, "codeDescription": undefined, "data": {"code": "linking-error", "containerType": "Relationship", "property": "parent", "refText": "Customer"}, "message": "An error occurred while resolving reference to 'Customer': TypeError: Cannot read properties of undefined (reading 'parseResult')", "range": {"end": {"character": 20, "line": 2}, "start": {"character": 12, "line": 2}}, "relatedInformation": undefined, "severity": 1, "source": "cross-model", "tags": undefined}, {"code": undefined, "codeDescription": undefined, "data": {"code": "linking-error", "containerType": "Relationship", "property": "child", "refText": "Order"}, "message": "An error occurred while resolving reference to 'Order': TypeError: Cannot read properties of undefined (reading 'parseResult')", "range": {"end": {"character": 16, "line": 3}, "start": {"character": 11, "line": 3}}, "relatedInformation": undefined, "severity": 1, "source": "cross-model", "tags": undefined}, {"code": undefined, "codeDescription": undefined, "data": {"code": "linking-error", "containerType": "RelationshipAttribute", "property": "parent", "refText": "Customer.Id"}, "message": "An error occurred while resolving reference to 'Customer.Id': TypeError: Cannot read properties of undefined (reading 'parseResult')", "range": {"end": {"character": 29, "line": 6}, "start": {"character": 18, "line": 6}}, "relatedInformation": undefined, "severity": 1, "source": "cross-model", "tags": undefined}, {"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": "An error occurred during validation: Cannot read properties of undefined (reading 'parseResult')", "range": {"end": {"character": 30, "line": 7}, "start": {"character": 0, "line": 0}}, "relatedInformation": undefined, "severity": 1, "source": "cross-model", "tags": undefined}]
at Object.<anonymous> (test/language-server/cross-model-lang-relationship.test.ts:55:50)
|
Run Unit Tests:
extensions/crossmodel-lang/test/language-server/cross-model-lang-relationship.test.ts#L60
expect(received).toHaveLength(expected)
Expected length: 2
Received length: 7
Received array: [{"code": undefined, "codeDescription": undefined, "data": {"code": "linking-error", "containerType": "Relationship", "property": "parent", "refText": "Customer"}, "message": "An error occurred while resolving reference to 'Customer': TypeError: Cannot read properties of undefined (reading 'parseResult')", "range": {"end": {"character": 20, "line": 2}, "start": {"character": 12, "line": 2}}, "relatedInformation": undefined, "severity": 1, "source": "cross-model", "tags": undefined}, {"code": undefined, "codeDescription": undefined, "data": {"code": "linking-error", "containerType": "Relationship", "property": "child", "refText": "Order"}, "message": "An error occurred while resolving reference to 'Order': TypeError: Cannot read properties of undefined (reading 'parseResult')", "range": {"end": {"character": 16, "line": 3}, "start": {"character": 11, "line": 3}}, "relatedInformation": undefined, "severity": 1, "source": "cross-model", "tags": undefined}, {"code": undefined, "codeDescription": undefined, "data": {"code": "linking-error", "containerType": "RelationshipAttribute", "property": "parent", "refText": "Customer.Id"}, "message": "An error occurred while resolving reference to 'Customer.Id': TypeError: Cannot read properties of undefined (reading 'parseResult')", "range": {"end": {"character": 29, "line": 6}, "start": {"character": 18, "line": 6}}, "relatedInformation": undefined, "severity": 1, "source": "cross-model", "tags": undefined}, {"code": undefined, "codeDescription": undefined, "data": {"code": "linking-error", "containerType": "RelationshipAttribute", "property": "child", "refText": "Order.CustomerId"}, "message": "An error occurred while resolving reference to 'Order.CustomerId': TypeError: Cannot read properties of undefined (reading 'parseResult')", "range": {"end": {"character": 33, "line": 7}, "start": {"character": 17, "line": 7}}, "relatedInformation": undefined, "severity": 1, "source": "cross-model", "tags": undefined}, {"code": undefined, "codeDescription": undefined, "data": {"code": "linking-error", "containerType": "RelationshipAttribute", "property": "parent", "refText": "Customer.Id"}, "message": "An error occurred while resolving reference to 'Customer.Id': TypeError: Cannot read properties of undefined (reading 'parseResult')", "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": {"code": "linking-error", "containerType": "RelationshipAttribute", "property": "child", "refText": "Order.CustomerId"}, "message": "An error occurred while resolving reference to 'Order.CustomerId': TypeError: Cannot read properties of undefined (reading 'parseResult')", "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": "An error occurred during validation: Cannot read properties of undefined (reading 'parseResult')", "range": {"end": {"character": 33, "line": 9}, "start": {"character": 0, "line": 0}}, "relatedInformation": undefined, "severity": 1, "source": "cross-model", "tags": undefined}]
at Object.<anonymous> (test/language-server/cross-model-lang-relationship.test.ts:60:50)
|
Run Unit Tests
Process completed with exit code 1.
|
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/.
|
Upload PlayWrite test report
No files were found with the provided path: e2e-tests/allure-results/. No artifacts will be uploaded.
|
Loading