[AAE-1926] automated e2e tests - interacting with an attached file in an active & completed form (#5528)

This commit is contained in:
Alexandra Abrudan
2020-03-02 14:52:41 +00:00
committed by GitHub
parent 7a2af38699
commit 133140d69b
11 changed files with 182 additions and 18 deletions

View File

@@ -96,7 +96,7 @@ describe('Attachment list action menu for tasks', () => {
await browser.sleep(1000);
await expect(await FileBrowserUtil.isFileDownloaded(downloadedPngFile)).toBe(true);
await FileBrowserUtil.isFileDownloaded(downloadedPngFile);
await attachmentListPage.removeFile(pngFile.name);
await attachmentListPage.checkFileIsRemoved(pngFile.name);
@@ -127,7 +127,7 @@ describe('Attachment list action menu for tasks', () => {
await browser.sleep(1000);
await expect(await FileBrowserUtil.isFileDownloaded(downloadedPngFile)).toBe(true);
await FileBrowserUtil.isFileDownloaded(downloadedPngFile);
await attachmentListPage.removeFile(pngFile.name);
await attachmentListPage.checkFileIsRemoved(pngFile.name);