mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-31 17:38:48 +00:00
[ADF-3753]Refactor task filters page (#3969)
* Refactoring taskFiltersPage * Refactor task filters page * Fix lint errors * no message
This commit is contained in:
committed by
Eugenio Romano
parent
54cbd210a1
commit
534954ffef
@@ -21,6 +21,7 @@ var DataTablePage = require('../dataTablePage');
|
||||
var TasksListPage = function () {
|
||||
|
||||
var taskList = element(by.css("adf-tasklist"));
|
||||
var noTasksFound = element(by.css("p[class='adf-empty-content__title']"));
|
||||
|
||||
var dataTable = new DataTablePage(taskList);
|
||||
|
||||
@@ -33,6 +34,11 @@ var TasksListPage = function () {
|
||||
return this;
|
||||
};
|
||||
|
||||
this.getNoTasksFoundMessage = function() {
|
||||
Util.waitUntilElementIsVisible(noTasksFound);
|
||||
return noTasksFound.getText();
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
module.exports = TasksListPage;
|
||||
|
Reference in New Issue
Block a user