[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:
Amedeo Lepore
2022-06-07 09:48:24 +02:00
committed by GitHub
parent 59878ad3fd
commit 18270d3368
9 changed files with 157 additions and 375 deletions

View File

@@ -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> {

View File

@@ -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> {