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
@@ -42,6 +42,32 @@ export class VersionManagePage {
|
||||
return this;
|
||||
}
|
||||
|
||||
checkMajorChangeIsDisplayed() {
|
||||
Util.waitUntilElementIsVisible(this.majorRadio);
|
||||
return this;
|
||||
}
|
||||
|
||||
checkMinorChangeIsDisplayed() {
|
||||
Util.waitUntilElementIsVisible(this.minorRadio);
|
||||
return this;
|
||||
}
|
||||
|
||||
checkCommentTextIsDisplayed() {
|
||||
Util.waitUntilElementIsVisible(this.commentText);
|
||||
return this;
|
||||
}
|
||||
|
||||
clickAddNewVersionsButton() {
|
||||
Util.waitUntilElementIsVisible(this.showNewVersionButton);
|
||||
this.showNewVersionButton.click();
|
||||
return this;
|
||||
}
|
||||
|
||||
checkCancelButtonIsDisplayed() {
|
||||
Util.waitUntilElementIsVisible(this.cancelButton);
|
||||
return this;
|
||||
}
|
||||
|
||||
uploadNewVersionFile(fileLocation) {
|
||||
browser.setFileDetector(new remote.FileDetector());
|
||||
Util.waitUntilElementIsVisible(this.uploadNewVersionButton);
|
||||
|
Reference in New Issue
Block a user