kie-issues#946: Action plan - Exploratory phase of the strategy for implementing the E2E test suite for the new DMN Editor - Part 3 #4324
Annotations
11 errors, 3 warnings, and 2 notices
PARTIAL → Build changed and dependents:
packages/online-editor/tests/e2e/createFiles/samples.spec.ts#L46
1) [chromium] › createFiles/samples.spec.ts:41:9 › Sample › Home › should create a DMN sample file
Error: Screenshot comparison failed:
15985 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
- 15985 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
- 15985 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__/chromium/createFiles/sample-dmn.png
Received: /home/runner/work/incubator-kie-tools/incubator-kie-tools/packages/online-editor/dist-e2e-tests/output/createFiles-samples-Sample-Home-should-create-a-DMN-sample-file-chromium/sample-dmn-actual.png
Diff: /home/runner/work/incubator-kie-tools/incubator-kie-tools/packages/online-editor/dist-e2e-tests/output/createFiles-samples-Sample-Home-should-create-a-DMN-sample-file-chromium/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/incubator-kie-tools/incubator-kie-tools/packages/online-editor/tests/e2e/createFiles/samples.spec.ts:46:26
|
PARTIAL → Build changed and dependents:
packages/online-editor/tests/e2e/createFiles/samples.spec.ts#L46
1) [chromium] › createFiles/samples.spec.ts:41:9 › Sample › Home › should create a DMN sample file
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Screenshot comparison failed:
16021 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
- 16021 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
- 16021 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__/chromium/createFiles/sample-dmn.png
Received: /home/runner/work/incubator-kie-tools/incubator-kie-tools/packages/online-editor/dist-e2e-tests/output/createFiles-samples-Sample-Home-should-create-a-DMN-sample-file-chromium-retry1/sample-dmn-actual.png
Diff: /home/runner/work/incubator-kie-tools/incubator-kie-tools/packages/online-editor/dist-e2e-tests/output/createFiles-samples-Sample-Home-should-create-a-DMN-sample-file-chromium-retry1/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/incubator-kie-tools/incubator-kie-tools/packages/online-editor/tests/e2e/createFiles/samples.spec.ts:46:26
|
PARTIAL → Build changed and dependents:
packages/online-editor/tests/e2e/createFiles/samples.spec.ts#L46
1) [chromium] › createFiles/samples.spec.ts:41:9 › Sample › Home › should create a DMN sample file
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Screenshot comparison failed:
15985 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
- 15985 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
- 15985 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__/chromium/createFiles/sample-dmn.png
Received: /home/runner/work/incubator-kie-tools/incubator-kie-tools/packages/online-editor/dist-e2e-tests/output/createFiles-samples-Sample-Home-should-create-a-DMN-sample-file-chromium-retry2/sample-dmn-actual.png
Diff: /home/runner/work/incubator-kie-tools/incubator-kie-tools/packages/online-editor/dist-e2e-tests/output/createFiles-samples-Sample-Home-should-create-a-DMN-sample-file-chromium-retry2/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/incubator-kie-tools/incubator-kie-tools/packages/online-editor/tests/e2e/createFiles/samples.spec.ts:46:26
|
PARTIAL → Build changed and dependents:
packages/online-editor/tests/e2e/createFiles/samples.spec.ts#L46
2) [webkit] › createFiles/samples.spec.ts:41:9 › Sample › Home › should create a DMN sample file ─
Error: Screenshot comparison failed:
12826 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
- 12826 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
- 12826 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-e2e-tests/output/createFiles-samples-Sample-Home-should-create-a-DMN-sample-file-webkit/sample-dmn-actual.png
Diff: /home/runner/work/incubator-kie-tools/incubator-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/incubator-kie-tools/incubator-kie-tools/packages/online-editor/tests/e2e/createFiles/samples.spec.ts:46:26
|
PARTIAL → Build changed and dependents:
packages/online-editor/tests/e2e/createFiles/samples.spec.ts#L46
2) [webkit] › createFiles/samples.spec.ts:41:9 › Sample › Home › should create a DMN sample file ─
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Screenshot comparison failed:
12826 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
- 12826 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
- 12826 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-e2e-tests/output/createFiles-samples-Sample-Home-should-create-a-DMN-sample-file-webkit-retry1/sample-dmn-actual.png
Diff: /home/runner/work/incubator-kie-tools/incubator-kie-tools/packages/online-editor/dist-e2e-tests/output/createFiles-samples-Sample-Home-should-create-a-DMN-sample-file-webkit-retry1/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/incubator-kie-tools/incubator-kie-tools/packages/online-editor/tests/e2e/createFiles/samples.spec.ts:46:26
|
PARTIAL → Build changed and dependents:
packages/online-editor/tests/e2e/createFiles/samples.spec.ts#L46
2) [webkit] › createFiles/samples.spec.ts:41:9 › Sample › Home › should create a DMN sample file ─
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Screenshot comparison failed:
12826 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
- 12826 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
- 12826 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-e2e-tests/output/createFiles-samples-Sample-Home-should-create-a-DMN-sample-file-webkit-retry2/sample-dmn-actual.png
Diff: /home/runner/work/incubator-kie-tools/incubator-kie-tools/packages/online-editor/dist-e2e-tests/output/createFiles-samples-Sample-Home-should-create-a-DMN-sample-file-webkit-retry2/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/incubator-kie-tools/incubator-kie-tools/packages/online-editor/tests/e2e/createFiles/samples.spec.ts:46:26
|
PARTIAL → Build changed and dependents:
packages/online-editor/tests/e2e/createFiles/samples.spec.ts#L46
3) [Google Chrome] › createFiles/samples.spec.ts:41:9 › Sample › Home › should create a DMN sample file
Error: Screenshot comparison failed:
16030 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
- 16030 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
- 16030 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__/Google-Chrome/createFiles/sample-dmn.png
Received: /home/runner/work/incubator-kie-tools/incubator-kie-tools/packages/online-editor/dist-e2e-tests/output/createFiles-samples-Sample-Home-should-create-a-DMN-sample-file-Google-Chrome/sample-dmn-actual.png
Diff: /home/runner/work/incubator-kie-tools/incubator-kie-tools/packages/online-editor/dist-e2e-tests/output/createFiles-samples-Sample-Home-should-create-a-DMN-sample-file-Google-Chrome/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/incubator-kie-tools/incubator-kie-tools/packages/online-editor/tests/e2e/createFiles/samples.spec.ts:46:26
|
PARTIAL → Build changed and dependents:
packages/online-editor/tests/e2e/createFiles/samples.spec.ts#L46
3) [Google Chrome] › createFiles/samples.spec.ts:41:9 › Sample › Home › should create a DMN sample file
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Screenshot comparison failed:
15994 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
- 15994 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
- 15994 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__/Google-Chrome/createFiles/sample-dmn.png
Received: /home/runner/work/incubator-kie-tools/incubator-kie-tools/packages/online-editor/dist-e2e-tests/output/createFiles-samples-Sample-Home-should-create-a-DMN-sample-file-Google-Chrome-retry1/sample-dmn-actual.png
Diff: /home/runner/work/incubator-kie-tools/incubator-kie-tools/packages/online-editor/dist-e2e-tests/output/createFiles-samples-Sample-Home-should-create-a-DMN-sample-file-Google-Chrome-retry1/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/incubator-kie-tools/incubator-kie-tools/packages/online-editor/tests/e2e/createFiles/samples.spec.ts:46:26
|
PARTIAL → Build changed and dependents:
packages/online-editor/tests/e2e/createFiles/samples.spec.ts#L46
3) [Google Chrome] › createFiles/samples.spec.ts:41:9 › Sample › Home › should create a DMN sample file
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Screenshot comparison failed:
16030 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
- 16030 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
- 16030 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__/Google-Chrome/createFiles/sample-dmn.png
Received: /home/runner/work/incubator-kie-tools/incubator-kie-tools/packages/online-editor/dist-e2e-tests/output/createFiles-samples-Sample-Home-should-create-a-DMN-sample-file-Google-Chrome-retry2/sample-dmn-actual.png
Diff: /home/runner/work/incubator-kie-tools/incubator-kie-tools/packages/online-editor/dist-e2e-tests/output/createFiles-samples-Sample-Home-should-create-a-DMN-sample-file-Google-Chrome-retry2/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/incubator-kie-tools/incubator-kie-tools/packages/online-editor/tests/e2e/createFiles/samples.spec.ts:46:26
|
PARTIAL → Build changed and dependents
Process completed with exit code 1.
|
Check tests result (`main` only)
❌ There are 3 test failures. 572 tests succedded, though :)
|
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
33 skipped
444 passed (14.1m)
|
PARTIAL → Build changed and dependents
3 failed
[chromium] › createFiles/samples.spec.ts:41:9 › Sample › Home › should create a DMN sample file
[webkit] › createFiles/samples.spec.ts:41:9 › Sample › Home › should create a DMN sample file ──
[Google Chrome] › createFiles/samples.spec.ts:41:9 › Sample › Home › should create a DMN sample file
72 skipped
21 passed (4.5m)
|
Loading