Dev gmandakini automate actionmenu for rows (#4905)

* removing hte test as iti s duplicated. The same tests exist under e2e/content-services/document-list/document-list-actions.e2e.ts

* C260127 - Move - Destination picker search, test for content highlighted

* C260128 - Move same name file test added

* test name updated

* C260134 - Move Folder with subfolder and file within it, test added

* formatting

* C260135 - Move same name folder - test added

* C260131 - Copy - Destination picker search, search text highlighted in the results in the Copy dialog.

* C260129, C260136 - Tests for Copy same name file and same name folder added

* added tests for Copy and Move actions on no permission folder.

* added tests for Copy and Move actions on no permission folder.
This commit is contained in:
Geeta Mandakini Ayyalasomayajula
2019-07-08 10:26:03 +01:00
committed by Eugenio Romano
parent cf761ba0b2
commit 939277366f
5 changed files with 254 additions and 185 deletions

View File

@@ -109,6 +109,17 @@ describe('Document List Component - Actions', () => {
contentServicesPage.checkContentIsDisplayed(pdfFileModel.name);
});
it('[C260131] Copy - Destination picker search', () => {
contentServicesPage.checkContentIsDisplayed(pdfFileModel.name);
contentServicesPage.getDocumentList().rightClickOnRow(pdfFileModel.name);
contentServicesPage.pressContextMenuActionNamed('Copy');
contentNodeSelector.checkDialogIsDisplayed();
contentNodeSelector.typeIntoNodeSelectorSearchField(folderName);
contentNodeSelector.contentListPage().dataTablePage().checkCellByHighlightContent(folderName);
contentNodeSelector.clickCancelButton();
contentNodeSelector.checkDialogIsNotDisplayed();
});
it('[C297491] Should be able to move a file', () => {
contentServicesPage.checkContentIsDisplayed(testFileModel.name);
@@ -123,6 +134,17 @@ describe('Document List Component - Actions', () => {
contentServicesPage.checkContentIsDisplayed(testFileModel.name);
});
it('[C260127] Move - Destination picker search', () => {
contentServicesPage.checkContentIsDisplayed(pdfFileModel.name);
contentServicesPage.getDocumentList().rightClickOnRow(pdfFileModel.name);
contentServicesPage.pressContextMenuActionNamed('Move');
contentNodeSelector.checkDialogIsDisplayed();
contentNodeSelector.typeIntoNodeSelectorSearchField(folderName);
contentNodeSelector.contentListPage().dataTablePage().checkCellByHighlightContent(folderName);
contentNodeSelector.clickCancelButton();
contentNodeSelector.checkDialogIsNotDisplayed();
});
it('[C280561] Should be able to delete a file via dropdown menu', () => {
contentServicesPage.doubleClickRow(uploadedFolder.entry.name);