mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-07-24 17:31:52 +00:00
[AAE-6242] upload a new version of a file attached in a form (#2524)
* [AAE-8822] Use ADF New Version Uploader dialog instead of using node-version dialog, to allow to upload new file version and to manage file versions * [AAE-8822] Add versionUpdateDialog unit tests * [AAE-8822] Add openVersionManagerDialog unit tests * [AAE-8822] Fix lint problem * [AAE-8797] Update slector with new adf version uploader dialog class * [AAE-8797] Remove unused node versions dialog, since the ADF NewVersionUploaderService is used
This commit is contained in:
@@ -34,7 +34,7 @@ export class ManageVersionsDialog extends GenericDialog {
|
||||
menu = new Menu();
|
||||
|
||||
constructor() {
|
||||
super('.aca-node-versions-dialog');
|
||||
super('.adf-new-version-uploader-dialog');
|
||||
}
|
||||
|
||||
async clickClose(): Promise<void> {
|
||||
|
@@ -35,7 +35,7 @@ export class UploadNewVersionDialog extends GenericDialog {
|
||||
description = this.childElement(by.css('textarea'));
|
||||
|
||||
constructor() {
|
||||
super('.adf-version-manager-dialog-panel-upload');
|
||||
super('.adf-new-version-uploader-dialog');
|
||||
}
|
||||
|
||||
async isCancelButtonEnabled(): Promise<boolean> {
|
||||
|
Reference in New Issue
Block a user