[ACS-5882] infoDrawer comments tests migrated to Playwright (#3615)

* [ACS-5882] infoDrawer comments tests migrated to Playwright

* [ACS-5882] Update string names

* [ACS-5882] fixed issues from pull request comments

* [ACS-5882] 2nd part of fixed issues from pull request comments

* [ACS-5882] added Promise void functions without return

* [ACS-5882] Small naming fixes

* [ACS-5882] excluding 2 tests - BE issue

* [ACS-5882] Fixed one test
This commit is contained in:
Adam Świderski
2024-02-02 16:43:40 +01:00
committed by GitHub
parent d5f83d921e
commit 489a84735a
15 changed files with 337 additions and 6 deletions

View File

@@ -39,7 +39,8 @@ import {
SharedlinksApi,
FavoritesApi,
TrashcanApi,
PersonEntry
PersonEntry,
CommentsApi
} from '@alfresco/js-api';
import { ActionTypes, Rule } from './rules-api';
import { users } from '../base-config';
@@ -83,6 +84,7 @@ export class ApiClientFactory {
public share: SharedlinksApi;
public favorites: FavoritesApi;
public trashCan: TrashcanApi;
public commentsApi: CommentsApi;
constructor() {
this.alfrescoApi = new AlfrescoApi(config);
@@ -105,6 +107,7 @@ export class ApiClientFactory {
this.share = new SharedlinksApi(this.alfrescoApi);
this.favorites = new FavoritesApi(this.alfrescoApi);
this.trashCan = new TrashcanApi(this.alfrescoApi);
this.commentsApi = new CommentsApi(this.alfrescoApi);
return this;
}