Pull request #4130
Annotations
8 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#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 #1 ───────────────────────────────────────────────────────────────────────────────────────
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#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.e2e.ts#L1
3) [Viewer] › src/tests/viewer.e2e.ts:175:7 › viewer file › [C284634] Viewer opens for a file from Favorites
Error: {"error":{"errorKey":"Person 'user-jf5m2' already exists.","statusCode":409,"briefSummary":"000124262 Person 'user-jf5m2' 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":"49e12b34-e41f-4eaa-a12b-34e41ffeaa8b"}}
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
Process completed with exit code 1.
|
Run /./.github/actions/run-e2e-playwright:
[Viewer] › src/tests/viewer-useraction.e2e.ts#L1
[Viewer] › src/tests/viewer-useraction.e2e.ts took 22.1s
|
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
1 flaky
[Viewer] › src/tests/viewer.e2e.ts:175:7 › viewer file › [C284634] Viewer opens for a file from Favorites
31 passed (4.7m)
|
Loading