Skip to content

add tests for the node resize feature and properties panel #212

add tests for the node resize feature and properties panel

add tests for the node resize feature and properties panel #212

Triggered via pull request April 5, 2024 11:26
Status Success
Total duration 45m 34s
Artifacts 12

ci_build.yml

on: pull_request
Matrix: run
Fit to window
Zoom out
Zoom in

Annotations

1 error, 9 warnings, and 2 notices
[webkit] › createFiles/samples.spec.ts:41:9 › Sample › Home › should create a DMN sample file: 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
run (windows-latest)
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], al-cheb/configure-pagefile-action@86589fd789a4de3e62ba628dda2cb10027b66d67, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
run (windows-latest): 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
run (windows-latest): packages/online-editor/src/dmnRunner/DmnRunnerContextProvider.tsx#L324
React Hook useLayoutEffect has a missing dependency: 'panel'. Either include it or remove the dependency array
run (macos-latest)
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/.
run (macos-latest): 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
run (macos-latest): packages/online-editor/src/dmnRunner/DmnRunnerContextProvider.tsx#L324
React Hook useLayoutEffect has a missing dependency: 'panel'. Either include it or remove the dependency array
run (ubuntu-latest)
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/.
run (ubuntu-latest): 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
run (ubuntu-latest): packages/online-editor/src/dmnRunner/DmnRunnerContextProvider.tsx#L324
React Hook useLayoutEffect has a missing dependency: 'panel'. Either include it or remove the dependency array
🎭 Playwright Run Summary
54 skipped 630 passed (20.1m)
🎭 Playwright Run Summary
1 flaky [webkit] › createFiles/samples.spec.ts:41:9 › Sample › Home › should create a DMN sample file ── 72 skipped 23 passed (3.8m)

Artifacts

Produced during runtime
Name Size
Linux__build-artifacts Expired
337 MB
Linux__end-to-end-tests-artifacts Expired
10.5 MB
Linux__end-to-end-tests-reports Expired
15.6 KB
Linux__tests-reports Expired
1.71 KB
Windows__build-artifacts Expired
351 MB
Windows__end-to-end-tests-artifacts Expired
22 Bytes
Windows__end-to-end-tests-reports Expired
22 Bytes
Windows__tests-reports Expired
1.41 KB
macOS__build-artifacts Expired
337 MB
macOS__end-to-end-tests-artifacts Expired
22 Bytes
macOS__end-to-end-tests-reports Expired
22 Bytes
macOS__tests-reports Expired
1.18 KB