[ACA-1799] add tests for share file (#727)

* initial work

* shared link created through API

* add tests for share file on all list views

* remove utc for end of day

* remove hours and minutes

* update unit test

* workaround

* update docker settings for tomcat

* tomcat setup for e2e
This commit is contained in:
Adina Parpalita
2018-10-18 16:27:54 +03:00
committed by Denys Vuika
parent 9012c0832b
commit 30b445dde9
15 changed files with 1312 additions and 29 deletions

View File

@@ -54,6 +54,10 @@ export class NodesApi extends RepoApi {
return (await this.getNodeByPath(`${relativePath}`)).entry.properties['cm:description'];
}
async getNodeProperty(nodeId: string, property: string) {
return (await this.getNodeById(nodeId)).entry.properties[property];
}
async deleteNodeById(id: string, permanent: boolean = true) {
await this.apiAuth();
return await this.alfrescoJsApi.core.nodesApi.deleteNode(id, { permanent });