[ADF-4089] Refactoring ContentListPage (#4162)

* [ADF-NO-ISSUE] Refactoring ContentListPage

* Applying changes

* [ADF-4089] contentListPage refactoring

* Fixing missing dependencies

* Fixing core and search failing tests

* Fix tooltip document-list tests

* no message
This commit is contained in:
Marouan Bentaleb
2019-03-08 10:49:23 +00:00
committed by Eugenio Romano
parent 88ef01011e
commit 27c6e18a10
93 changed files with 3410 additions and 3841 deletions

View File

@@ -132,7 +132,7 @@ describe('Attachment list action menu for tasks', () => {
taskPage.completeTaskNoForm();
taskPage.filtersPage().goToFilter(CONSTANTS.TASK_FILTERS.COMPLETED_TASKS);
taskPage.tasksListPage().getDataTable().selectRowByContentName(taskName.completed);
taskPage.tasksListPage().selectRow(taskName.completed);
attachmentListPage.checkAttachFileButtonIsNotDisplayed();
attachmentListPage.viewFile(pngFile.name);
@@ -141,7 +141,7 @@ describe('Attachment list action menu for tasks', () => {
viewerPage.clickCloseButton();
taskPage.filtersPage().goToFilter(CONSTANTS.TASK_FILTERS.COMPLETED_TASKS);
taskPage.tasksListPage().getDataTable().selectRowByContentName(taskName.completed);
taskPage.tasksListPage().selectRow(taskName.completed);
attachmentListPage.downloadFile(pngFile.name);
@@ -194,7 +194,7 @@ describe('Attachment list action menu for tasks', () => {
navigationBarPage.navigateToProcessServicesPage().goToTaskApp().clickTasksButton();
taskPage.filtersPage().goToFilter(CONSTANTS.TASK_FILTERS.MY_TASKS);
taskPage.tasksListPage().getDataTable().selectRowByContentName('SHARE KNOWLEDGE');
taskPage.tasksListPage().selectRow('SHARE KNOWLEDGE');
attachmentListPage.checkFileIsAttached(pngFile.name);
@@ -205,7 +205,7 @@ describe('Attachment list action menu for tasks', () => {
navigationBarPage.navigateToProcessServicesPage().goToTaskApp().clickTasksButton();
taskPage.filtersPage().goToFilter(CONSTANTS.TASK_FILTERS.MY_TASKS);
taskPage.tasksListPage().getDataTable().selectRowByContentName('SHARE KNOWLEDGE');
taskPage.tasksListPage().selectRow('SHARE KNOWLEDGE');
attachmentListPage.checkEmptyAttachmentList();
});