[ADF-3926] Start Task Cloud: Single selection mode: the default assignee is not part of the list o… (#4175)

* Single selection mode: the default assignee is not part of the list once is removed

* Changing providerDropdown locator
This commit is contained in:
Maurizio Vitale
2019-01-17 16:51:56 +00:00
committed by Eugenio Romano
parent a8493f1ca1
commit 274c4d9389
2 changed files with 2 additions and 1 deletions

View File

@@ -22,7 +22,7 @@ import { element, by, browser } from 'protractor';
export class SettingsPage { export class SettingsPage {
settingsURL = TestConfig.adf.url + TestConfig.adf.port + '/settings'; settingsURL = TestConfig.adf.url + TestConfig.adf.port + '/settings';
providerDropdown = element(by.css('mat-select[aria-label="Provider"] div[class="mat-select-arrow-wrapper"]')); providerDropdown = element(by.css('mat-select[id="adf-provider-selector"] div[class="mat-select-arrow-wrapper"]'));
ecmAndBpm = { ecmAndBpm = {
option: element(by.xpath('//SPAN[@class="mat-option-text"][contains(text(),"ALL")]')), option: element(by.xpath('//SPAN[@class="mat-option-text"][contains(text(),"ALL")]')),
text: 'ALL' text: 'ALL'

View File

@@ -177,6 +177,7 @@ export class PeopleCloudComponent implements OnInit {
private loadPreSelectUsers() { private loadPreSelectUsers() {
if (!this.isMultipleMode()) { if (!this.isMultipleMode()) {
this.searchUserCtrl.setValue(this.preSelectUsers[0]); this.searchUserCtrl.setValue(this.preSelectUsers[0]);
this.preSelectUsers = [];
} }
} }