NO-ISSUE: Make examples better reflect their domain and contain more focused code #6674
Annotations
4 errors, 11 warnings, and 5 notices
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/drgElements/modelDecisionService.spec.ts#L255
2) [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
|
FULL → Build:
packages/scesim-editor/tests-e2e/features/keyboard/keyboard.spec.ts#L1
1) [Google Chrome] › features/keyboard/keyboard.spec.ts:55:9 › Keyboard › Arrow key navigation › should correctly navigate the table using arrow keys
Test timeout of 60000ms exceeded.
|
FULL → Build:
packages/scesim-editor/tests-e2e/__fixtures__/table.ts#L43
1) [Google Chrome] › features/keyboard/keyboard.spec.ts:55:9 › Keyboard › Arrow key navigation › should correctly navigate the table using arrow keys
Error: locator.click: Test timeout of 60000ms exceeded.
Call log:
- waiting for getByRole('menuitem', { name: 'Insert Below' })
at __fixtures__/table.ts:43
41 | await this.page.getByRole("cell", { name: args.targetCellName, exact: true }).click({ button: "right" });
42 | args.position === AddRowPosition.BELOW
> 43 | ? await this.page.getByRole("menuitem", { name: "Insert Below" }).click()
| ^
44 | : await this.page.getByRole("menuitem", { name: "Insert Above" }).click();
45 | }
46 |
at Table.addRow (/home/runner/work/incubator-kie-tools/incubator-kie-tools/packages/scesim-editor/tests-e2e/__fixtures__/table.ts:43:73)
at /home/runner/work/incubator-kie-tools/incubator-kie-tools/packages/scesim-editor/tests-e2e/features/keyboard/keyboard.spec.ts:57: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
|
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
77 skipped
805 passed (26.9m)
|
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] › 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
99 skipped
1357 passed (1.1h)
|
FULL → Build
1 flaky
[Google Chrome] › features/keyboard/keyboard.spec.ts:55:9 › Keyboard › Arrow key navigation › should correctly navigate the table using arrow keys
46 skipped
130 passed (7.7m)
|
FULL → Build
39 passed (5.5m)
|
FULL → Build
72 skipped
24 passed (3.6m)
|
Loading