[ADF-4311] - ProcessCloud - Incorrect label loaded for unclaim option -> "Resqueue" should be "Release" (#4588)

* C307032 automated

* defined a new TaskDetailsCloudDemoPage under Demo-Shell, as it's not part of a component.
This commit is contained in:
gmandakini
2019-04-12 09:28:32 +01:00
committed by Eugenio Romano
parent 0fe0ee9db7
commit 0915343222
4 changed files with 46 additions and 7 deletions

View File

@@ -31,7 +31,6 @@ export class TaskHeaderCloudPage {
endDateField = element.all(by.css('span[data-automation-id*="endDate"] span')).first();
idField = element.all(by.css('span[data-automation-id*="id"] span')).first();
descriptionField = element(by.css('span[data-automation-id*="description"] span'));
taskDetailsHeader = element(by.css(`h4[data-automation-id='task-details-header']`));
taskPropertyList = element(by.css('adf-cloud-task-header adf-card-view div[class="adf-property-list"]'));
getAssignee() {
@@ -89,9 +88,4 @@ export class TaskHeaderCloudPage {
return this.dueDateField.getText();
}
getTaskDetailsHeader() {
BrowserVisibility.waitUntilElementIsVisible(this.taskPropertyList);
return this.taskDetailsHeader.getText();
}
}