mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-31 17:38:48 +00:00
[AAE-1926] automated e2e tests - interacting with an attached file in an active & completed form (#5528)
This commit is contained in:
committed by
GitHub
parent
7a2af38699
commit
133140d69b
@@ -73,7 +73,7 @@ describe('Task Audit', () => {
|
||||
await taskPage.tasksListPage().checkContentIsDisplayed(taskTaskApp);
|
||||
|
||||
await taskPage.taskDetails().clickAuditLogButton();
|
||||
await expect(await FileBrowserUtil.isFileDownloaded(auditLogFile)).toBe(true);
|
||||
await FileBrowserUtil.isFileDownloaded(auditLogFile);
|
||||
});
|
||||
|
||||
it('[C260389] Should Audit file be downloaded when clicking on Task Audit log icon on a standalone completed task', async () => {
|
||||
@@ -88,7 +88,7 @@ describe('Task Audit', () => {
|
||||
await expect(await taskPage.formFields().getCompletedTaskNoFormMessage()).toEqual('Task ' + taskTaskApp + ' completed');
|
||||
|
||||
await taskPage.taskDetails().clickAuditLogButton();
|
||||
await expect(await FileBrowserUtil.isFileDownloaded(auditLogFile)).toBe(true);
|
||||
await FileBrowserUtil.isFileDownloaded(auditLogFile);
|
||||
});
|
||||
|
||||
it('[C263944] Should Audit file be downloaded when clicking on Task Audit log icon on a custom app standalone completed task', async () => {
|
||||
@@ -105,7 +105,7 @@ describe('Task Audit', () => {
|
||||
await expect(await taskPage.formFields().getCompletedTaskNoFormMessage()).toEqual('Task ' + taskCompleteCustomApp + ' completed');
|
||||
|
||||
await taskPage.taskDetails().clickAuditLogButton();
|
||||
await expect(await FileBrowserUtil.isFileDownloaded(auditLogFile)).toBe(true);
|
||||
await FileBrowserUtil.isFileDownloaded(auditLogFile);
|
||||
});
|
||||
|
||||
it('[C263943] Should Audit file be downloaded when clicking on Task Audit log icon on a custom app standalone running task', async () => {
|
||||
@@ -117,6 +117,6 @@ describe('Task Audit', () => {
|
||||
await taskPage.tasksListPage().checkContentIsDisplayed(taskCustomApp);
|
||||
|
||||
await taskPage.taskDetails().clickAuditLogButton();
|
||||
await expect(await FileBrowserUtil.isFileDownloaded(auditLogFile)).toBe(true);
|
||||
await FileBrowserUtil.isFileDownloaded(auditLogFile);
|
||||
});
|
||||
});
|
||||
|
Reference in New Issue
Block a user