mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-07-24 17:31:52 +00:00
add tests for Upload New Version (#960)
This commit is contained in:
committed by
Cilibiu Bogdan
parent
9ceefff5e6
commit
a2df75a6dc
@@ -217,6 +217,21 @@ export class Toolbar extends Component {
|
||||
return await this.menu.clickMenuItem('Copy');
|
||||
}
|
||||
|
||||
async clickMoreActionsEditOffline() {
|
||||
await this.openMoreMenu();
|
||||
return await this.menu.clickMenuItem('Edit offline');
|
||||
}
|
||||
|
||||
async clickMoreActionsCancelEditing() {
|
||||
await this.openMoreMenu();
|
||||
return await this.menu.clickMenuItem('Cancel editing');
|
||||
}
|
||||
|
||||
async clickMoreActionsUploadNewVersion() {
|
||||
await this.openMoreMenu();
|
||||
return await this.menu.clickMenuItem('Upload new version');
|
||||
}
|
||||
|
||||
|
||||
async clickFullScreen() {
|
||||
return await this.fullScreenButton.click();
|
||||
|
Reference in New Issue
Block a user