[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

@@ -16,7 +16,7 @@
*/
import { Util } from '../../../../util/util';
import { DataTablePage } from '../../dataTablePage';
import { DataTableComponentPage } from '../../dataTableComponentPage';
import { element, by, protractor } from 'protractor';
export class ProcessListDemoPage {
@@ -29,10 +29,10 @@ export class ProcessListDemoPage {
stateSelector = element(by.css('mat-select[data-automation-id="state"'));
sortSelector = element(by.css('mat-select[data-automation-id="sort"'));
dataTable = new DataTablePage();
dataTable = new DataTableComponentPage();
getDisplayedProcessesNames() {
return this.dataTable.getAllRowsNameColumn();
return this.dataTable.getAllRowsColumnValues('Name');
}
selectSorting(sort) {
@@ -76,11 +76,11 @@ export class ProcessListDemoPage {
}
checkProcessIsNotDisplayed(processName) {
return this.dataTable.checkRowIsNotDisplayedByName(processName);
return this.dataTable.checkContentIsNotDisplayed('Name', processName);
}
checkProcessIsDisplayed(processName) {
return this.dataTable.checkRowIsDisplayedByName(processName);
return this.dataTable.checkContentIsDisplayed('Name', processName);
}
checkAppIdFieldIsDisplayed() {