mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-10-08 14:51:32 +00:00
[ADF-4106] Permissions Component automated (#4449)
* Permissions Component automated * linting fixes * making tests stable * making tests stable * making tests stable
This commit is contained in:
committed by
Eugenio Romano
parent
94cd14bf71
commit
d6f391c40e
@@ -43,6 +43,7 @@ export class MetadataViewPage {
|
||||
multiSwitch = element(by.id(`adf-metadata-multi`));
|
||||
presetSwitch = element(by.id('adf-toggle-custom-preset'));
|
||||
defaultPropertiesSwitch = element(by.id('adf-metadata-default-properties'));
|
||||
closeButton = element(by.cssContainingText('button.mat-button span', 'Close'));
|
||||
|
||||
getTitle(): promise.Promise<string> {
|
||||
Util.waitUntilElementIsVisible(this.title);
|
||||
@@ -282,4 +283,9 @@ export class MetadataViewPage {
|
||||
let property = element(by.css('div[data-automation-id="card-' + type + '-label-' + propertyName + '"]'));
|
||||
Util.waitUntilElementIsNotVisible(property);
|
||||
}
|
||||
|
||||
clickCloseButton() {
|
||||
Util.waitUntilElementIsVisible(this.closeButton);
|
||||
this.closeButton.click();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user