Skip to content

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

add tests for the node resize feature and properties panel

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

Triggered via pull request April 10, 2024 12:50
Status Failure
Total duration 1h 53m 38s
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 43 test failures. 941 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
43 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/changeTextAnnotationProperties.spec.ts:64:7 › Change Properties - Text Annotation › should change the Text Annotation node font [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/changeBkmProperties.spec.ts:78:7 › Change Properties - BKM › should change the BKM node font [webkit] › drgElements/changeDecisionProperties.spec.ts:99:7 › Change Properties - Decision › should change the Decision node font [webkit] › drgElements/changeDecisionServiceProperties.spec.ts:86:7 › Change Properties - Decision Service › should change the Decision Service node font [webkit] › drgElements/changeInputDataProperties.spec.ts:79:7 › Change Properties - Input Data › should change the Input Data node font [webkit] › drgElements/changeKnowledgeSourceProperties.spec.ts:92:7 › Change Properties - Knowledge Source › should change the Knowledge Source node font [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

Artifacts

Produced during runtime
Name Size
Linux__build-artifacts Expired
217 MB
Linux__end-to-end-tests-artifacts Expired
280 MB
Linux__end-to-end-tests-reports Expired
42.8 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