add tests for the node resize feature and properties panel #212
Annotations
1 error, 3 warnings, and 2 notices
PARTIAL → Build changed and dependents:
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:
10450 pixels (ratio 0.02 of all image pixels) are different.
Call log:
- expect.toHaveScreenshot(sample-dmn.png) with timeout 30000ms
- verifying given screenshot expectation
- taking page screenshot
- disabled all CSS animations
- 10450 pixels (ratio 0.02 of all image pixels) are different.
- waiting 100ms before taking screenshot
- taking page screenshot
- disabled all CSS animations
- captured a stable screenshot
- 10450 pixels (ratio 0.02 of all image pixels) are different.
Expected: /home/runner/work/kie-tools/kie-tools/packages/online-editor/tests/e2e/__screenshots__/webkit/createFiles/sample-dmn.png
Received: /home/runner/work/kie-tools/kie-tools/packages/online-editor/dist-e2e-tests/output/createFiles-samples-Sample-Home-should-create-a-DMN-sample-file-webkit/sample-dmn-actual.png
Diff: /home/runner/work/kie-tools/kie-tools/packages/online-editor/dist-e2e-tests/output/createFiles-samples-Sample-Home-should-create-a-DMN-sample-file-webkit/sample-dmn-diff.png
44 | await expect(page.getByRole("button", { name: "Decision Edit file name" })).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/kie-tools/kie-tools/packages/online-editor/tests/e2e/createFiles/samples.spec.ts:46:26
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/github-script@v6, pnpm/action-setup@v2, actions/setup-node@v3, actions/setup-java@v3, actions/setup-go@v3, stCarolas/[email protected], actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
PARTIAL → Build changed and dependents:
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
|
PARTIAL → Build changed and dependents:
packages/online-editor/src/dmnRunner/DmnRunnerContextProvider.tsx#L324
React Hook useLayoutEffect has a missing dependency: 'panel'. Either include it or remove the dependency array
|
PARTIAL → Build changed and dependents
54 skipped
630 passed (20.1m)
|
PARTIAL → Build changed and dependents
1 flaky
[webkit] › createFiles/samples.spec.ts:41:9 › Sample › Home › should create a DMN sample file ──
72 skipped
23 passed (3.8m)
|
Loading