[ACS-6457] Migrated unshare-file e2es to playwright #1986
pull-request.yml
on: pull_request
Annotations
12 errors, 8 warnings, and 8 notices
[special-permissions] › src/tests/other-permissions.ts:82:9 › Special permissions : › Collaborator › available actions : › on Favorites - [C297652]:
projects/aca-playwright-shared/src/page-objects/components/dataTable/mat-menu.component.ts#L66
1) [special-permissions] › src/tests/other-permissions.ts:82:9 › Special permissions : › Collaborator › available actions : › on Favorites - [C297652]
Error: Expected to contain Remove Favorite Upload New Version,Favorite,Move,Copy,Delete,Manage Versions
Expected: true
Received: false
at ../../../projects/aca-playwright-shared/src/page-objects/components/dataTable/mat-menu.component.ts:66
64 | );
65 | for (const action of expectedToolbarMore) {
> 66 | expect(actualMoreActions.includes(action), `Expected to contain ${action} ${actualMoreActions}`).toBe(true);
| ^
67 | }
68 | }
69 | }
at MatMenuComponent.verifyActualMoreActions (/home/runner/work/alfresco-content-app/alfresco-content-app/projects/aca-playwright-shared/src/page-objects/components/dataTable/mat-menu.component.ts:66:104)
at checkActionsAvailable (/home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/special-permissions-actions-available/src/tests/other-permissions.ts:38:3)
at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/special-permissions-actions-available/src/tests/other-permissions.ts:84:7
|
[Actions] › src/tests/share/unshare-file-search-results.spec.ts:134:7 › Unshare a file from Search Results › [C306996] Unshare a file:
e2e/playwright/actions/src/tests/share/unshare-file-search-results.spec.ts#L1
1) [Actions] › src/tests/share/unshare-file-search-results.spec.ts:134:7 › Unshare a file from Search Results › [C306996] Unshare a file
Test timeout of 45000ms exceeded.
|
[Actions] › src/tests/share/unshare-file-search-results.spec.ts:134:7 › Unshare a file from Search Results › [C306996] Unshare a file:
projects/aca-playwright-shared/src/page-objects/components/dialogs/share-dialog.component.ts#L80
1) [Actions] › src/tests/share/unshare-file-search-results.spec.ts:134:7 › Unshare a file from Search Results › [C306996] Unshare a file
Error: locator.click: Page closed
=========================== logs ===========================
waiting for locator('adf-share-dialog [data-automation-id="adf-share-dialog-close"]')
============================================================
at ../../../projects/aca-playwright-shared/src/page-objects/components/dialogs/share-dialog.component.ts:80
78 | async clickClose(): Promise<void> {
79 | await this.page.waitForTimeout(timeouts.tiny);
> 80 | await this.closeButton.click();
| ^
81 | }
82 |
83 | async isToggleStatus(toggle: ElementHandle, status: string): Promise<boolean> {
at ShareDialogComponent.clickClose (/home/runner/work/alfresco-content-app/alfresco-content-app/projects/aca-playwright-shared/src/page-objects/components/dialogs/share-dialog.component.ts:80:28)
at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/actions/src/tests/share/unshare-file-search-results.spec.ts:146:5
|
[Actions] › src/tests/share/unshare-file-search-results.spec.ts:134:7 › Unshare a file from Search Results › [C306996] Unshare a file:
e2e/playwright/actions/src/tests/share/unshare-file-search-results.spec.ts#L1
1) [Actions] › src/tests/share/unshare-file-search-results.spec.ts:134:7 › Unshare a file from Search Results › [C306996] Unshare a file
Pending operations:
- locator.click at projects/aca-playwright-shared/src/page-objects/components/dialogs/share-dialog.component.ts:80:28
|
[Actions] › src/tests/share/unshare-file-search-results.spec.ts:134:7 › Unshare a file from Search Results › [C306996] Unshare a file:
e2e/playwright/actions/src/tests/share/unshare-file-search-results.spec.ts#L1
1) [Actions] › src/tests/share/unshare-file-search-results.spec.ts:134:7 › Unshare a file from Search Results › [C306996] Unshare a file
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Test timeout of 45000ms exceeded.
|
[Actions] › src/tests/share/unshare-file-search-results.spec.ts:134:7 › Unshare a file from Search Results › [C306996] Unshare a file:
projects/aca-playwright-shared/src/page-objects/components/dialogs/share-dialog.component.ts#L80
1) [Actions] › src/tests/share/unshare-file-search-results.spec.ts:134:7 › Unshare a file from Search Results › [C306996] Unshare a file
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: locator.click: Page closed
=========================== logs ===========================
waiting for locator('adf-share-dialog [data-automation-id="adf-share-dialog-close"]')
============================================================
at ../../../projects/aca-playwright-shared/src/page-objects/components/dialogs/share-dialog.component.ts:80
78 | async clickClose(): Promise<void> {
79 | await this.page.waitForTimeout(timeouts.tiny);
> 80 | await this.closeButton.click();
| ^
81 | }
82 |
83 | async isToggleStatus(toggle: ElementHandle, status: string): Promise<boolean> {
at ShareDialogComponent.clickClose (/home/runner/work/alfresco-content-app/alfresco-content-app/projects/aca-playwright-shared/src/page-objects/components/dialogs/share-dialog.component.ts:80:28)
at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/actions/src/tests/share/unshare-file-search-results.spec.ts:146:5
|
[Actions] › src/tests/share/unshare-file-search-results.spec.ts:134:7 › Unshare a file from Search Results › [C306996] Unshare a file:
e2e/playwright/actions/src/tests/share/unshare-file-search-results.spec.ts#L1
1) [Actions] › src/tests/share/unshare-file-search-results.spec.ts:134:7 › Unshare a file from Search Results › [C306996] Unshare a file
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Pending operations:
- locator.click at projects/aca-playwright-shared/src/page-objects/components/dialogs/share-dialog.component.ts:80:28
|
[Actions] › src/tests/share/unshare-file-search-results.spec.ts:134:7 › Unshare a file from Search Results › [C306996] Unshare a file:
e2e/playwright/actions/src/tests/share/unshare-file-search-results.spec.ts#L1
1) [Actions] › src/tests/share/unshare-file-search-results.spec.ts:134:7 › Unshare a file from Search Results › [C306996] Unshare a file
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Test timeout of 45000ms exceeded.
|
[Actions] › src/tests/share/unshare-file-search-results.spec.ts:134:7 › Unshare a file from Search Results › [C306996] Unshare a file:
projects/aca-playwright-shared/src/page-objects/components/dialogs/share-dialog.component.ts#L80
1) [Actions] › src/tests/share/unshare-file-search-results.spec.ts:134:7 › Unshare a file from Search Results › [C306996] Unshare a file
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: locator.click: Page closed
=========================== logs ===========================
waiting for locator('adf-share-dialog [data-automation-id="adf-share-dialog-close"]')
============================================================
at ../../../projects/aca-playwright-shared/src/page-objects/components/dialogs/share-dialog.component.ts:80
78 | async clickClose(): Promise<void> {
79 | await this.page.waitForTimeout(timeouts.tiny);
> 80 | await this.closeButton.click();
| ^
81 | }
82 |
83 | async isToggleStatus(toggle: ElementHandle, status: string): Promise<boolean> {
at ShareDialogComponent.clickClose (/home/runner/work/alfresco-content-app/alfresco-content-app/projects/aca-playwright-shared/src/page-objects/components/dialogs/share-dialog.component.ts:80:28)
at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/actions/src/tests/share/unshare-file-search-results.spec.ts:146:5
|
[Actions] › src/tests/share/unshare-file-search-results.spec.ts:134:7 › Unshare a file from Search Results › [C306996] Unshare a file:
e2e/playwright/actions/src/tests/share/unshare-file-search-results.spec.ts#L1
1) [Actions] › src/tests/share/unshare-file-search-results.spec.ts:134:7 › Unshare a file from Search Results › [C306996] Unshare a file
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Pending operations:
- locator.click at projects/aca-playwright-shared/src/page-objects/components/dialogs/share-dialog.component.ts:80:28
|
[Actions] › src/tests/share/unshare-file-search-results.spec.ts:172:7 › Unshare a file from Search Results › [C306999] Unshare a file from the context menu:
e2e/playwright/actions/src/tests/share/unshare-file-search-results.spec.ts#L1
2) [Actions] › src/tests/share/unshare-file-search-results.spec.ts:172:7 › Unshare a file from Search Results › [C306999] Unshare a file from the context menu
Test timeout of 45000ms exceeded.
|
Finalize
Process completed with exit code 1.
|
E2e test suites: shareActions
No files were found with the provided path: e2e-output/. No artifacts will be uploaded.
|
E2e test suites: copyMoveActions
No files were found with the provided path: e2e-output/. No artifacts will be uploaded.
|
E2e test suites: Playwright (folder-rules, 2)
No files were found with the provided path: test-results/. No artifacts will be uploaded.
|
E2e test suites: Playwright (navigation, 5)
No files were found with the provided path: test-results/. No artifacts will be uploaded.
|
E2e test suites: Playwright (authentication, 4)
No files were found with the provided path: test-results/. No artifacts will be uploaded.
|
E2e test suites: Playwright (viewer, 3)
No files were found with the provided path: test-results/. No artifacts will be uploaded.
|
E2e test suites: Playwright (pagination, 7)
No files were found with the provided path: test-results/. No artifacts will be uploaded.
|
E2e test suites: Playwright (list-views, 8)
No files were found with the provided path: test-results/. No artifacts will be uploaded.
|
🎭 Playwright Run Summary
3 passed (27.4s)
|
🎭 Playwright Run Summary
1 flaky
[special-permissions] › src/tests/other-permissions.ts:82:9 › Special permissions : › Collaborator › available actions : › on Favorites - [C297652]
63 passed (6.8m)
|
🎭 Playwright Run Summary
16 passed (1.2m)
|
🎭 Playwright Run Summary
5 passed (20.8s)
|
🎭 Playwright Run Summary
21 passed (2.7m)
|
🎭 Playwright Run Summary
11 passed (2.2m)
|
🎭 Playwright Run Summary
59 passed (8.9m)
|
🎭 Playwright Run Summary
3 failed
[Actions] › src/tests/share/unshare-file-search-results.spec.ts:134:7 › Unshare a file from Search Results › [C306996] Unshare a file
[Actions] › src/tests/share/unshare-file-search-results.spec.ts:172:7 › Unshare a file from Search Results › [C306999] Unshare a file from the context menu
[Actions] › src/tests/share/unshare-file-search-results.spec.ts:209:7 › Unshare a file from Search Results › [C307000] Consumer - on Search Results - file shared by the user
3 flaky
[Actions] › src/tests/create/create-file-from-template.spec.ts:235:11 › Create file from template › Personal Files page › Create document from template dialog › [C325020] Create file from template - dialog UI
[Actions] › src/tests/create/create-file-from-template.spec.ts:310:11 › Create file from template › Personal Files page › Create document from template dialog › [C290142] Description too long
[Actions] › src/tests/create/create-file-from-template.spec.ts:413:9 › Create file from template › File created from template on Personal Files Libraries › [C325024] Cancel file creation in a library
92 passed (15.7m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
actions
Expired
|
46.7 MB |
|
deleteActions
Expired
|
2.14 MB |
|
editActions,favoriteActions
Expired
|
2.13 MB |
|
listViews
Expired
|
2.12 MB |
|
search
Expired
|
2.27 MB |
|
special-permissions
Expired
|
2 MB |
|
uploadDownloadActions
Expired
|
2.12 MB |
|
viewer,infoDrawer,extensions
Expired
|
2.2 MB |
|