Skip to content

Change link/unlink behaviour to directly apply changes without showing modal or message #1344

Change link/unlink behaviour to directly apply changes without showing modal or message

Change link/unlink behaviour to directly apply changes without showing modal or message #1344

Triggered via pull request August 26, 2024 18:37
@KenyShah24KenyShah24
synchronize #2523
unlink
Status Failure
Total duration 33m 52s
Artifacts 1

e2e.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

11 errors, 6 warnings, and 4 notices
install-and-test
Process completed with exit code 1.
[chrome] › record/related-table.spec.ts:221:7 › Related tables › for a pure and binary association: chaise/test/e2e/utils/record-utils.ts#L735
1) [chrome] › record/related-table.spec.ts:221:7 › Related tables › for a pure and binary association › Batch Unlink feature › user should be able to select values to unlink and submit. Error: Timed out 15000ms waiting for expect(locator).toBeVisible() Locator: locator('.modal-error') Expected: visible Received: <element(s) not found> Call log: - expect.soft.toBeVisible with timeout 15000ms - waiting for locator('.modal-error') at ../../utils/record-utils.ts:735 733 | // make sure summary modal shows up 734 | const summaryModal = ModalLocators.getErrorModal(page); > 735 | await expect.soft(summaryModal).toBeVisible(); | ^ 736 | await expect.soft(ModalLocators.getModalTitle(summaryModal)).toHaveText('Batch Unlink Summary'); 737 | await expect.soft(ModalLocators.getModalText(summaryModal)).toHaveText(params.postDeleteMessage); 738 | at /home/runner/work/chaise/chaise/chaise/test/e2e/utils/record-utils.ts:735:39 at /home/runner/work/chaise/chaise/chaise/test/e2e/utils/record-utils.ts:714:5 at testBatchUnlinkAssociationTable (/home/runner/work/chaise/chaise/chaise/test/e2e/utils/record-utils.ts:696:3) at /home/runner/work/chaise/chaise/chaise/test/e2e/specs/all-features/record/related-table.spec.ts:267:5
[chrome] › record/related-table.spec.ts:221:7 › Related tables › for a pure and binary association: chaise/test/e2e/utils/record-utils.ts#L736
1) [chrome] › record/related-table.spec.ts:221:7 › Related tables › for a pure and binary association › Batch Unlink feature › user should be able to select values to unlink and submit. Error: Timed out 15000ms waiting for expect(locator).toHaveText(expected) Locator: locator('.modal-error').locator('.modal-title') Expected string: "Batch Unlink Summary" Received: <element(s) not found> Call log: - expect.soft.toHaveText with timeout 15000ms - waiting for locator('.modal-error').locator('.modal-title') at ../../utils/record-utils.ts:736 734 | const summaryModal = ModalLocators.getErrorModal(page); 735 | await expect.soft(summaryModal).toBeVisible(); > 736 | await expect.soft(ModalLocators.getModalTitle(summaryModal)).toHaveText('Batch Unlink Summary'); | ^ 737 | await expect.soft(ModalLocators.getModalText(summaryModal)).toHaveText(params.postDeleteMessage); 738 | 739 | // close the summary modal at /home/runner/work/chaise/chaise/chaise/test/e2e/utils/record-utils.ts:736:68 at /home/runner/work/chaise/chaise/chaise/test/e2e/utils/record-utils.ts:714:5 at testBatchUnlinkAssociationTable (/home/runner/work/chaise/chaise/chaise/test/e2e/utils/record-utils.ts:696:3) at /home/runner/work/chaise/chaise/chaise/test/e2e/specs/all-features/record/related-table.spec.ts:267:5
[chrome] › record/related-table.spec.ts:221:7 › Related tables › for a pure and binary association: chaise/test/e2e/utils/record-utils.ts#L737
1) [chrome] › record/related-table.spec.ts:221:7 › Related tables › for a pure and binary association › Batch Unlink feature › user should be able to select values to unlink and submit. Error: Timed out 15000ms waiting for expect(locator).toHaveText(expected) Locator: locator('.modal-error').locator('.modal-body') Expected string: "All of the 2 chosen records successfully unlinked." Received: <element(s) not found> Call log: - expect.soft.toHaveText with timeout 15000ms - waiting for locator('.modal-error').locator('.modal-body') at ../../utils/record-utils.ts:737 735 | await expect.soft(summaryModal).toBeVisible(); 736 | await expect.soft(ModalLocators.getModalTitle(summaryModal)).toHaveText('Batch Unlink Summary'); > 737 | await expect.soft(ModalLocators.getModalText(summaryModal)).toHaveText(params.postDeleteMessage); | ^ 738 | 739 | // close the summary modal 740 | await ModalLocators.getCloseBtn(summaryModal).click(); at /home/runner/work/chaise/chaise/chaise/test/e2e/utils/record-utils.ts:737:67 at /home/runner/work/chaise/chaise/chaise/test/e2e/utils/record-utils.ts:714:5 at testBatchUnlinkAssociationTable (/home/runner/work/chaise/chaise/chaise/test/e2e/utils/record-utils.ts:696:3) at /home/runner/work/chaise/chaise/chaise/test/e2e/specs/all-features/record/related-table.spec.ts:267:5
[chrome] › record/related-table.spec.ts:221:7 › Related tables › for a pure and binary association: chaise/test/e2e/specs/all-features/record/related-table.spec.ts#L1
1) [chrome] › record/related-table.spec.ts:221:7 › Related tables › for a pure and binary association › Batch Unlink feature › user should be able to select values to unlink and submit. Test timeout of 60000ms exceeded.
[chrome] › record/related-table.spec.ts:221:7 › Related tables › for a pure and binary association: chaise/test/e2e/utils/record-utils.ts#L740
1) [chrome] › record/related-table.spec.ts:221:7 › Related tables › for a pure and binary association › Batch Unlink feature › user should be able to select values to unlink and submit. Error: locator.click: Test ended. Call log: - waiting for locator('.modal-error').locator('.modal-close') at ../../utils/record-utils.ts:740 738 | 739 | // close the summary modal > 740 | await ModalLocators.getCloseBtn(summaryModal).click(); | ^ 741 | await expect.soft(summaryModal).not.toBeAttached(); 742 | 743 | // make sure the recordset modal rows update at /home/runner/work/chaise/chaise/chaise/test/e2e/utils/record-utils.ts:740:53 at /home/runner/work/chaise/chaise/chaise/test/e2e/utils/record-utils.ts:714:5 at testBatchUnlinkAssociationTable (/home/runner/work/chaise/chaise/chaise/test/e2e/utils/record-utils.ts:696:3) at /home/runner/work/chaise/chaise/chaise/test/e2e/specs/all-features/record/related-table.spec.ts:267:5
[chrome] › record/related-table.spec.ts:350:9 › Related tables › batch unlink with dynamic acls › restricted user: chaise/test/e2e/specs/all-features/record/related-table.spec.ts#L384
2) [chrome] › record/related-table.spec.ts:350:9 › Related tables › batch unlink with dynamic acls › restricted user › should fail to unlink rows that can't be unlinked with an error message in the batch remove summary Error: Timed out 15000ms waiting for expect(locator).toBeVisible() Locator: locator('.modal-error') Expected: visible Received: <element(s) not found> Call log: - expect.soft.toBeVisible with timeout 15000ms - waiting for locator('.modal-error') 382 | // make sure summary modal shows up 383 | const summaryModal = ModalLocators.getErrorModal(page); > 384 | await expect.soft(summaryModal).toBeVisible(); | ^ 385 | await expect.soft(ModalLocators.getModalTitle(summaryModal)).toHaveText('Batch Unlink Summary'); 386 | await expect.soft(ModalLocators.getModalText(summaryModal)).toHaveText(params.failedPostDeleteMessage); 387 | at /home/runner/work/chaise/chaise/chaise/test/e2e/specs/all-features/record/related-table.spec.ts:384:41 at /home/runner/work/chaise/chaise/chaise/test/e2e/specs/all-features/record/related-table.spec.ts:353:7
[chrome] › record/related-table.spec.ts:350:9 › Related tables › batch unlink with dynamic acls › restricted user: chaise/test/e2e/specs/all-features/record/related-table.spec.ts#L385
2) [chrome] › record/related-table.spec.ts:350:9 › Related tables › batch unlink with dynamic acls › restricted user › should fail to unlink rows that can't be unlinked with an error message in the batch remove summary Error: Timed out 15000ms waiting for expect(locator).toHaveText(expected) Locator: locator('.modal-error').locator('.modal-title') Expected string: "Batch Unlink Summary" Received: <element(s) not found> Call log: - expect.soft.toHaveText with timeout 15000ms - waiting for locator('.modal-error').locator('.modal-title') 383 | const summaryModal = ModalLocators.getErrorModal(page); 384 | await expect.soft(summaryModal).toBeVisible(); > 385 | await expect.soft(ModalLocators.getModalTitle(summaryModal)).toHaveText('Batch Unlink Summary'); | ^ 386 | await expect.soft(ModalLocators.getModalText(summaryModal)).toHaveText(params.failedPostDeleteMessage); 387 | 388 | // close the summary modal at /home/runner/work/chaise/chaise/chaise/test/e2e/specs/all-features/record/related-table.spec.ts:385:70 at /home/runner/work/chaise/chaise/chaise/test/e2e/specs/all-features/record/related-table.spec.ts:353:7
[chrome] › record/related-table.spec.ts:350:9 › Related tables › batch unlink with dynamic acls › restricted user: chaise/test/e2e/specs/all-features/record/related-table.spec.ts#L386
2) [chrome] › record/related-table.spec.ts:350:9 › Related tables › batch unlink with dynamic acls › restricted user › should fail to unlink rows that can't be unlinked with an error message in the batch remove summary Error: Timed out 15000ms waiting for expect(locator).toHaveText(expected) Locator: locator('.modal-error').locator('.modal-body') Expected string: "None of the 2 chosen records could be unlinked. Check the error details below to see more information.Show Error Details" Received: <element(s) not found> Call log: - expect.soft.toHaveText with timeout 15000ms - waiting for locator('.modal-error').locator('.modal-body') 384 | await expect.soft(summaryModal).toBeVisible(); 385 | await expect.soft(ModalLocators.getModalTitle(summaryModal)).toHaveText('Batch Unlink Summary'); > 386 | await expect.soft(ModalLocators.getModalText(summaryModal)).toHaveText(params.failedPostDeleteMessage); | ^ 387 | 388 | // close the summary modal 389 | await ModalLocators.getCloseBtn(summaryModal).click(); at /home/runner/work/chaise/chaise/chaise/test/e2e/specs/all-features/record/related-table.spec.ts:386:69 at /home/runner/work/chaise/chaise/chaise/test/e2e/specs/all-features/record/related-table.spec.ts:353:7
[chrome] › record/related-table.spec.ts:350:9 › Related tables › batch unlink with dynamic acls › restricted user: chaise/test/e2e/specs/all-features/record/related-table.spec.ts#L1
2) [chrome] › record/related-table.spec.ts:350:9 › Related tables › batch unlink with dynamic acls › restricted user › should fail to unlink rows that can't be unlinked with an error message in the batch remove summary Test timeout of 60000ms exceeded.
[chrome] › record/related-table.spec.ts:350:9 › Related tables › batch unlink with dynamic acls › restricted user: chaise/test/e2e/specs/all-features/record/related-table.spec.ts#L389
2) [chrome] › record/related-table.spec.ts:350:9 › Related tables › batch unlink with dynamic acls › restricted user › should fail to unlink rows that can't be unlinked with an error message in the batch remove summary Error: locator.click: Test ended. Call log: - waiting for locator('.modal-error').locator('.modal-close') 387 | 388 | // close the summary modal > 389 | await ModalLocators.getCloseBtn(summaryModal).click(); | ^ 390 | await expect.soft(summaryModal).not.toBeAttached(); 391 | }); 392 | at /home/runner/work/chaise/chaise/chaise/test/e2e/specs/all-features/record/related-table.spec.ts:389:55 at /home/runner/work/chaise/chaise/chaise/test/e2e/specs/all-features/record/related-table.spec.ts:353:7
install-and-test
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-java@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
install-and-test
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-java@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Slow Test: chaise/[chrome] › recordset/facet-presentation.spec.ts#L1
chaise/[chrome] › recordset/facet-presentation.spec.ts took 23.0s
Slow Test: chaise/[chrome] › multi-form-input/multi-form-input-create.spec.ts#L1
chaise/[chrome] › multi-form-input/multi-form-input-create.spec.ts took 25.8s
Slow Test: chaise/[chrome] › multi-form-input/multi-form-input-clone.spec.ts#L1
chaise/[chrome] › multi-form-input/multi-form-input-clone.spec.ts took 22.6s
Slow Test: chaise/[chrome] › acls/dynamic-acl.spec.include.ts#L1
chaise/[chrome] › acls/dynamic-acl.spec.include.ts took 16.3s
🎭 Playwright Run Summary
1 skipped 28 passed (39.1s)
🎭 Playwright Run Summary
1 skipped 54 passed (1.2m)
🎭 Playwright Run Summary
3 skipped 16 passed (33.4s)
🎭 Playwright Run Summary
3 failed [chrome] › record/related-table.spec.ts:221:7 › Related tables › for a pure and binary association [chrome] › record/related-table.spec.ts:350:9 › Related tables › batch unlink with dynamic acls › restricted user [chrome] › record/related-table.spec.ts:694:9 › Related tables › regarding usage of filter in source › pure and binary association with filter on main table 2 skipped 69 passed (5.0m)

Artifacts

Produced during runtime
Name Size
playwright-report Expired
1.2 MB