mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[ADF-4538] Fix start-task-custom-app-cloud.e2e.ts (#4729)
This commit is contained in:
committed by
Denys Vuika
parent
55f920fbb4
commit
c9bc63bc3c
@@ -196,7 +196,8 @@ export class EditTaskFilterCloudComponentPage {
|
||||
}
|
||||
|
||||
clearField(locator) {
|
||||
BrowserActions.clearSendKeys(locator, '');
|
||||
BrowserActions.clearSendKeys(locator, ' ');
|
||||
locator.sendKeys(protractor.Key.BACK_SPACE);
|
||||
}
|
||||
|
||||
setAppNameDropDown(option) {
|
||||
|
@@ -24,9 +24,15 @@ export class PeopleCloudComponentPage {
|
||||
peopleCloudSearch = element(by.css('input[data-automation-id="adf-people-cloud-search-input"]'));
|
||||
assigneeField = element(by.css('input[data-automation-id="adf-people-cloud-search-input"]'));
|
||||
|
||||
clearAssignee() {
|
||||
BrowserActions.clearSendKeys(this.peopleCloudSearch, ' ');
|
||||
this.peopleCloudSearch.sendKeys(protractor.Key.BACK_SPACE);
|
||||
return this;
|
||||
}
|
||||
|
||||
searchAssigneeAndSelect(name) {
|
||||
BrowserVisibility.waitUntilElementIsVisible(this.peopleCloudSearch);
|
||||
BrowserActions.clearSendKeys(this.peopleCloudSearch, name),
|
||||
BrowserActions.clearSendKeys(this.peopleCloudSearch, name);
|
||||
this.selectAssigneeFromList(name);
|
||||
return this;
|
||||
}
|
||||
|
Reference in New Issue
Block a user