mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[AAE-8061] Fix the group restriction for people widget (#7601)
* FIx the restrinction * Fix unit test about restricted groups * Add a small sleep to make it green * Add sleep to other checks * Remove sleeps, improve assertions Co-authored-by: MichalFidor <michal.fidor@hyland.com>
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { by, element, $, $$ } from 'protractor';
|
||||
import { by, element, $, $$, browser } from 'protractor';
|
||||
import { BrowserVisibility, BrowserActions } from '@alfresco/adf-testing';
|
||||
|
||||
export class PeopleGroupCloudComponentPage {
|
||||
@@ -40,6 +40,11 @@ export class PeopleGroupCloudComponentPage {
|
||||
peopleFilterByAppName = $('.app-people-control-options mat-radio-button[value="appName"]');
|
||||
groupFilterByAppName = $('.app-groups-control-options mat-radio-button[value="appName"]');
|
||||
|
||||
async navigateTo() {
|
||||
await browser.get('#/cloud/people-group-cloud');
|
||||
await browser.waitForAngular();
|
||||
}
|
||||
|
||||
async checkPeopleCloudComponentTitleIsDisplayed(): Promise<void> {
|
||||
await BrowserVisibility.waitUntilElementIsVisible(this.peopleCloudComponentTitle);
|
||||
}
|
||||
|
Reference in New Issue
Block a user