[ACA-2176] Reenable C286314 test (#2025)

* Reenable test excluded due to ACA-2176

* Replace share to copy dialog for flaky test
This commit is contained in:
Iulia Burcă
2021-02-26 15:35:27 +02:00
committed by GitHub
parent 565eecc966
commit 5f24a10dd9
2 changed files with 2 additions and 3 deletions

View File

@@ -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",

View File

@@ -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');