kie-issues#1365: Revisit all React-dependent packages on kie-tools
declaring react
as a dependency
instead of a peerDependency
#5953
Annotations
3 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/scesim-editor/tests-e2e/features/keyboard/keyboard.spec.ts#L41
1) [webkit] › features/keyboard/keyboard.spec.ts:26:9 › Keyboard › Keyboard shortcuts navigation › should correctly navigate the table using keyboard shortcuts
Error: Screenshot comparison failed:
1612 pixels (ratio 0.01 of all image pixels) are different.
Expected: /home/runner/work/incubator-kie-tools/incubator-kie-tools/packages/scesim-editor/tests-e2e/__screenshots__/webkit/features/keyboard/navigation-down.png
Received: /home/runner/work/incubator-kie-tools/incubator-kie-tools/packages/scesim-editor/dist-tests-e2e/output/features-keyboard-keyboard-bcb99-le-using-keyboard-shortcuts-webkit/navigation-down-actual.png
Diff: /home/runner/work/incubator-kie-tools/incubator-kie-tools/packages/scesim-editor/dist-tests-e2e/output/features-keyboard-keyboard-bcb99-le-using-keyboard-shortcuts-webkit/navigation-down-diff.png
Call log:
- expect.toHaveScreenshot(navigation-down.png) with timeout 10000ms
- verifying given screenshot expectation
- waiting for getByLabel('Test Scenario').getByTestId('standalone-bee-table').locator('div').first()
- locator resolved to <div class="expression-container-box">…</div>
- taking element screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- attempting scroll into view action
- waiting for element to be stable
- 1612 pixels (ratio 0.01 of all image pixels) are different.
- waiting 100ms before taking screenshot
- waiting for getByLabel('Test Scenario').getByTestId('standalone-bee-table').locator('div').first()
- locator resolved to <div class="expression-container-box">…</div>
- taking element screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- attempting scroll into view action
- waiting for element to be stable
- captured a stable screenshot
- 1612 pixels (ratio 0.01 of all image pixels) are different.
39 |
40 | await table.navigateDown({ rowNumber: "1", columnNumber: 1, type: Type.KEYBOARD_SHORTCUT });
> 41 | await expect(testScenarioTable.get()).toHaveScreenshot("navigation-down.png");
| ^
42 |
43 | await table.navigateLeft({ rowNumber: "2", columnNumber: 1, type: Type.KEYBOARD_SHORTCUT });
44 | await expect(testScenarioTable.get()).toHaveScreenshot("navigation-left.png");
at /home/runner/work/incubator-kie-tools/incubator-kie-tools/packages/scesim-editor/tests-e2e/features/keyboard/keyboard.spec.ts:41:45
|
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
|
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/dashbuilder-component-svg-heatmap/src/SVGHeatmapComponent.tsx#L139
React Hook useEffect has missing dependencies: 'onDataset' and 'props.controller'. Either include them or remove the dependency array
|
FULL → Build:
packages/dashbuilder-component-svg-heatmap/src/SvgHeatmap.tsx#L93
React Hook useEffect has a missing dependency: 'parentRef'. Either include it or remove the dependency array
|
FULL → Build:
packages/dashbuilder-component-svg-heatmap/src/SvgHeatmap.tsx#L119
React Hook useEffect has a missing dependency: 'props.containsId'. Either include it or remove the dependency array
|
FULL → Build:
packages/dashbuilder-component-svg-heatmap/src/SvgHeatmap.tsx#L121
React Hook useCallback has an unnecessary dependency: 'repaint'. Either exclude it or remove the dependency array
|
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/
|
FULL → Build
77 skipped
793 passed (25.9m)
|
FULL → Build
99 skipped
1311 passed (1.0h)
|
FULL → Build
1 flaky
[webkit] › features/keyboard/keyboard.spec.ts:26:9 › Keyboard › Keyboard shortcuts navigation › should correctly navigate the table using keyboard shortcuts
46 skipped
130 passed (7.6m)
|
FULL → Build
39 passed (5.3m)
|
FULL → Build
1 flaky
[webkit] › createFiles/samples.spec.ts:41:9 › Sample › Home › should create a DMN sample file ──
72 skipped
23 passed (3.2m)
|
Loading