mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-10-08 14:51:32 +00:00
[ADF-3385] Implementing start task - test cases (#3613)
* Implementing start task - test cases * Removed syntax error. * Add data-automation-id for people widget.
This commit is contained in:
committed by
Eugenio Romano
parent
46b1fefce5
commit
d056b3decd
@@ -38,6 +38,8 @@ var TaskDetailsPage = function () {
|
||||
var addInvolvedUserButton = element(by.css("button[id='add-people'] span"));
|
||||
var emailInvolvedUser = by.xpath("following-sibling::div[@class='people-email ng-star-inserted']");
|
||||
var infoDrawer = element(by.css("adf-info-drawer"));
|
||||
var auditLogButton = element(by.css("button[adf-task-audit]"));
|
||||
|
||||
|
||||
this.getFormName = function () {
|
||||
Util.waitUntilElementIsVisible(formNameField);
|
||||
@@ -169,6 +171,11 @@ var TaskDetailsPage = function () {
|
||||
return email.getText();
|
||||
};
|
||||
|
||||
this.clickAuditLogButton = function () {
|
||||
Util.waitUntilElementIsVisible(auditLogButton);
|
||||
auditLogButton.click();
|
||||
};
|
||||
|
||||
this.usingTaskDetailsToggles = function () {
|
||||
return new TaskDetailsToggles();
|
||||
};
|
||||
|
Reference in New Issue
Block a user