kie-issues#886: On the DMN Editor, adding waypoints to edges that don't have a corresponding DMNEdge associated with it should create the DMNEdge and add the waypoint normally #6076
Annotations
3 errors, 10 warnings, and 3 notices
PARTIAL → Build changed and downstream:
packages/dmn-editor/tests-e2e/drgElements/modelDecisionService.spec.ts#L255
1) [webkit] › drgElements/modelDecisionService.spec.ts:259:11 › Model Decision Service › Model Decision Service - Signature › Model Decision Service - Signature - Decisions › Decision Service Decision Signature should not contain deleted Output Decision
Error: expect(received).toEqual(expected) // deep equality
- Expected - 3
+ Received + 1
- Array [
- "A",
- ]
+ Array []
253 | await nodes.select({ name: DefaultNodeName.DECISION_SERVICE, position: NodePosition.TOP });
254 | await decisionServicePropertiesPanel.open();
> 255 | expect(await decisionServicePropertiesPanel.getOutputDecisions()).toEqual(["A"]);
| ^
256 | expect(await decisionServicePropertiesPanel.getEncapsulatedDecisions()).toEqual(["B"]);
257 | });
258 |
at /home/runner/work/incubator-kie-tools/incubator-kie-tools/packages/dmn-editor/tests-e2e/drgElements/modelDecisionService.spec.ts:255:75
|
PARTIAL → Build changed and downstream:
packages/dmn-editor/tests-e2e/drgElements/modelDecisionService.spec.ts#L235
2) [Google Chrome] › 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
|
PARTIAL → Build changed and downstream:
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
|
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/
|
PARTIAL → Build changed and downstream:
packages/dmn-editor/src/diagram/Diagram.tsx#L900
React Hook useCallback has an unnecessary dependency: 'reactFlowInstance'. Either exclude it or remove the dependency array
|
PARTIAL → Build changed and downstream:
packages/dmn-editor-standalone/[chromium] › api/undoAndRedo.spec.ts#L1
packages/dmn-editor-standalone/[chromium] › api/undoAndRedo.spec.ts took 1.0m
|
PARTIAL → Build changed and downstream:
packages/dmn-editor-standalone/[Google Chrome] › api/undoAndRedo.spec.ts#L1
packages/dmn-editor-standalone/[Google Chrome] › api/undoAndRedo.spec.ts took 46.5s
|
PARTIAL → Build changed and downstream:
packages/dmn-editor-standalone/[chromium] › includedModels/includedModels.spec.ts#L1
packages/dmn-editor-standalone/[chromium] › includedModels/includedModels.spec.ts took 45.8s
|
PARTIAL → Build changed and downstream:
packages/dmn-editor-standalone/[Google Chrome] › includedModels/includedModels.spec.ts#L1
packages/dmn-editor-standalone/[Google Chrome] › includedModels/includedModels.spec.ts took 36.8s
|
PARTIAL → Build changed and downstream:
packages/dmn-editor-standalone/[chromium] › api/markAsSaved.spec.ts#L1
packages/dmn-editor-standalone/[chromium] › api/markAsSaved.spec.ts took 35.4s
|
PARTIAL → Build changed and downstream:
packages/online-editor/src/accounts/kubernetes/ConnectToLocalKubernetesClusterWizard.tsx#L176
React Hook useEffect 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 useEffect call and refer to those specific props inside useEffect
|
The following artifacts were uploaded using a version of actions/upload-artifact that is scheduled for deprecation: "Linux_2__build-artifacts", "Linux_2__end-to-end-tests-artifacts", "Linux_2__end-to-end-tests-reports", "Linux_2__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_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/
|
PARTIAL → Build changed and downstream
2 flaky
[webkit] › drgElements/modelDecisionService.spec.ts:259:11 › Model Decision Service › Model Decision Service - Signature › Model Decision Service - Signature - Decisions › Decision Service Decision Signature should not contain deleted Output Decision
[Google Chrome] › 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
99 skipped
1318 passed (1.0h)
|
PARTIAL → Build changed and downstream
39 passed (6.4m)
|
PARTIAL → Build changed and downstream
1 flaky
[webkit] › createFiles/samples.spec.ts:41:9 › Sample › Home › should create a DMN sample file ──
72 skipped
23 passed (3.6m)
|
Loading