[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:
cristinaj
2018-07-27 01:27:31 +03:00
committed by Eugenio Romano
parent 46b1fefce5
commit d056b3decd
8 changed files with 344 additions and 1 deletions

View File

@@ -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();
};