NO-ISSUE: Upgrade Kogito to 999-20240912-SNAPSHOT
(#2613)
#6113
Annotations
4 errors, 13 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/dmn-editor/tests-e2e/drgElements/modelDecisionService.spec.ts#L235
1) [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/deleteKnowledgeRequirement.spec.ts#L54
2) [webkit] › drgRequirements/deleteKnowledgeRequirement.spec.ts:50:7 › Delete edge - Knowledge Requirement › should delete a Knowledge Requirement using the backspace key
Error: Timed out 10000ms waiting for expect(locator).not.toBeAttached()
Locator: getByRole('button', { name: 'Edge from #_A681E433-297D-4384-803B-AC5D286D821F to #_85D22912-1E09-4FF9-955F-85B37F1052A4' })
Expected: not attached
Received: attached
Call log:
- expect.not.toBeAttached with timeout 10000ms
- waiting for getByRole('button', { name: 'Edge from #_A681E433-297D-4384-803B-AC5D286D821F to #_85D22912-1E09-4FF9-955F-85B37F1052A4' })
- locator resolved to <g tabindex="0" role="button" aria-describedby="react-flow__edge-desc-1" data-testid="rf__edge-_CB2CD633-0CFF-44FB-8722-A9FA72683D60" class="react-flow__edge react-flow__edge-edge_knowledgeRequirement nopan" aria-label="Edge from #_A681E433-297D-4384-803B-AC5D286D821F to #_85D22912-1E09-4FF9-955F-85B37F1052A4">…</g>
- unexpected value "true"
- locator resolved to <g tabindex="0" role="button" aria-describedby="react-flow__edge-desc-1" data-testid="rf__edge-_CB2CD633-0CFF-44FB-8722-A9FA72683D60" class="react-flow__edge react-flow__edge-edge_knowledgeRequirement nopan" aria-label="Edge from #_A681E433-297D-4384-803B-AC5D286D821F to #_85D22912-1E09-4FF9-955F-85B37F1052A4">…</g>
- unexpected value "true"
- locator resolved to <g tabindex="0" role="button" aria-describedby="react-flow__edge-desc-1" data-testid="rf__edge-_CB2CD633-0CFF-44FB-8722-A9FA72683D60" class="react-flow__edge react-flow__edge-edge_knowledgeRequirement nopan" aria-label="Edge from #_A681E433-297D-4384-803B-AC5D286D821F to #_85D22912-1E09-4FF9-955F-85B37F1052A4">…</g>
- unexpected value "true"
- locator resolved to <g tabindex="0" role="button" aria-describedby="react-flow__edge-desc-1" data-testid="rf__edge-_CB2CD633-0CFF-44FB-8722-A9FA72683D60" class="react-flow__edge react-flow__edge-edge_knowledgeRequirement nopan" aria-label="Edge from #_A681E433-297D-4384-803B-AC5D286D821F to #_85D22912-1E09-4FF9-955F-85B37F1052A4">…</g>
- unexpected value "true"
- locator resolved to <g tabindex="0" role="button" aria-describedby="react-flow__edge-desc-1" data-testid="rf__edge-_CB2CD633-0CFF-44FB-8722-A9FA72683D60" class="react-flow__edge react-flow__edge-edge_knowledgeRequirement nopan" aria-label="Edge from #_A681E433-297D-4384-803B-AC5D286D821F to #_85D22912-1E09-4FF9-955F-85B37F1052A4">…</g>
- unexpected value "true"
- locator resolved to <g tabindex="0" role="button" aria-describedby="react-flow__edge-desc-1" data-testid="rf__edge-_CB2CD633-0CFF-44FB-8722-A9FA72683D60" class="react-flow__edge react-flow__edge-edge_knowledgeRequirement nopan" aria-label="Edge from #_A681E433-297D-4384-803B-AC5D286D821F to #_85D22912-1E09-4FF9-955F-85B37F1052A4">…</g>
- unexpected value "true"
- locator resolved to <g tabindex="0" role="button" aria-describedby="react-flow__edge-desc-1" data-testid="rf__edge-_CB2CD633-0CFF-44FB-8722-A9FA72683D60" class="react-flow__edge react-flow__edge-edge_knowledgeRequirement nopan" aria-label="Edge from #_A681E433-297D-4384-803B-AC5D286D821F to #_85D22912-1E09-4FF9-955F-85B37F1052A4">…</g>
- unexpected value "true"
- locator resolved to <g tabindex="0" role="button" aria-describedby="react-flow__edge-desc-1" data-testid="rf__edge-_CB2CD633-0CFF-44FB-8722-A9FA72683D60" class="react-flow__edge react-flow__edge-edge_knowledgeRequirement nopan" aria-label="Edge from #_A681E433-297D-4384-803B-AC5D286D821F to #_85D22912-1E09-4FF9-955F-85B37F1052A4">…</g>
- unexpected value "true"
- locator resolved to <g tabindex="0" role="button" aria-describedby="react-flow__edge-desc-1" data-testid="rf__edge-_CB2CD633-0CFF-44FB-8722-A9FA72683D60" class="react-flow__edge react-flow__edge-edge_knowledgeRequirement nopan" aria-label="Edge from #_A681E433-297D-4384-803B-AC5D286D821F to #_85D22912-1E09-4FF9-955F-85B37F1052A4">…</g>
- unexpected value "true"
-
|
FULL → Build:
packages/online-editor/tests-e2e/createFiles/samples.spec.ts#L46
1) [webkit] › createFiles/samples.spec.ts:41:9 › Sample › Home › should create a DMN sample file ─
Error: Screenshot comparison failed:
14639 pixels (ratio 0.02 of all image pixels) are different.
Expected: /home/runner/work/incubator-kie-tools/incubator-kie-tools/packages/online-editor/tests-e2e/__screenshots__/webkit/createFiles/sample-dmn.png
Received: /home/runner/work/incubator-kie-tools/incubator-kie-tools/packages/online-editor/dist-tests-e2e/output/createFiles-samples-Sample-e5fbd-ld-create-a-DMN-sample-file-webkit/sample-dmn-actual.png
Diff: /home/runner/work/incubator-kie-tools/incubator-kie-tools/packages/online-editor/dist-tests-e2e/output/createFiles-samples-Sample-e5fbd-ld-create-a-DMN-sample-file-webkit/sample-dmn-diff.png
Call log:
- expect.toHaveScreenshot(sample-dmn.png) with timeout 30000ms
- verifying given screenshot expectation
- taking page screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- 14639 pixels (ratio 0.02 of all image pixels) are different.
- waiting 100ms before taking screenshot
- taking page screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- captured a stable screenshot
- 14639 pixels (ratio 0.02 of all image pixels) are different.
44 | await expect(page.getByRole("button", { name: "Decision Sample" })).toContainText("Sample");
45 | await expect(kieSandbox.getEditor().getByText("Loan Pre-Qualification")).toBeAttached();
> 46 | await expect(page).toHaveScreenshot("sample-dmn.png");
| ^
47 | });
48 |
49 | test("should create a PMML sample file", async ({ page, kieSandbox }) => {
at /home/runner/work/incubator-kie-tools/incubator-kie-tools/packages/online-editor/tests-e2e/createFiles/samples.spec.ts:46:26
|
The following artifacts were uploaded using a version of actions/upload-artifact that is scheduled for deprecation: "Linux_0__build-artifacts", "Linux_0__end-to-end-tests-artifacts", "Linux_0__end-to-end-tests-reports", "Linux_0__tests-reports", "Linux_1__build-artifacts", "Linux_1__end-to-end-tests-artifacts", "Linux_1__end-to-end-tests-reports", "Linux_1__tests-reports", "Linux_2__build-artifacts", "Linux_2__end-to-end-tests-artifacts", "Linux_2__end-to-end-tests-reports", "Linux_2__tests-reports", "macOS_0__build-artifacts", "macOS_0__end-to-end-tests-artifacts", "macOS_0__end-to-end-tests-reports", "macOS_0__tests-reports", "macOS_1__build-artifacts", "macOS_1__end-to-end-tests-artifacts", "macOS_1__end-to-end-tests-reports", "macOS_1__tests-reports", "macOS_2__build-artifacts", "macOS_2__end-to-end-tests-artifacts", "macOS_2__end-to-end-tests-reports", "macOS_2__tests-reports", "Windows_0__build-artifacts", "Windows_0__end-to-end-tests-artifacts", "Windows_0__end-to-end-tests-reports", "Windows_0__tests-reports", "Windows_1__build-artifacts", "Windows_1__end-to-end-tests-artifacts", "Windows_1__end-to-end-tests-reports", "Windows_1__tests-reports", "Windows_2__build-artifacts", "Windows_2__end-to-end-tests-artifacts", "Windows_2__end-to-end-tests-reports", "Windows_2__tests-reports".
Please update your workflow to use v4 of the artifact actions.
Learn more: https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/
|
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, actions/upload-artifact@v3. 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/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:
packages/import-java-classes-component/src/components/ImportJavaClasses/ImportJavaClassesWizardSecondStep.tsx#L113
React Hook useCallback has a missing dependency: 'isInDenyList'. Either include it or remove the dependency array
|
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
77 skipped
793 passed (26.6m)
|
FULL → Build
2 flaky
[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/deleteKnowledgeRequirement.spec.ts:50:7 › Delete edge - Knowledge Requirement › should delete a Knowledge Requirement using the backspace key
99 skipped
1330 passed (1.1h)
|
FULL → Build
46 skipped
131 passed (7.8m)
|
FULL → Build
39 passed (5.4m)
|
FULL → Build
1 flaky
[webkit] › createFiles/samples.spec.ts:41:9 › Sample › Home › should create a DMN sample file ──
72 skipped
23 passed (3.4m)
|
Loading