mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2026-09-09 18:02:54 +00:00
refactor available actions e2e (#1311)
* remove unused methods * wrap suites in functions * higher suite calling each wrapped function * better naming * wrap test suites in functions * higher suite calling the wrapped functions * add searchApi to adminActions
This commit is contained in:
committed by
Cilibiu Bogdan
parent
8b7c7b5ed4
commit
4e7595f7b2
@@ -31,6 +31,7 @@ import { SitesApi } from './repo-client/apis/sites/sites-api';
|
||||
import { UploadApi } from './repo-client/apis/upload/upload-api';
|
||||
import { NodesApi } from './repo-client/apis/nodes/nodes-api';
|
||||
import { FavoritesApi } from './repo-client/apis/favorites/favorites-api';
|
||||
import { SearchApi } from './repo-client/apis/search/search-api';
|
||||
|
||||
export class AdminActions {
|
||||
private adminApi: RepoClient;
|
||||
@@ -43,6 +44,7 @@ export class AdminActions {
|
||||
upload: UploadApi = new UploadApi();
|
||||
nodes: NodesApi = new NodesApi();
|
||||
favorites: FavoritesApi = new FavoritesApi();
|
||||
search: SearchApi = new SearchApi();
|
||||
|
||||
async getDataDictionaryId(): Promise<string> {
|
||||
return await this.adminApi.nodes.getNodeIdFromParent('Data Dictionary', '-root-');
|
||||
|
||||
Reference in New Issue
Block a user