From 58272f7fbe7366486bdf40043722bb64abf60df3 Mon Sep 17 00:00:00 2001 From: Suzana Dirla Date: Tue, 12 Feb 2019 18:54:35 +0200 Subject: [PATCH] [ACA-2171] enable copy and move to library tests (#933) --- e2e/suites/actions/copy.test.ts | 12 ++++-------- e2e/suites/actions/move.test.ts | 12 ++++-------- 2 files changed, 8 insertions(+), 16 deletions(-) diff --git a/e2e/suites/actions/copy.test.ts b/e2e/suites/actions/copy.test.ts index 743dfa5b8..c1a1c9704 100755 --- a/e2e/suites/actions/copy.test.ts +++ b/e2e/suites/actions/copy.test.ts @@ -239,8 +239,7 @@ describe('Copy content', () => { expect(await dataTable.isItemPresent(file3InFolder)).toBe(true, `${file3InFolder} not present in destination folder`); }); - // TODO disabled until ACA-2171 is fixed - xit('Copy items into a library - [C280282]', async () => { + it('Copy items into a library - [C280282]', async () => { await dataTable.selectMultipleItems([file1, folder1]); await toolbar.clickMoreActionsCopy(); await copyDialog.selectLocation('File Libraries'); @@ -324,8 +323,7 @@ describe('Copy content', () => { expect(await dataTable.isItemPresent(`${existingFile}-1.txt`)).toBe(true, `${existingFile}-1.txt not present in destination folder`); }); - // TODO disabled until ACA-2171 is fixed - xit('Copy items into a library - [C291899]', async () => { + it('Copy items into a library - [C291899]', async () => { await dataTable.selectItem(file1, source); await toolbar.clickMoreActionsCopy(); await copyDialog.selectLocation('File Libraries'); @@ -403,8 +401,7 @@ describe('Copy content', () => { expect(await dataTable.isItemPresent(`${existingFile}-1.txt`)).toBe(true, `${existingFile}-1.txt not present in destination folder`); }); - // TODO disabled until ACA-2171 is fixed - xit('Copy items into a library - [C291900]', async () => { + it('Copy items into a library - [C291900]', async () => { await dataTable.selectItem(file1, source); await toolbar.clickMoreActionsCopy(); await copyDialog.selectLocation('File Libraries'); @@ -529,8 +526,7 @@ describe('Copy content', () => { expect(await dataTable.isItemPresent(file3InFolder)).toBe(true, `${file3InFolder} not present in destination folder`); }); - // TODO disabled until ACA-2171 is fixed - xit('Copy items into a library - [C291901]', async () => { + it('Copy items into a library - [C291901]', async () => { await dataTable.selectMultipleItems([file1, folder1], source); await toolbar.clickMoreActionsCopy(); await copyDialog.selectLocation('File Libraries'); diff --git a/e2e/suites/actions/move.test.ts b/e2e/suites/actions/move.test.ts index c4936326b..ded079434 100755 --- a/e2e/suites/actions/move.test.ts +++ b/e2e/suites/actions/move.test.ts @@ -250,8 +250,7 @@ describe('Move content', () => { expect(await dataTable.isItemPresent(file3InFolder)).toBe(true, `${file3InFolder} not present in destination folder`); }); - // TODO disabled until ACA-2171 is fixed - xit('Move items into a library - [C291969]', async () => { + it('Move items into a library - [C291969]', async () => { await dataTable.selectMultipleItems([file4, folder2]); await toolbar.clickMoreActionsMove(); await moveDialog.selectLocation('File Libraries'); @@ -371,8 +370,7 @@ describe('Move content', () => { expect(await dataTable.isItemPresent(`${existingFile}-1.txt`)).toBe(false, `${existingFile}-1.txt is present in destination folder`); }); - // TODO disabled until ACA-2171 is fixed - xit('Move items into a library - [C291971]', async () => { + it('Move items into a library - [C291971]', async () => { await dataTable.selectItem(file4, sourceRF); await toolbar.clickMoreActionsMove(); await moveDialog.selectLocation('File Libraries'); @@ -494,8 +492,7 @@ describe('Move content', () => { expect(await dataTable.isItemPresent(`${existingFile}-1.txt`)).toBe(false, `${existingFile}-1.txt not present in destination folder`); }); - // TODO disabled until ACA-2171 is fixed - xit('Move items into a library - [C291978]', async () => { + it('Move items into a library - [C291978]', async () => { await dataTable.selectItem(file4, sourceSF); await toolbar.clickMoreActionsMove(); await moveDialog.selectLocation('File Libraries'); @@ -685,8 +682,7 @@ describe('Move content', () => { expect(await dataTable.isItemPresent(file3InFolder)).toBe(true, `${file3InFolder} not present in destination folder`); }); - // TODO disabled until ACA-2171 is fixed - xit('Move items into a library - [C291979]', async () => { + it('Move items into a library - [C291979]', async () => { await dataTable.selectMultipleItems([file4, folder2], sourceFav); await toolbar.clickMoreActionsMove(); await moveDialog.selectLocation('File Libraries');