mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[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:
committed by
Eugenio Romano
parent
a8493f1ca1
commit
274c4d9389
@@ -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'
|
||||||
|
@@ -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 = [];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user