mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-10-08 14:51:32 +00:00
[ADF-3335] Added automation tests for task filter sorting (#3724)
* [ADF-3335] Added automation tests for task filter sorting * [ADF-3335] Removed excluded describe
This commit is contained in:
committed by
Eugenio Romano
parent
a960c0d2a8
commit
0569065684
@@ -44,6 +44,7 @@ var TaskDetailsPage = function () {
|
||||
var taskDetailsSection = element(by.css("div[data-automation-id='adf-tasks-details']"));
|
||||
var taskDetailsEmptySection = element(by.css("div[data-automation-id='adf-tasks-details--empty']"));
|
||||
var completeTask = element(by.css("button[id='adf-no-form-complete-button']"));
|
||||
var taskDetailsTitle = element(by.css('h2[class="activiti-task-details__header"] span'));
|
||||
var auditLogButton = element(by.css("button[adf-task-audit]"));
|
||||
var noPeopleInvolved = element(by.id('no-people-label'));
|
||||
var cancelInvolvePeopleButton = element(by.id('close-people-search'));
|
||||
@@ -58,6 +59,11 @@ var TaskDetailsPage = function () {
|
||||
var removeAttachForm = element(by.id("adf-no-form-remove-button"));
|
||||
var attachFormName = element(by.css("span[class='adf-form-title ng-star-inserted']"));
|
||||
|
||||
this.getTaskDetailsTitle = function () {
|
||||
Util.waitUntilElementIsVisible(taskDetailsTitle);
|
||||
return taskDetailsTitle.getText();
|
||||
};
|
||||
|
||||
this.checkSelectedForm = function (formName) {
|
||||
Util.waitUntilElementIsVisible(attachFormName);
|
||||
expect(formName).toEqual(attachFormName.getText());
|
||||
|
Reference in New Issue
Block a user