@alfresco/aca-playwright-shared 8.1.0-34446927680 → 8.1.0-34474449869
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AlfrescoApi, SitesApi as SitesApi$1, UploadApi, NodesApi as NodesApi$1, PeopleApi, AdminUsersApi, AdminTenantsApi, GroupsApi, QueriesApi as QueriesApi$1, SearchApi as SearchApi$1, SecurityGroupsApi, SecurityMarksApi, ContentClient, SharedlinksApi, FavoritesApi, TrashcanApi as TrashcanApi$1, CommentsApi, CategoriesApi as CategoriesApi$1, TagsApi as TagsApi$1, ResultSetPaging, SharedLinkPaging, FavoritePaging, Site, SiteMemberEntry } from '@alfresco/js-api';
|
|
1
|
+
import { AlfrescoApi, SitesApi as SitesApi$1, UploadApi, NodesApi as NodesApi$1, PeopleApi, AdminUsersApi, AdminTenantsApi, GroupsApi, QueriesApi as QueriesApi$1, SearchApi as SearchApi$1, SecurityGroupsApi, SecurityMarksApi, ContentClient, SharedlinksApi, FavoritesApi as FavoritesApi$1, TrashcanApi as TrashcanApi$1, CommentsApi, CategoriesApi as CategoriesApi$1, TagsApi as TagsApi$1, ResultSetPaging, SharedLinkPaging, FavoritePaging, Site, SiteMemberEntry } from '@alfresco/js-api';
|
|
2
2
|
import { expect, chromium, devices, test as test$1 } from '@playwright/test';
|
|
3
3
|
import * as path from 'path';
|
|
4
4
|
import { resolve } from 'path';
|
|
@@ -4954,7 +4954,7 @@ class ApiClientFactory {
|
|
|
4954
4954
|
this.securityMarksApi = new SecurityMarksApi(this.alfrescoApi);
|
|
4955
4955
|
this.contentClient = new ContentClient(config, '/alfresco');
|
|
4956
4956
|
this.share = new SharedlinksApi(this.alfrescoApi);
|
|
4957
|
-
this.favorites = new FavoritesApi(this.alfrescoApi);
|
|
4957
|
+
this.favorites = new FavoritesApi$1(this.alfrescoApi);
|
|
4958
4958
|
this.trashCan = new TrashcanApi$1(this.alfrescoApi);
|
|
4959
4959
|
this.commentsApi = new CommentsApi(this.alfrescoApi);
|
|
4960
4960
|
this.queriesApi = new QueriesApi$1(this.alfrescoApi);
|
|
@@ -5665,12 +5665,12 @@ class SharedLinksApi {
|
|
|
5665
5665
|
* You should have received a copy of the GNU Lesser General Public License
|
|
5666
5666
|
* from Hyland Software. If not, see <http://www.gnu.org/licenses/>.
|
|
5667
5667
|
*/
|
|
5668
|
-
class
|
|
5668
|
+
class FavoritesApi {
|
|
5669
5669
|
constructor() {
|
|
5670
5670
|
this.apiService = new ApiClientFactory();
|
|
5671
5671
|
}
|
|
5672
5672
|
static async initialize(userName, password) {
|
|
5673
|
-
const classObj = new
|
|
5673
|
+
const classObj = new FavoritesApi();
|
|
5674
5674
|
await classObj.apiService.setUpAcaBackend(userName, password);
|
|
5675
5675
|
return classObj;
|
|
5676
5676
|
}
|
|
@@ -7220,7 +7220,7 @@ const test = test$1.extend({
|
|
|
7220
7220
|
},
|
|
7221
7221
|
// eslint-disable-next-line no-empty-pattern
|
|
7222
7222
|
favoritesPageAction: async ({}, use) => {
|
|
7223
|
-
await use(await
|
|
7223
|
+
await use(await FavoritesApi.initialize(users.hruser.username));
|
|
7224
7224
|
},
|
|
7225
7225
|
// eslint-disable-next-line no-empty-pattern
|
|
7226
7226
|
nodesApiAction: async ({}, use) => {
|
|
@@ -7820,5 +7820,5 @@ const TEST_FILES = {
|
|
|
7820
7820
|
* Generated bundle index. Do not edit.
|
|
7821
7821
|
*/
|
|
7822
7822
|
|
|
7823
|
-
export { APP_ROUTES, AcaHeader, ActionType, ActionTypes, ActionsDropdownComponent, AdfConfirmDialogComponent, AdfDeleteTrashComponent, AdfFolderDialogComponent, AdfLibraryDialogComponent, ApiClientFactory, BaseComponent, BasePage, Breadcrumb, CategoriesApi, Comparator, ConditionComponent, ConditionsTypes, ContentNodeSelectorDialog, CreateFromTemplateDialogComponent, DataTableComponent, DateTimePicker, EditDialog, EditModeComponent, ErrorComponent, FavoritesLibrariesPage, FavoritesPage,
|
|
7823
|
+
export { APP_ROUTES, AcaHeader, ActionType, ActionTypes, ActionsDropdownComponent, AdfConfirmDialogComponent, AdfDeleteTrashComponent, AdfFolderDialogComponent, AdfLibraryDialogComponent, ApiClientFactory, BaseComponent, BasePage, Breadcrumb, CategoriesApi, Comparator, ConditionComponent, ConditionsTypes, ContentNodeSelectorDialog, CreateFromTemplateDialogComponent, DataTableComponent, DateTimePicker, EditDialog, EditModeComponent, ErrorComponent, FavoritesApi, FavoritesLibrariesPage, FavoritesPage, Field, FileActionsApi, FolderInformationDialogComponent, InfoDrawerComponent, LinkRulesDialog, LoginPage, ManageRules, ManageRulesDialogComponent, ManageVersionsDialog, MatMenuComponent, MimeType, MyLibrariesPage, NodesApi, NodesPage, PaginationActionsType, PaginationComponent, PasswordOverlayDialogComponent, Person, PersonalFilesPage, QueriesApi, RecentFilesPage, RulesApi, RulesToolbarComponent, SIDEBAR_LABELS, SITE_ROLES, SITE_VISIBILITY, SearchApi, SearchFilters, SearchFiltersCategories, SearchFiltersDate, SearchFiltersLocation, SearchFiltersLogic, SearchFiltersProperties, SearchFiltersTags, SearchInputComponent, SearchMenuCard, SearchPage, SearchSortingPicker, ShareDialogComponent, SharedLinksApi, SharedPage, SidenavComponent, SitesApi, SnackBarComponent, TEST_FILES, TagsApi, TrashPage, TrashcanApi, UploadDialog, UploadNewVersionDialog, UserModel, Utils, ViewerComponent, ViewerOverlayDialogComponent, ViewerToolbarComponent, cleanupRepositoryTestData, collaboratorDocToolbarMore, collaboratorEditRowToolbarMore, collaboratorLockCurrentUserToolbarMore, collaboratorLockOtherUserSearchToolbarMore, collaboratorLockOtherUserToolbarMore, collaboratorSharedToolbarPrimary, collaboratorToolbarPrimary, collaboratorViewerLockedToolbarPrimary, createSuiteProjects, errorStrings, favoritesCollaboratorToolbarMore, file, fileDocx, fileDocxFav, fileDocxShared, fileDocxSharedFav, fileFav, fileFavLocked, fileLocked, fileLockedByUser, fileNotVersionable, fileShared, fileSharedFav, fileSharedFavLocked, fileSharedLocked, flattenNodeContentTree, folderFavFile, folderFile, getBrowserProjects, getExcludedTestsRegExpArray, getGlobalConfig, getUserState, hasAccessibleAttribute, hasAccessibleName, isInteractiveElement, libraryErrors, logger, multipleSel, multipleSelAllFav, multipleSelFile, paths, seedRepositoryTestData, test, testEmailDomain, timeouts, users, verifyDataTableAccessibility, verifyElementsHaveNames, verifyRegionAccessibleNames, waitForApi };
|
|
7824
7824
|
//# sourceMappingURL=alfresco-aca-playwright-shared.mjs.map
|