[ACA-1683] add tests for viewer - general (#570)

* rename method to be more clear

* change some files to async / await as they were very difficult to follow

* add uploadApi and a few resource files needed by Viewer tests

* add Viewer e2e component and viewer general tests

* add tests for the other list views as well

* add “docx” to dictionary
This commit is contained in:
Adina Parpalita
2018-08-17 14:27:22 +03:00
committed by Denys Vuika
parent 5e4e8ed28c
commit c0321fe449
20 changed files with 747 additions and 449 deletions

View File

@@ -32,6 +32,7 @@ import { FavoritesApi } from './apis/favorites/favorites-api';
import { SharedLinksApi } from './apis/shared-links/shared-links-api';
import { TrashcanApi } from './apis/trashcan/trashcan-api';
import { SearchApi } from './apis/search/search-api';
import { UploadApi } from './apis/upload/upload-api';
export class RepoClient {
constructor(
@@ -71,6 +72,10 @@ export class RepoClient {
get search() {
return new SearchApi(this.auth.username, this.auth.password);
}
get upload() {
return new UploadApi(this.auth.username, this.auth.password);
}
}
export * from './apis/nodes/node-body-create';