[ADF-4126] add roles filtering to people cloud component (#4338)

* in progress

* in progress testcase C297674

* linting fixes

* modularised clear field method

* made the appearance of select user dropdown work.

* in progress

* final version

* linting fixes

* linting fixes

* in progress

* in progress testcase C297674

* linting fixes

* modularised clear field method

* made the appearance of select user dropdown work.

* in progress

* final version

* linting fixes

* linting fixes

* ADF-4103 automated

* in progress

* Roles Filter automated

* async updates

* removed the identity User details

* roleId extraction done.

* linting fixes

* using constants instead of hardcoding the typing values.

* crc's

* crc's

* linting

* removed hte indexes, as api returns only 1 user record.

* fixed errors

* in progress

* redoing the tests as the PeopleGroupCloudPage has been updated.

* redoing the tests as the PeopleGroupCloudPage has been updated.
This commit is contained in:
gmandakini
2019-03-01 23:10:00 +00:00
committed by Eugenio Romano
parent 222b42d5b4
commit 3ac0018160
13 changed files with 573 additions and 60 deletions

View File

@@ -20,6 +20,7 @@ import { browser, by, element } from 'protractor';
import { ProcessServicesPage } from './process-services/processServicesPage';
import { AppListCloudComponent } from './process-cloud/appListCloudComponent';
import TestConfig = require('../../test.config');
import { PeopleGroupCloudComponentPage } from './demo-shell/process-services/peopleGroupCloudComponentPage';
export class NavigationBarPage {
@@ -46,6 +47,7 @@ export class NavigationBarPage {
iconsButton = element(by.css('a[data-automation-id="Icons"]'));
customSourcesButton = element(by.css('a[data-automation-id="Custom Sources"]'));
settingsButton = element(by.css('a[data-automation-id="Settings"]'));
peopleGroupCloud = element(by.css('a[data-automation-id="People/Group Cloud"]'));
aboutButton = element(by.css('a[data-automation-id="About"]'));
navigateToDatatable() {
@@ -80,6 +82,12 @@ export class NavigationBarPage {
return new AppListCloudComponent();
}
navigateToPeopleGroupCloudPage() {
Util.waitUntilElementIsVisible(this.peopleGroupCloud);
this.peopleGroupCloud.click();
return new PeopleGroupCloudComponentPage();
}
navigateToSettingsPage() {
Util.waitUntilElementIsVisible(this.settingsButton);
this.settingsButton.click();