kie-issues#1613: Add CI :: Check license headers
GitHub Actions workflow
#6529
Annotations
6 errors, 12 warnings, and 5 notices
FULL → Build
Cannot invoke "org.kie.workbench.common.stunner.core.client.canvas.AbstractCanvas.disableHandlers()" because "canvas" is null
|
FULL → Build:
packages/boxed-expression-component/tests-e2e/boxedExpressions/conditional/populate.spec.ts#L32
1) [webkit] › boxedExpressions/conditional/populate.spec.ts:24:7 › Populate Boxed Conditional › should rename a Conditional
Error: expect(received).toEqual(expected) // deep equality
Expected: "Conditional Expression Name(<Undefined>)"
Received: "Conditional Expression Name(<Undefined>)NameData TypeManage<Undefined>"
30 | .expressionHeaderCell.setName({ name: "Conditional Expression Name", close: true });
31 |
> 32 | expect(await bee.expression.asConditional().expressionHeaderCell.content.textContent()).toEqual(
| ^
33 | "Conditional Expression Name(<Undefined>)"
34 | );
35 | });
at /home/runner/work/incubator-kie-tools/incubator-kie-tools/packages/boxed-expression-component/tests-e2e/boxedExpressions/conditional/populate.spec.ts:32:93
|
FULL → Build:
packages/dmn-editor/tests-e2e/deleteConnectedNodes.spec.ts#L103
1) [webkit] › deleteConnectedNodes.spec.ts:100:11 › Delete node - Connected nodes › Connected with multiple nodes › One "from" related to two "to"s › should delete all
Error: Timed out 10000ms waiting for expect(locator).not.toBeAttached()
Locator: locator('div[data-nodelabel="New Input Data"]')
Expected: not attached
Received: attached
Call log:
- expect.not.toBeAttached with timeout 10000ms
- waiting for locator('div[data-nodelabel="New Input Data"]')
- locator resolved to <div tabindex="-1" data-nodelabel="New Input Data" class="kie-dmn-editor--input-data-node normal " data-nodehref="#_59E544DB-386B-46A5-994B-30EB9992A1BE">…</div>
- unexpected value "true"
- locator resolved to <div tabindex="-1" data-nodelabel="New Input Data" class="kie-dmn-editor--input-data-node normal " data-nodehref="#_59E544DB-386B-46A5-994B-30EB9992A1BE">…</div>
- unexpected value "true"
- locator resolved to <div tabindex="-1" data-nodelabel="New Input Data" class="kie-dmn-editor--input-data-node normal " data-nodehref="#_59E544DB-386B-46A5-994B-30EB9992A1BE">…</div>
- unexpected value "true"
- locator resolved to <div tabindex="-1" data-nodelabel="New Input Data" class="kie-dmn-editor--input-data-node normal " data-nodehref="#_59E544DB-386B-46A5-994B-30EB9992A1BE">…</div>
- unexpected value "true"
- locator resolved to <div tabindex="-1" data-nodelabel="New Input Data" class="kie-dmn-editor--input-data-node normal " data-nodehref="#_59E544DB-386B-46A5-994B-30EB9992A1BE">…</div>
- unexpected value "true"
- locator resolved to <div tabindex="-1" data-nodelabel="New Input Data" class="kie-dmn-editor--input-data-node normal " data-nodehref="#_59E544DB-386B-46A5-994B-30EB9992A1BE">…</div>
- unexpected value "true"
- locator resolved to <div tabindex="-1" data-nodelabel="New Input Data" class="kie-dmn-editor--input-data-node normal " data-nodehref="#_59E544DB-386B-46A5-994B-30EB9992A1BE">…</div>
- unexpected value "true"
- locator resolved to <div tabindex="-1" data-nodelabel="New Input Data" class="kie-dmn-editor--input-data-node normal " data-nodehref="#_59E544DB-386B-46A5-994B-30EB9992A1BE">…</div>
- unexpected value "true"
- locator resolved to <div tabindex="-1" data-nodelabel="New Input Data" class="kie-dmn-editor--input-data-node normal " data-nodehref="#_59E544DB-386B-46A5-994B-30EB9992A1BE">…</div>
- unexpected value "true"
- locator resolved to <div tabindex="-1" data-nodelabel="New Input Data" class="kie-dmn-editor--input-data-node normal " data-nodehref="#_59E544DB-386B-46A5-994B-30EB9992A1BE">…</div>
- unexpected value "true"
- locator resolved to <div tabindex="-1" data-nodelabel="New Input Data" class="kie-dmn-editor--input-data-node normal " data-nodehref="#_59E544DB-386B-46A5-994B-30EB9992A1BE">…</div>
- unexpected value "true"
- locator resolved to <div tabindex="-1" data-nodelabel="New Input Data" class="kie-dmn-editor--input-data-node normal " data-nodehref="#_59E544DB-386B-46A5-994B-30EB9992A1BE">…</div>
- unexpected value "true"
- locator resolved to <div tabindex="-1" data-nodelabel="New Input Data" class="kie-dmn-editor--input-data-node normal " data-nodehref="#_59E544DB-386B-46A5-994B-30EB9992A1BE">…</div>
- unexpected value "true"
- locator resolved to <div tabindex="-1" data-nodelabel="New Input Data" class="kie-dmn-editor--input-data-node normal " data-nodehref="#_59E544DB-386B-46A5-994B-30EB9992A1BE">…</div>
- unexpected value "true"
101 | await nodes.deleteMultiple({ names: [DefaultNodeName.INPUT_DATA, "Decision One", "Decision Two"] });
102 |
> 103 | await expect(nodes.get({ name: DefaultNodeName.INPUT_DATA })).not.toBeAttached();
| ^
104 | await expect(nodes.get({ name: "Decision One" })).not.toBeAttached();
105 | awa
|
FULL → Build:
packages/dmn-editor/tests-e2e/drgElements/changeBkmProperties.spec.ts#L75
2) [webkit] › drgElements/changeBkmProperties.spec.ts:65:7 › Change Properties - BKM › should change the BKM node documentation links
Error: expect(locator).toHaveText(expected)
Locator: getByTestId('kie-tools--dmn-editor--properties-panel-container').getByTestId('kie-tools--dmn-editor--documentation-link--row-title').first()
Expected string: "Link Text"
Received string: "http://link.test.com/"
Call log:
- expect.toHaveText with timeout 10000ms
- waiting for getByTestId('kie-tools--dmn-editor--properties-panel-container').getByTestId('kie-tools--dmn-editor--documentation-link--row-title').first()
- locator resolved to <a target="_blank" href="http://link.test.com/" data-testid="kie-tools--dmn-editor--documentation-link--row-title">http://link.test.com/</a>
- unexpected value "http://link.test.com/"
- locator resolved to <a target="_blank" href="http://link.test.com/" data-testid="kie-tools--dmn-editor--documentation-link--row-title">http://link.test.com/</a>
- unexpected value "http://link.test.com/"
73 | const links = await bkmPropertiesPanel.getDocumentationLinks();
74 | expect(links).toHaveLength(1);
> 75 | expect(links[0]).toHaveText("Link Text");
| ^
76 | expect(links[0]).toHaveAttribute("href", "http://link.test.com/");
77 | });
78 |
at /home/runner/work/incubator-kie-tools/incubator-kie-tools/packages/dmn-editor/tests-e2e/drgElements/changeBkmProperties.spec.ts:75:22
|
FULL → Build:
packages/dmn-editor/tests-e2e/drgElements/modelDecisionService.spec.ts#L235
3) [webkit] › drgElements/modelDecisionService.spec.ts:222:11 › Model Decision Service › Model Decision Service - Signature › Model Decision Service - Signature - Inputs Order › Decision Service Inputs Signature should be reordered
Error: expect(received).toEqual(expected) // deep equality
Expected: "New Decision Service(A, B, AA, BB)"
Received: "New Decision Service(A, B, BB, AA)"
233 | await decisionServicePropertiesPanel.moveInputData({ fromIndex: 0, toIndex: 1 });
234 | await decisionServicePropertiesPanel.moveInputDecision({ fromIndex: 0, toIndex: 1 });
> 235 | expect(await decisionServicePropertiesPanel.getInvokingThisDecisionServiceInFeel()).toEqual(
| ^
236 | "New Decision Service(A, B, AA, BB)"
237 | );
238 | expect(await decisionServicePropertiesPanel.getInputDecisions()).toEqual(["A", "B"]);
at /home/runner/work/incubator-kie-tools/incubator-kie-tools/packages/dmn-editor/tests-e2e/drgElements/modelDecisionService.spec.ts:235:93
|
FULL → Build:
packages/dmn-editor/tests-e2e/drgRequirements/addKnowledgeRequirementWaypoint.spec.ts#L55
4) [webkit] › drgRequirements/addKnowledgeRequirementWaypoint.spec.ts:49:7 › Add edge waypoint - Knowledge Requirement › should attach multiple Knowledge Requirement edge waypoints to the edge
Error: Timed out 10000ms waiting for expect(locator).toBeAttached()
Locator: getByRole('button', { name: 'Edge from #_07C9009D-A815-4717-83E5-55692C9885E3 to #_F215B418-9DA0-4BAF-8B18-F233E7E0BE7A' }).locator('[data-waypointindex="1"]')
Expected: attached
Received: <element(s) not found>
Call log:
- expect.toBeAttached with timeout 10000ms
- waiting for getByRole('button', { name: 'Edge from #_07C9009D-A815-4717-83E5-55692C9885E3 to #_F215B418-9DA0-4BAF-8B18-F233E7E0BE7A' }).locator('[data-waypointindex="1"]')
53 | await expect(
54 | await edges.getWaypoint({ from: DefaultNodeName.BKM, to: DefaultNodeName.DECISION, waypointIndex: 1 })
> 55 | ).toBeAttached();
| ^
56 | await expect(
57 | await edges.getWaypoint({ from: DefaultNodeName.BKM, to: DefaultNodeName.DECISION, waypointIndex: 2 })
58 | ).toBeAttached();
at /home/runner/work/incubator-kie-tools/incubator-kie-tools/packages/dmn-editor/tests-e2e/drgRequirements/addKnowledgeRequirementWaypoint.spec.ts:55:7
|
Setup environment
Restore cache failed: Dependencies file is not found in /home/runner/work/incubator-kie-tools/incubator-kie-tools. Supported file pattern: go.sum
|
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/github-script@v6. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
FULL → Build:
packages/envelope/src/embedded/EmbeddedEnvelopeFactory.tsx#L96
React Hook useMemo has a missing dependency: 'props'. Either include it or remove the dependency array. However, 'props' will change when *any* prop changes, so the preferred fix is to destructure the 'props' object outside of the useMemo call and refer to those specific props inside useMemo
|
FULL → Build:
packages/envelope/src/embedded/EmbeddedEnvelopeFactory.tsx#L101
React Hook useImperativeHandle has a missing dependency: 'props'. Either include it or remove the dependency array. However, 'props' will change when *any* prop changes, so the preferred fix is to destructure the 'props' object outside of the useImperativeHandle call and refer to those specific props inside useImperativeHandle
|
FULL → Build:
packages/editor/src/embedded/embedded/EmbeddedEditor.tsx#L87
React Hook useMemo has an unnecessary dependency: 'props.file.getFileContents'. Either exclude it or remove the dependency array
|
FULL → Build:
packages/editor/src/envelope/KeyBindingsHelpOverlay/KeyBindingsHelpOverlay.tsx#L66
React Hook useMemo has missing dependencies: 'envelopeContext.operatingSystem' and 'envelopeContext.services.keyboardShortcuts'. Either include them or remove the dependency array
|
FULL → Build:
packages/editor/src/envelope/KeyBindingsHelpOverlay/KeyBindingsHelpOverlay.tsx#L66
React Hook useMemo has a complex expression in the dependency array. Extract it to a separate variable so it can be statically checked
|
FULL → Build:
packages/editor/src/envelope/KeyBindingsHelpOverlay/KeyBindingsHelpOverlay.tsx#L76
React Hook useEffect has a missing dependency: 'envelopeContext.services.keyboardShortcuts'. Either include it or remove the dependency array
|
FULL → Build:
packages/editor/src/envelope/KeyBindingsHelpOverlay/KeyBindingsHelpOverlay.tsx#L85
React Hook useEffect has a missing dependency: 'envelopeContext.services.keyboardShortcuts'. Either include it or remove the dependency array
|
FULL → Build:
packages/import-java-classes-component/src/components/ImportJavaClasses/ImportJavaClassesWizardSecondStep.tsx#L53
React Hook useCallback has a missing dependency: 'accessorPrefixesList'. Either include it or remove the dependency array
|
FULL → Build:
packages/import-java-classes-component/src/components/ImportJavaClasses/ImportJavaClassesWizardSecondStep.tsx#L69
React Hook useCallback has a missing dependency: 'accessorPrefixesList'. Either include it or remove the dependency array
|
FULL → Build:
packages/import-java-classes-component/src/components/ImportJavaClasses/ImportJavaClassesWizardSecondStep.tsx#L82
React Hook useCallback has a missing dependency: 'denyList'. Either include it or remove the dependency array
|
FULL → Build
1 flaky
[webkit] › boxedExpressions/conditional/populate.spec.ts:24:7 › Populate Boxed Conditional › should rename a Conditional
77 skipped
804 passed (27.5m)
|
FULL → Build
4 flaky
[webkit] › deleteConnectedNodes.spec.ts:100:11 › Delete node - Connected nodes › Connected with multiple nodes › One "from" related to two "to"s › should delete all
[webkit] › drgElements/changeBkmProperties.spec.ts:65:7 › Change Properties - BKM › should change the BKM node documentation links
[webkit] › drgElements/modelDecisionService.spec.ts:222:11 › Model Decision Service › Model Decision Service - Signature › Model Decision Service - Signature - Inputs Order › Decision Service Inputs Signature should be reordered
[webkit] › drgRequirements/addKnowledgeRequirementWaypoint.spec.ts:49:7 › Add edge waypoint - Knowledge Requirement › should attach multiple Knowledge Requirement edge waypoints to the edge
99 skipped
1355 passed (1.1h)
|
FULL → Build
46 skipped
131 passed (7.3m)
|
FULL → Build
39 passed (5.5m)
|
FULL → Build
72 skipped
24 passed (3.2m)
|
Loading