mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-31 17:38:48 +00:00
[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:
committed by
Eugenio Romano
parent
88ef01011e
commit
27c6e18a10
@@ -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() {
|
||||
|
Reference in New Issue
Block a user