Skip to content

[ACS-5014] Migrated Copy Move actions E2Es from protractor to playwright #1761

[ACS-5014] Migrated Copy Move actions E2Es from protractor to playwright

[ACS-5014] Migrated Copy Move actions E2Es from protractor to playwright #1761

Triggered via pull request November 21, 2023 11:56
Status Failure
Total duration 6h 8m 45s
Artifacts 15

pull-request.yml

on: pull_request
Matrix: unit-tests
Matrix: E2e test suites: Playwright
Matrix: e2es
Finalize
2s
Finalize
Fit to window
Zoom out
Zoom in

Annotations

15 errors, 4 warnings, and 4 notices
[Folder Rules] › src/tests/actions.spec.ts:54:7 › Folder Rules Actions › [C691637] Create a rule with actions: e2e/playwright/folder-rules/src/tests/actions.spec.ts#L71
1) [Folder Rules] › src/tests/actions.spec.ts:54:7 › Folder Rules Actions › [C691637] Create a rule with actions Error: Timed out 5000ms waiting for expect(received).toBeVisible() Call log: - expect.soft.toBeVisible with timeout 5000ms - waiting for locator('.aca-manage-rules .aca-rule-list-item__header').filter({ hasText: 'playwright-rule-ajt7uo' }) 69 | await nodesPage.manageRulesDialog.createRuleButton.click(); 70 | > 71 | await expect.soft(nodesPage.manageRules.getGroupsList(randomRuleName)).toBeVisible(); | ^ 72 | }); 73 | }); 74 | at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/folder-rules/src/tests/actions.spec.ts:71:76
[Folder Rules] › src/tests/actions.spec.ts:54:7 › Folder Rules Actions › [C691637] Create a rule with actions: e2e/playwright/folder-rules/src/tests/actions.spec.ts#L71
1) [Folder Rules] › src/tests/actions.spec.ts:54:7 › Folder Rules Actions › [C691637] Create a rule with actions Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(received).toBeVisible() Call log: - expect.soft.toBeVisible with timeout 5000ms - waiting for locator('.aca-manage-rules .aca-rule-list-item__header').filter({ hasText: 'playwright-rule-x1v66rh' }) 69 | await nodesPage.manageRulesDialog.createRuleButton.click(); 70 | > 71 | await expect.soft(nodesPage.manageRules.getGroupsList(randomRuleName)).toBeVisible(); | ^ 72 | }); 73 | }); 74 | at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/folder-rules/src/tests/actions.spec.ts:71:76
[Actions] › src/tests/create-file-from-template.spec.ts:125:11 › Create file from template › Personal Files page › Select Template dialog › [C325043] Select template - dialog UI - with existing templates: e2e/playwright/actions/src/tests/create-file-from-template.spec.ts#L126
1) [Actions] › src/tests/create-file-from-template.spec.ts:125:11 › Create file from template › Personal Files page › Select Template dialog › [C325043] Select template - dialog UI - with existing templates Error: toBeVisible can be only used with Locator object 124 | test.describe('Select Template dialog', () => { 125 | test('[C325043] Select template - dialog UI - with existing templates', async () => { > 126 | await expect.soft(selectFileTemplateDialog.getDialogTitle(selectDialogTitle)).toBeVisible(); | ^ 127 | await expect.soft(selectFileTemplateDialog.getBreadcrumb(dialogBreadcrumb)).toBeVisible(); 128 | await expect.soft(dataTable.getRowByName(templatesFolder1)).not.toBeEmpty(); 129 | await expect.soft(dataTable.getRowByName(templatesFolder1)).toBeVisible(); at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/actions/src/tests/create-file-from-template.spec.ts:126:87
[Actions] › src/tests/create-file-from-template.spec.ts:125:11 › Create file from template › Personal Files page › Select Template dialog › [C325043] Select template - dialog UI - with existing templates: e2e/playwright/actions/src/tests/create-file-from-template.spec.ts#L127
1) [Actions] › src/tests/create-file-from-template.spec.ts:125:11 › Create file from template › Personal Files page › Select Template dialog › [C325043] Select template - dialog UI - with existing templates Error: Timed out 5000ms waiting for expect(received).toBeVisible() Call log: - expect.soft.toBeVisible with timeout 5000ms - waiting for locator('adf-content-node-selector [data-automation-id="current-folder"]').filter({ hasText: 'Node Templates' }) 125 | test('[C325043] Select template - dialog UI - with existing templates', async () => { 126 | await expect.soft(selectFileTemplateDialog.getDialogTitle(selectDialogTitle)).toBeVisible(); > 127 | await expect.soft(selectFileTemplateDialog.getBreadcrumb(dialogBreadcrumb)).toBeVisible(); | ^ 128 | await expect.soft(dataTable.getRowByName(templatesFolder1)).not.toBeEmpty(); 129 | await expect.soft(dataTable.getRowByName(templatesFolder1)).toBeVisible(); 130 | await expect.soft(dataTable.getRowByName(templatesFolder2)).toBeVisible(); at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/actions/src/tests/create-file-from-template.spec.ts:127:85
[Actions] › src/tests/create-file-from-template.spec.ts:125:11 › Create file from template › Personal Files page › Select Template dialog › [C325043] Select template - dialog UI - with existing templates: e2e/playwright/actions/src/tests/create-file-from-template.spec.ts#L126
1) [Actions] › src/tests/create-file-from-template.spec.ts:125:11 › Create file from template › Personal Files page › Select Template dialog › [C325043] Select template - dialog UI - with existing templates Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: toBeVisible can be only used with Locator object 124 | test.describe('Select Template dialog', () => { 125 | test('[C325043] Select template - dialog UI - with existing templates', async () => { > 126 | await expect.soft(selectFileTemplateDialog.getDialogTitle(selectDialogTitle)).toBeVisible(); | ^ 127 | await expect.soft(selectFileTemplateDialog.getBreadcrumb(dialogBreadcrumb)).toBeVisible(); 128 | await expect.soft(dataTable.getRowByName(templatesFolder1)).not.toBeEmpty(); 129 | await expect.soft(dataTable.getRowByName(templatesFolder1)).toBeVisible(); at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/actions/src/tests/create-file-from-template.spec.ts:126:87
[Actions] › src/tests/create-file-from-template.spec.ts:125:11 › Create file from template › Personal Files page › Select Template dialog › [C325043] Select template - dialog UI - with existing templates: e2e/playwright/actions/src/tests/create-file-from-template.spec.ts#L126
1) [Actions] › src/tests/create-file-from-template.spec.ts:125:11 › Create file from template › Personal Files page › Select Template dialog › [C325043] Select template - dialog UI - with existing templates Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: toBeVisible can be only used with Locator object 124 | test.describe('Select Template dialog', () => { 125 | test('[C325043] Select template - dialog UI - with existing templates', async () => { > 126 | await expect.soft(selectFileTemplateDialog.getDialogTitle(selectDialogTitle)).toBeVisible(); | ^ 127 | await expect.soft(selectFileTemplateDialog.getBreadcrumb(dialogBreadcrumb)).toBeVisible(); 128 | await expect.soft(dataTable.getRowByName(templatesFolder1)).not.toBeEmpty(); 129 | await expect.soft(dataTable.getRowByName(templatesFolder1)).toBeVisible(); at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/actions/src/tests/create-file-from-template.spec.ts:126:87
[Actions] › src/tests/create-file-from-template.spec.ts:136:11 › Create file from template › Personal Files page › Select Template dialog › [C325044] Templates don't appear if user doesn't have permissions to see them: e2e/playwright/actions/src/tests/create-file-from-template.spec.ts#L137
2) [Actions] › src/tests/create-file-from-template.spec.ts:136:11 › Create file from template › Personal Files page › Select Template dialog › [C325044] Templates don't appear if user doesn't have permissions to see them Error: toBeVisible can be only used with Locator object 135 | 136 | test(`[C325044] Templates don't appear if user doesn't have permissions to see them`, async () => { > 137 | await expect(selectFileTemplateDialog.getDialogTitle(selectDialogTitle)).toBeVisible(); | ^ 138 | await expect(dataTable.getRowByName(restrictedTemplateFolder)).not.toBeVisible(); 139 | await expect(dataTable.getRowByName(templateInRestrictedFolder)).not.toBeVisible(); 140 | }); at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/actions/src/tests/create-file-from-template.spec.ts:137:82
[Actions] › src/tests/create-file-from-template.spec.ts:136:11 › Create file from template › Personal Files page › Select Template dialog › [C325044] Templates don't appear if user doesn't have permissions to see them: e2e/playwright/actions/src/tests/create-file-from-template.spec.ts#L137
2) [Actions] › src/tests/create-file-from-template.spec.ts:136:11 › Create file from template › Personal Files page › Select Template dialog › [C325044] Templates don't appear if user doesn't have permissions to see them Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: toBeVisible can be only used with Locator object 135 | 136 | test(`[C325044] Templates don't appear if user doesn't have permissions to see them`, async () => { > 137 | await expect(selectFileTemplateDialog.getDialogTitle(selectDialogTitle)).toBeVisible(); | ^ 138 | await expect(dataTable.getRowByName(restrictedTemplateFolder)).not.toBeVisible(); 139 | await expect(dataTable.getRowByName(templateInRestrictedFolder)).not.toBeVisible(); 140 | }); at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/actions/src/tests/create-file-from-template.spec.ts:137:82
[Actions] › src/tests/create-file-from-template.spec.ts:136:11 › Create file from template › Personal Files page › Select Template dialog › [C325044] Templates don't appear if user doesn't have permissions to see them: e2e/playwright/actions/src/tests/create-file-from-template.spec.ts#L137
2) [Actions] › src/tests/create-file-from-template.spec.ts:136:11 › Create file from template › Personal Files page › Select Template dialog › [C325044] Templates don't appear if user doesn't have permissions to see them Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: toBeVisible can be only used with Locator object 135 | 136 | test(`[C325044] Templates don't appear if user doesn't have permissions to see them`, async () => { > 137 | await expect(selectFileTemplateDialog.getDialogTitle(selectDialogTitle)).toBeVisible(); | ^ 138 | await expect(dataTable.getRowByName(restrictedTemplateFolder)).not.toBeVisible(); 139 | await expect(dataTable.getRowByName(templateInRestrictedFolder)).not.toBeVisible(); 140 | }); at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/actions/src/tests/create-file-from-template.spec.ts:137:82
[Actions] › src/tests/create-file-from-template.spec.ts:181:11 › Create file from template › Personal Files page › Select Template dialog › [C325048] Cancel the Select template dialog: e2e/playwright/actions/src/tests/create-file-from-template.spec.ts#L182
3) [Actions] › src/tests/create-file-from-template.spec.ts:181:11 › Create file from template › Personal Files page › Select Template dialog › [C325048] Cancel the Select template dialog Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: toBeVisible can be only used with Locator object 180 | 181 | test('[C325048] Cancel the Select template dialog', async () => { > 182 | await expect(selectFileTemplateDialog.getDialogTitle(selectDialogTitle)).toBeVisible(); | ^ 183 | 184 | await selectFileTemplateDialog.cancelButton.click(); 185 | await expect(selectFileTemplateDialog.getDialogTitle(selectDialogTitle)).toBeHidden(); at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/actions/src/tests/create-file-from-template.spec.ts:182:82
[Actions] › src/tests/create-file-from-template.spec.ts:181:11 › Create file from template › Personal Files page › Select Template dialog › [C325048] Cancel the Select template dialog: e2e/playwright/actions/src/tests/create-file-from-template.spec.ts#L182
3) [Actions] › src/tests/create-file-from-template.spec.ts:181:11 › Create file from template › Personal Files page › Select Template dialog › [C325048] Cancel the Select template dialog Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: toBeVisible can be only used with Locator object 180 | 181 | test('[C325048] Cancel the Select template dialog', async () => { > 182 | await expect(selectFileTemplateDialog.getDialogTitle(selectDialogTitle)).toBeVisible(); | ^ 183 | 184 | await selectFileTemplateDialog.cancelButton.click(); 185 | await expect(selectFileTemplateDialog.getDialogTitle(selectDialogTitle)).toBeHidden(); at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/actions/src/tests/create-file-from-template.spec.ts:182:82
[Actions] › src/tests/create-folder-from-template.spec.ts:133:11 › Create folder from template › Personal Files page › Select Template dialog › [C325147] Select template - dialog UI - with existing templates: e2e/playwright/actions/src/tests/create-folder-from-template.spec.ts#L134
4) [Actions] › src/tests/create-folder-from-template.spec.ts:133:11 › Create folder from template › Personal Files page › Select Template dialog › [C325147] Select template - dialog UI - with existing templates Error: toBeVisible can be only used with Locator object 132 | test.describe('Select Template dialog', () => { 133 | test('[C325147] Select template - dialog UI - with existing templates', async () => { > 134 | await expect.soft(selectFolderTemplateDialog.getDialogTitle(selectDialogTitle)).toBeVisible(); | ^ 135 | await expect.soft(selectFolderTemplateDialog.getBreadcrumb(dialogBreadcrumb)).toBeVisible(); 136 | await expect.soft(dataTable.getRowByName(templateFolder1)).not.toBeEmpty(); 137 | await expect.soft(dataTable.getRowByName(templateFolder1)).toBeVisible(); at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/actions/src/tests/create-folder-from-template.spec.ts:134:89
E2e test suites: Playwright (viewer, 3)
Process completed with exit code 1.
E2e test suites: Playwright (special-permissions, 6)
The job running on runner GitHub Actions 15 has exceeded the maximum execution time of 360 minutes.
Finalize
Process completed with exit code 1.
E2e test suites: copyMoveActions
No files were found with the provided path: e2e-output/. 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 (navigation, 5)
No files were found with the provided path: test-results/. No artifacts will be uploaded.
E2e test suites: Playwright (special-permissions, 6)
Runner GitHub Actions 15 did not respond to a cancelation request with 00:05:00.
🎭 Playwright Run Summary
5 passed (26.7s)
🎭 Playwright Run Summary
1 flaky [Folder Rules] › src/tests/actions.spec.ts:54:7 › Folder Rules Actions › [C691637] Create a rule with actions 2 passed (1.2m)
🎭 Playwright Run Summary
16 passed (1.7m)
🎭 Playwright Run Summary
6 failed [Actions] › src/tests/create-file-from-template.spec.ts:125:11 › Create file from template › Personal Files page › Select Template dialog › [C325043] Select template - dialog UI - with existing templates [Actions] › src/tests/create-file-from-template.spec.ts:136:11 › Create file from template › Personal Files page › Select Template dialog › [C325044] Templates don't appear if user doesn't have permissions to see them [Actions] › src/tests/create-file-from-template.spec.ts:181:11 › Create file from template › Personal Files page › Select Template dialog › [C325048] Cancel the Select template dialog [Actions] › src/tests/create-folder-from-template.spec.ts:133:11 › Create folder from template › Personal Files page › Select Template dialog › [C325147] Select template - dialog UI - with existing templates [Actions] › src/tests/create-folder-from-template.spec.ts:144:11 › Create folder from template › Personal Files page › Select Template dialog › [C325148] Templates don't appear if user doesn't have permissions to see them [Actions] › src/tests/create-folder-from-template.spec.ts:185:11 › Create folder from template › Personal Files page › Select Template dialog › [C325151] Cancel the Select template dialog 2 flaky [Actions] › src/tests/create-file-from-template.spec.ts:142:11 › Create file from template › Personal Files page › Select Template dialog › [C325045] Navigate through the templates list with folder hierarchy [Actions] › src/tests/create-folder.spec.ts:147:7 › Create folders › [C216350] Duplicate folder name error 56 passed (7.0m)

Artifacts

Produced during runtime
Name Size
actions Expired
31.5 MB
actionsAvailableFilesFolders Expired
2.45 MB
actionsAvailableLibraries,actionsAvailableNewMenu Expired
2.21 MB
actionsAvailableSpecialPermissions Expired
2.94 MB
deleteActions Expired
2.14 MB
editActions,favoriteActions Expired
2.13 MB
folder-rules Expired
16 MB
libraryActions Expired
2.14 MB
listViews,navigation Expired
2.14 MB
pagination Expired
3.18 MB
search Expired
2.27 MB
shareActions Expired
2.18 MB
uploadDownloadActions Expired
2.12 MB
viewer Expired
50.1 MB
viewer,infoDrawer,extensions Expired
2.11 MB