Pull request #4125
Annotations
10 errors, 1 warning, and 1 notice
Run /./.github/actions/run-e2e-playwright:
e2e/playwright/viewer/src/tests/viewer-action.e2e.ts#L194
1) [Viewer] › src/tests/viewer-action.e2e.ts:182:7 › viewer action file › [C297586] [C307004] Upload new version action - major
Error: expect(received).toContain(expected) // indexOf
Expected substring: "file2-docx"
Received string: "navigate_before
navigate_next"
192 | await expect(personalFiles.uploadNewVersionDialog.cancelButton).toHaveCount(0);
193 | expect(await personalFiles.viewer.isViewerOpened(), 'Viewer is not open').toBe(true);
> 194 | expect(await personalFiles.viewer.fileTitleButtonLocator.innerText()).toContain(docxFile2);
| ^
195 | expect(await nodesApiAction.getNodeProperty(filePersonalFilesId, 'cm:versionType'), 'File has incorrect version type').toEqual('MAJOR');
196 | expect(await nodesApiAction.getNodeProperty(filePersonalFilesId, 'cm:versionLabel'), 'File has incorrect version label').toEqual('2.0');
197 | });
at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/viewer/src/tests/viewer-action.e2e.ts:194:75
|
Run /./.github/actions/run-e2e-playwright:
e2e/playwright/viewer/src/tests/viewer-action.e2e.ts#L194
1) [Viewer] › src/tests/viewer-action.e2e.ts:182:7 › viewer action file › [C297586] [C307004] Upload new version action - major
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toContain(expected) // indexOf
Expected substring: "file2-docx"
Received string: "navigate_before
navigate_next"
192 | await expect(personalFiles.uploadNewVersionDialog.cancelButton).toHaveCount(0);
193 | expect(await personalFiles.viewer.isViewerOpened(), 'Viewer is not open').toBe(true);
> 194 | expect(await personalFiles.viewer.fileTitleButtonLocator.innerText()).toContain(docxFile2);
| ^
195 | expect(await nodesApiAction.getNodeProperty(filePersonalFilesId, 'cm:versionType'), 'File has incorrect version type').toEqual('MAJOR');
196 | expect(await nodesApiAction.getNodeProperty(filePersonalFilesId, 'cm:versionLabel'), 'File has incorrect version label').toEqual('2.0');
197 | });
at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/viewer/src/tests/viewer-action.e2e.ts:194:75
|
Run /./.github/actions/run-e2e-playwright:
e2e/playwright/viewer/src/tests/viewer-action.e2e.ts#L194
1) [Viewer] › src/tests/viewer-action.e2e.ts:182:7 › viewer action file › [C297586] [C307004] Upload new version action - major
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toContain(expected) // indexOf
Expected substring: "file2-docx"
Received string: "navigate_before
navigate_next"
192 | await expect(personalFiles.uploadNewVersionDialog.cancelButton).toHaveCount(0);
193 | expect(await personalFiles.viewer.isViewerOpened(), 'Viewer is not open').toBe(true);
> 194 | expect(await personalFiles.viewer.fileTitleButtonLocator.innerText()).toContain(docxFile2);
| ^
195 | expect(await nodesApiAction.getNodeProperty(filePersonalFilesId, 'cm:versionType'), 'File has incorrect version type').toEqual('MAJOR');
196 | expect(await nodesApiAction.getNodeProperty(filePersonalFilesId, 'cm:versionLabel'), 'File has incorrect version label').toEqual('2.0');
197 | });
at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/viewer/src/tests/viewer-action.e2e.ts:194:75
|
Run /./.github/actions/run-e2e-playwright:
e2e/playwright/viewer/src/tests/viewer-action.e2e.ts#L210
2) [Viewer] › src/tests/viewer-action.e2e.ts:199:7 › viewer action file › [MNT-21058] Upload new version action when node is locked
Error: expect(received).toContain(expected) // indexOf
Expected substring: "file-docx"
Received string: "navigate_before
navigate_next"
208 |
209 | await personalFiles.viewer.waitForViewerToOpen();
> 210 | expect(await personalFiles.viewer.fileTitleButtonLocator.innerText()).toContain(docxFile);
| ^
211 |
212 | await personalFiles.acaHeader.clickViewerMoreActions();
213 | await expect(personalFiles.matMenu.getMenuItemFromHeaderMenu('Cancel Editing'), `'Cancel Editing' button shouldn't be shown`).toBeHidden();
at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/viewer/src/tests/viewer-action.e2e.ts:210:75
|
Run /./.github/actions/run-e2e-playwright:
e2e/playwright/viewer/src/tests/viewer-action.e2e.ts#L213
2) [Viewer] › src/tests/viewer-action.e2e.ts:199:7 › viewer action file › [MNT-21058] Upload new version action when node is locked
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: 'Cancel Editing' button shouldn't be shown
Timed out 5000ms waiting for expect(locator).toBeHidden()
Locator: getByRole('menuitem', { name: 'Cancel Editing', exact: true })
Expected: hidden
Received: visible
Call log:
- 'Cancel Editing' button shouldn't be shown with timeout 5000ms
- waiting for getByRole('menuitem', { name: 'Cancel Editing', exact: true })
8 × locator resolved to <button tabindex="0" role="menuitem" mat-menu-item="" aria-disabled="false" title="Cancel Editing" class="mat-mdc-menu-item mat-mdc-focus-indicator">…</button>
- unexpected value "visible"
211 |
212 | await personalFiles.acaHeader.clickViewerMoreActions();
> 213 | await expect(personalFiles.matMenu.getMenuItemFromHeaderMenu('Cancel Editing'), `'Cancel Editing' button shouldn't be shown`).toBeHidden();
| ^
214 | await expect(personalFiles.matMenu.getMenuItemFromHeaderMenu('Edit Offline'), `'Edit Offline' should be shown`).toBeVisible();
215 | });
216 |
at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/viewer/src/tests/viewer-action.e2e.ts:213:131
|
Run /./.github/actions/run-e2e-playwright:
e2e/playwright/viewer/src/tests/viewer-action.e2e.ts#L210
2) [Viewer] › src/tests/viewer-action.e2e.ts:199:7 › viewer action file › [MNT-21058] Upload new version action when node is locked
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toContain(expected) // indexOf
Expected substring: "file-docx"
Received string: "navigate_before
navigate_next"
208 |
209 | await personalFiles.viewer.waitForViewerToOpen();
> 210 | expect(await personalFiles.viewer.fileTitleButtonLocator.innerText()).toContain(docxFile);
| ^
211 |
212 | await personalFiles.acaHeader.clickViewerMoreActions();
213 | await expect(personalFiles.matMenu.getMenuItemFromHeaderMenu('Cancel Editing'), `'Cancel Editing' button shouldn't be shown`).toBeHidden();
at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/viewer/src/tests/viewer-action.e2e.ts:210:75
|
Run /./.github/actions/run-e2e-playwright:
e2e/playwright/viewer/src/tests/viewer-action.e2e.ts#L1
3) [Viewer] › src/tests/viewer-action.e2e.ts:217:7 › viewer action file › [C286384] Copy action from Recent Files
Test timeout of 85000ms exceeded.
|
Run /./.github/actions/run-e2e-playwright:
projects/aca-playwright-shared/src/page-objects/components/dialogs/content-node-selector-dialog.ts#L57
3) [Viewer] › src/tests/viewer-action.e2e.ts:217:7 › viewer action file › [C286384] Copy action from Recent Files
Error: locator.click: Test timeout of 85000ms exceeded.
Call log:
- waiting for locator('.mat-mdc-select-panel .mdc-list-item__primary-text').filter({ hasText: 'Personal Files' })
at ../../../projects/aca-playwright-shared/src/page-objects/components/dialogs/content-node-selector-dialog.ts:57
55 | await this.locationDropDown.click();
56 | const optionLocator = this.getOptionLocator(location);
> 57 | await optionLocator.click();
| ^
58 | await optionLocator.waitFor({ state: 'detached' });
59 | }
60 |
at ContentNodeSelectorDialog.selectLocation (/home/runner/work/alfresco-content-app/alfresco-content-app/projects/aca-playwright-shared/src/page-objects/components/dialogs/content-node-selector-dialog.ts:57:25)
at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/viewer/src/tests/viewer-action.e2e.ts:225:5
|
Run /./.github/actions/run-e2e-playwright:
e2e/playwright/viewer/src/tests/viewer-file-types.e2e.ts#L1
4) [Viewer] › src/tests/viewer-file-types.e2e.ts:149:7 › viewer file types › [XAT-5486] User can close the thumbnail pane
Error: {"error":{"errorKey":"Person 'user-wfz2e' already exists.","statusCode":409,"briefSummary":"11305928 Person 'user-wfz2e' already exists.","stackTrace":"For security reasons the stack trace is no longer displayed, but the property is kept for previous versions","descriptionURL":"https://api-explorer.alfresco.com","logId":"5694578b-725a-4621-9457-8b725a362159"}}
at Request.callback (/home/runner/work/alfresco-content-app/alfresco-content-app/node_modules/superagent/src/node/index.js:875:17)
at fn (/home/runner/work/alfresco-content-app/alfresco-content-app/node_modules/superagent/src/node/index.js:1165:18)
at IncomingMessage.<anonymous> (/home/runner/work/alfresco-content-app/alfresco-content-app/node_modules/superagent/src/node/parsers/json.js:19:7)
|
Run /./.github/actions/run-e2e-playwright:
e2e/playwright/viewer/src/tests/viewer.e2e.ts#L1
5) [Viewer] › src/tests/viewer.e2e.ts:175:7 › viewer file › [C284634] Viewer opens for a file from Favorites
Error: {"error":{"errorKey":"Person 'user-1m4gi' already exists.","statusCode":409,"briefSummary":"11305238 Person 'user-1m4gi' already exists.","stackTrace":"For security reasons the stack trace is no longer displayed, but the property is kept for previous versions","descriptionURL":"https://api-explorer.alfresco.com","logId":"24a4749d-c641-44ab-a474-9dc64144ab42"}}
at Request.callback (/home/runner/work/alfresco-content-app/alfresco-content-app/node_modules/superagent/src/node/index.js:875:17)
at fn (/home/runner/work/alfresco-content-app/alfresco-content-app/node_modules/superagent/src/node/index.js:1165:18)
at IncomingMessage.<anonymous> (/home/runner/work/alfresco-content-app/alfresco-content-app/node_modules/superagent/src/node/parsers/json.js:19:7)
|
Run /./.github/actions/run-e2e-playwright:
[Viewer] › src/tests/viewer-useraction.e2e.ts#L1
[Viewer] › src/tests/viewer-useraction.e2e.ts took 23.5s
|
Run /./.github/actions/run-e2e-playwright
2 failed
[Viewer] › src/tests/viewer-action.e2e.ts:182:7 › viewer action file › [C297586] [C307004] Upload new version action - major
[Viewer] › src/tests/viewer-action.e2e.ts:199:7 › viewer action file › [MNT-21058] Upload new version action when node is locked
3 flaky
[Viewer] › src/tests/viewer-action.e2e.ts:217:7 › viewer action file › [C286384] Copy action from Recent Files
[Viewer] › src/tests/viewer-file-types.e2e.ts:149:7 › viewer file types › [XAT-5486] User can close the thumbnail pane
[Viewer] › src/tests/viewer.e2e.ts:175:7 › viewer file › [C284634] Viewer opens for a file from Favorites
29 passed (5.7m)
|
Loading