From 5f24a10dd9ba9a347306281e85450ff945a85597 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Iulia=20Burc=C4=83?= Date: Fri, 26 Feb 2021 15:35:27 +0200 Subject: [PATCH] [ACA-2176] Reenable C286314 test (#2025) * Reenable test excluded due to ACA-2176 * Replace share to copy dialog for flaky test --- e2e/protractor.excludes.json | 1 - e2e/suites/viewer/viewer-actions.test.ts | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/e2e/protractor.excludes.json b/e2e/protractor.excludes.json index 8d855fb70..229b4dd2a 100644 --- a/e2e/protractor.excludes.json +++ b/e2e/protractor.excludes.json @@ -1,6 +1,5 @@ { "C306956": "https://alfresco.atlassian.net/browse/ACA-4196", - "C286314": "https://alfresco.atlassian.net/browse/ACA-2176", "C325049": "https://alfresco.atlassian.net/browse/ACA-4219", "C286326": "https://alfresco.atlassian.net/browse/ACA-4253", "C286656": "https://alfresco.atlassian.net/browse/ACA-4253", diff --git a/e2e/suites/viewer/viewer-actions.test.ts b/e2e/suites/viewer/viewer-actions.test.ts index 3af4314e5..9d1ac7b62 100755 --- a/e2e/suites/viewer/viewer-actions.test.ts +++ b/e2e/suites/viewer/viewer-actions.test.ts @@ -294,8 +294,8 @@ describe('Viewer actions', () => { await dataTable.doubleClickOnRowByName(docxPersonalFiles); await viewer.waitForViewerToOpen(); - await toolbar.shareButton.click(); - expect(await shareDialog.isDialogOpen()).toBe(true, 'Dialog is not open'); + await toolbar.clickMoreActionsCopy(); + expect(await copyMoveDialog.isDialogOpen()).toBe(true, 'Dialog is not open'); await Utils.pressEscape(); expect(await shareDialog.isDialogOpen()).toBe(false, 'Dialog is still open'); expect(await viewer.isViewerOpened()).toBe(true, 'Viewer is not opened');