Skip to content

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

add tests for the node resize feature and properties panel

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

Triggered via pull request April 9, 2024 11:54
Status Failure
Total duration 1h 38m 51s
Artifacts 12

ci_build.yml

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

Annotations

13 errors, 3 warnings, and 1 notice
run (windows-latest)
Process completed with exit code 1.
run (macos-latest)
Process completed with exit code 1.
[chromium] › drdArtifacts/addTextAnnotation.spec.ts:99:9 › Add node - Text Annotation › add from nodes › should add connected Text Annotation node from Decision Service node: packages/dmn-editor/tests/e2e/drdArtifacts/addTextAnnotation.spec.ts#L1
1) [chromium] › drdArtifacts/addTextAnnotation.spec.ts:99:9 › Add node - Text Annotation › add from nodes › should add connected Text Annotation node from Decision Service node Test timeout of 60000ms exceeded.
[chromium] › drdArtifacts/addTextAnnotation.spec.ts:99:9 › Add node - Text Annotation › add from nodes › should add connected Text Annotation node from Decision Service node: packages/dmn-editor/tests/e2e/__fixtures__/nodes.ts#L98
1) [chromium] › drdArtifacts/addTextAnnotation.spec.ts:99:9 › Add node - Text Annotation › add from nodes › should add connected Text Annotation node from Decision Service node Error: locator.dragTo: Target closed =========================== logs =========================== waiting for locator('div[data-nodelabel="New Decision Service"]').getByTitle('Add Text Annotation node') locator resolved to <div data-handlepos="top" title="Add Text Annotation …>…</div> attempting move and down action waiting for element to be visible and stable element is not visible - waiting... ============================================================ at __fixtures__/nodes.ts:98 96 | const { addNodeTitle, nodeName } = this.getNewConnectedNodeProperties(args.type); 97 | > 98 | await node.getByTitle(addNodeTitle).dragTo(this.diagram.get(), { targetPosition: args.targetPosition }); | ^ 99 | await this.waitForNodeToBeFocused({ name: nodeName }); 100 | if (args.thenRenameTo) { 101 | await this.rename({ current: nodeName, new: args.thenRenameTo }); at Nodes.dragNewConnectedNode (/home/runner/work/kie-tools/kie-tools/packages/dmn-editor/tests/e2e/__fixtures__/nodes.ts:98:41) at /home/runner/work/kie-tools/kie-tools/packages/dmn-editor/tests/e2e/drdArtifacts/addTextAnnotation.spec.ts:109:7
[chromium] › drdArtifacts/addTextAnnotation.spec.ts:99:9 › Add node - Text Annotation › add from nodes › should add connected Text Annotation node from Decision Service node: packages/dmn-editor/tests/e2e/drdArtifacts/addTextAnnotation.spec.ts#L1
1) [chromium] › drdArtifacts/addTextAnnotation.spec.ts:99:9 › Add node - Text Annotation › add from nodes › should add connected Text Annotation node from Decision Service node Pending operations: - locator.dragTo at tests/e2e/__fixtures__/nodes.ts:98:41
[chromium] › drdArtifacts/addTextAnnotation.spec.ts:99:9 › Add node - Text Annotation › add from nodes › should add connected Text Annotation node from Decision Service node: packages/dmn-editor/tests/e2e/drdArtifacts/addTextAnnotation.spec.ts#L1
1) [chromium] › drdArtifacts/addTextAnnotation.spec.ts:99:9 › Add node - Text Annotation › add from nodes › should add connected Text Annotation node from Decision Service node Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Test timeout of 60000ms exceeded.
[chromium] › drdArtifacts/addTextAnnotation.spec.ts:99:9 › Add node - Text Annotation › add from nodes › should add connected Text Annotation node from Decision Service node: packages/dmn-editor/tests/e2e/__fixtures__/nodes.ts#L98
1) [chromium] › drdArtifacts/addTextAnnotation.spec.ts:99:9 › Add node - Text Annotation › add from nodes › should add connected Text Annotation node from Decision Service node Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: locator.dragTo: Target closed =========================== logs =========================== waiting for locator('div[data-nodelabel="New Decision Service"]').getByTitle('Add Text Annotation node') locator resolved to <div data-handlepos="top" title="Add Text Annotation …>…</div> attempting move and down action waiting for element to be visible and stable element is not visible - waiting... ============================================================ at __fixtures__/nodes.ts:98 96 | const { addNodeTitle, nodeName } = this.getNewConnectedNodeProperties(args.type); 97 | > 98 | await node.getByTitle(addNodeTitle).dragTo(this.diagram.get(), { targetPosition: args.targetPosition }); | ^ 99 | await this.waitForNodeToBeFocused({ name: nodeName }); 100 | if (args.thenRenameTo) { 101 | await this.rename({ current: nodeName, new: args.thenRenameTo }); at Nodes.dragNewConnectedNode (/home/runner/work/kie-tools/kie-tools/packages/dmn-editor/tests/e2e/__fixtures__/nodes.ts:98:41) at /home/runner/work/kie-tools/kie-tools/packages/dmn-editor/tests/e2e/drdArtifacts/addTextAnnotation.spec.ts:109:7
[chromium] › drdArtifacts/addTextAnnotation.spec.ts:99:9 › Add node - Text Annotation › add from nodes › should add connected Text Annotation node from Decision Service node: packages/dmn-editor/tests/e2e/drdArtifacts/addTextAnnotation.spec.ts#L1
1) [chromium] › drdArtifacts/addTextAnnotation.spec.ts:99:9 › Add node - Text Annotation › add from nodes › should add connected Text Annotation node from Decision Service node Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Pending operations: - locator.dragTo at tests/e2e/__fixtures__/nodes.ts:98:41
[chromium] › drdArtifacts/addTextAnnotation.spec.ts:99:9 › Add node - Text Annotation › add from nodes › should add connected Text Annotation node from Decision Service node: packages/dmn-editor/tests/e2e/drdArtifacts/addTextAnnotation.spec.ts#L1
1) [chromium] › drdArtifacts/addTextAnnotation.spec.ts:99:9 › Add node - Text Annotation › add from nodes › should add connected Text Annotation node from Decision Service node Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Test timeout of 60000ms exceeded.
[chromium] › drdArtifacts/addTextAnnotation.spec.ts:99:9 › Add node - Text Annotation › add from nodes › should add connected Text Annotation node from Decision Service node: packages/dmn-editor/tests/e2e/__fixtures__/nodes.ts#L98
1) [chromium] › drdArtifacts/addTextAnnotation.spec.ts:99:9 › Add node - Text Annotation › add from nodes › should add connected Text Annotation node from Decision Service node Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: locator.dragTo: Target closed =========================== logs =========================== waiting for locator('div[data-nodelabel="New Decision Service"]').getByTitle('Add Text Annotation node') locator resolved to <div data-handlepos="top" title="Add Text Annotation …>…</div> attempting move and down action waiting for element to be visible and stable element is not visible - waiting... ============================================================ at __fixtures__/nodes.ts:98 96 | const { addNodeTitle, nodeName } = this.getNewConnectedNodeProperties(args.type); 97 | > 98 | await node.getByTitle(addNodeTitle).dragTo(this.diagram.get(), { targetPosition: args.targetPosition }); | ^ 99 | await this.waitForNodeToBeFocused({ name: nodeName }); 100 | if (args.thenRenameTo) { 101 | await this.rename({ current: nodeName, new: args.thenRenameTo }); at Nodes.dragNewConnectedNode (/home/runner/work/kie-tools/kie-tools/packages/dmn-editor/tests/e2e/__fixtures__/nodes.ts:98:41) at /home/runner/work/kie-tools/kie-tools/packages/dmn-editor/tests/e2e/drdArtifacts/addTextAnnotation.spec.ts:109:7
[chromium] › drdArtifacts/addTextAnnotation.spec.ts:99:9 › Add node - Text Annotation › add from nodes › should add connected Text Annotation node from Decision Service node: packages/dmn-editor/tests/e2e/drdArtifacts/addTextAnnotation.spec.ts#L1
1) [chromium] › drdArtifacts/addTextAnnotation.spec.ts:99:9 › Add node - Text Annotation › add from nodes › should add connected Text Annotation node from Decision Service node Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Pending operations: - locator.dragTo at tests/e2e/__fixtures__/nodes.ts:98:41
[chromium] › drdArtifacts/addTextAnnotation.spec.ts:155:9 › Add node - Text Annotation › add from nodes › should add connected Text Annotation node from Group node: packages/dmn-editor/tests/e2e/drdArtifacts/addTextAnnotation.spec.ts#L1
2) [chromium] › drdArtifacts/addTextAnnotation.spec.ts:155:9 › Add node - Text Annotation › add from nodes › should add connected Text Annotation node from Group node Test timeout of 60000ms exceeded.
run (ubuntu-latest)
❌ There are 37 test failures. 842 tests succedded, though :)
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 (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 (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/.
🎭 Playwright Run Summary
37 failed [chromium] › drdArtifacts/addTextAnnotation.spec.ts:99:9 › Add node - Text Annotation › add from nodes › should add connected Text Annotation node from Decision Service node [chromium] › drdArtifacts/addTextAnnotation.spec.ts:155:9 › Add node - Text Annotation › add from nodes › should add connected Text Annotation node from Group node [chromium] › drdArtifacts/renameGroup.spec.ts:28:7 › Rename - Group › should rename Group node on the diagram [chromium] › drdArtifacts/renameTextAnnotation.spec.ts:28:7 › Rename - Text Annotation › should rename Text Annotation node on the diagram [chromium] › drgElements/addBkm.spec.ts:79:11 › Add node - BKM › Add to the DRG › add from nodes › should add connected BKM node from Decision Service node [chromium] › drgElements/addDecision.spec.ts:153:11 › Add node - Decision › Add to the DRG › add from nodes › should add connected Decision node from Decision Service node [chromium] › drgElements/addDecisionService.spec.ts:31:11 › Add node - Decision Service › Add to the DRG › add from the palette › should add Decision Service node from palette [chromium] › drgElements/renameBkm.spec.ts:28:7 › Rename - BKM › should rename BKM node on the diagram [chromium] › drgElements/renameDecision.spec.ts:28:7 › Rename - Decision › should rename Decision node on the diagram [chromium] › drgElements/renameDecisionService.spec.ts:28:7 › Rename - Decision Service › should rename Decision Service node on the diagram [chromium] › drgElements/renameInputData.spec.ts:28:7 › Rename - Input Data › should rename Input Data node on the diagram [chromium] › drgElements/renameKnowledgeSource.spec.ts:28:7 › Rename - Knowledge Source › should rename Knowledge Source node on the diagram [webkit] › drdArtifacts/addTextAnnotation.spec.ts:99:9 › Add node - Text Annotation › add from nodes › should add connected Text Annotation node from Decision Service node [webkit] › drdArtifacts/addTextAnnotation.spec.ts:155:9 › Add node - Text Annotation › add from nodes › should add connected Text Annotation node from Group node [webkit] › drdArtifacts/renameGroup.spec.ts:28:7 › Rename - Group › should rename Group node on the diagram [webkit] › drdArtifacts/renameTextAnnotation.spec.ts:28:7 › Rename - Text Annotation › should rename Text Annotation node on the diagram [webkit] › drgElements/addBkm.spec.ts:79:11 › Add node - BKM › Add to the DRG › add from nodes › should add connected BKM node from Decision Service node [webkit] › drgElements/addDecision.spec.ts:153:11 › Add node - Decision › Add to the DRG › add from nodes › should add connected Decision node from Decision Service node [webkit] › drgElements/renameBkm.spec.ts:28:7 › Rename - BKM › should rename BKM node on the diagram [webkit] › drgElements/renameDecision.spec.ts:28:7 › Rename - Decision › should rename Decision node on the diagram [webkit] › drgElements/renameDecisionService.spec.ts:28:7 › Rename - Decision Service › should rename Decision Service node on the diagram [webkit] › drgElements/renameInputData.spec.ts:28:7 › Rename - Input Data › should rename Input Data node on the diagram [webkit] › drgElements/renameKnowledgeSource.spec.ts:28:7 › Rename - Knowledge Source › should rename Knowledge Source node on the diagram [webkit] › drgRequirements/invalidInformationRequirement.spec.ts:110:9 › Invalid edge - Information Requirement › Invalid edge - Information Requirement - From Input Data › shouldn't add an Information Requirement edge from Input Data node to Decision Service node [webkit] › drgRequirements/invalidInformationRequirement.spec.ts:279:9 › Invalid edge - Information Requirement › Invalid edge - Information Requirement - From Decision › shouldn't add an Information Requirement edge from Decision node to Decision Service node [Google Chrome] › drdArtifacts/addTextAnnotation.spec.ts:99:9 › Add node - Text Annotation › add from nodes › should add connected Text Annotation node from Decision Service node [Google C

Artifacts

Produced during runtime
Name Size
Linux__build-artifacts Expired
217 MB
Linux__end-to-end-tests-artifacts Expired
236 MB
Linux__end-to-end-tests-reports Expired
37.6 KB
Linux__tests-reports Expired
345 Bytes
Windows__build-artifacts Expired
230 MB
Windows__end-to-end-tests-artifacts Expired
22 Bytes
Windows__end-to-end-tests-reports Expired
22 Bytes
Windows__tests-reports Expired
840 Bytes
macOS__build-artifacts Expired
216 MB
macOS__end-to-end-tests-artifacts Expired
22 Bytes
macOS__end-to-end-tests-reports Expired
22 Bytes
macOS__tests-reports Expired
686 Bytes