@alfresco/aca-playwright-shared 5.1.1-10706961491
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.
- package/api/api-client-factory.d.ts +63 -0
- package/api/categories-api.d.ts +32 -0
- package/api/favorites-api.d.ts +41 -0
- package/api/file-actions.d.ts +41 -0
- package/api/index.d.ts +37 -0
- package/api/node-content-tree.d.ts +32 -0
- package/api/nodes-api.d.ts +73 -0
- package/api/people-api-models.d.ts +42 -0
- package/api/queries-api.d.ts +32 -0
- package/api/rules-api.d.ts +79 -0
- package/api/search-api.d.ts +33 -0
- package/api/shared-links-api.d.ts +36 -0
- package/api/sites-api.d.ts +44 -0
- package/api/tags-api.d.ts +32 -0
- package/api/trashcan-api.d.ts +31 -0
- package/base-config/global-variables.d.ts +34 -0
- package/base-config/global.setup.d.ts +27 -0
- package/base-config/index.d.ts +26 -0
- package/base-config/playwright.config.d.ts +25 -0
- package/base-config/report-portal.config.d.ts +40 -0
- package/esm2020/alfresco-aca-playwright-shared.mjs +5 -0
- package/esm2020/api/api-client-factory.mjs +111 -0
- package/esm2020/api/categories-api.mjs +65 -0
- package/esm2020/api/favorites-api.mjs +129 -0
- package/esm2020/api/file-actions.mjs +166 -0
- package/esm2020/api/index.mjs +38 -0
- package/esm2020/api/node-content-tree.mjs +67 -0
- package/esm2020/api/nodes-api.mjs +427 -0
- package/esm2020/api/people-api-models.mjs +34 -0
- package/esm2020/api/queries-api.mjs +69 -0
- package/esm2020/api/rules-api.mjs +251 -0
- package/esm2020/api/search-api.mjs +74 -0
- package/esm2020/api/shared-links-api.mjs +136 -0
- package/esm2020/api/sites-api.mjs +155 -0
- package/esm2020/api/tags-api.mjs +61 -0
- package/esm2020/api/trashcan-api.mjs +54 -0
- package/esm2020/base-config/global-variables.mjs +36 -0
- package/esm2020/base-config/global.setup.mjs +66 -0
- package/esm2020/base-config/index.mjs +27 -0
- package/esm2020/base-config/playwright.config.mjs +78 -0
- package/esm2020/base-config/report-portal.config.mjs +48 -0
- package/esm2020/fixtures/index.mjs +25 -0
- package/esm2020/fixtures/page-initialization.mjs +83 -0
- package/esm2020/models/custom-config.mjs +25 -0
- package/esm2020/models/index.mjs +26 -0
- package/esm2020/models/user-model.mjs +55 -0
- package/esm2020/page-objects/components/aca-header.component.mjs +77 -0
- package/esm2020/page-objects/components/actions-dropdown.component.mjs +99 -0
- package/esm2020/page-objects/components/adf-info-drawer.component.mjs +83 -0
- package/esm2020/page-objects/components/base.component.mjs +69 -0
- package/esm2020/page-objects/components/breadcrumb/breadcrumb.component.mjs +46 -0
- package/esm2020/page-objects/components/conditions.component.mjs +75 -0
- package/esm2020/page-objects/components/dataTable/data-table.component.mjs +327 -0
- package/esm2020/page-objects/components/dataTable/index.mjs +27 -0
- package/esm2020/page-objects/components/dataTable/mat-menu.component.mjs +66 -0
- package/esm2020/page-objects/components/dataTable/toolbar.component.mjs +39 -0
- package/esm2020/page-objects/components/datetime-picker/datetime-picker.component.mjs +52 -0
- package/esm2020/page-objects/components/dialogs/adf-confirm-dialog.component.mjs +35 -0
- package/esm2020/page-objects/components/dialogs/adf-folder-dialog.component.mjs +56 -0
- package/esm2020/page-objects/components/dialogs/adf-library-dialog.component.mjs +63 -0
- package/esm2020/page-objects/components/dialogs/content-node-selector-dialog.mjs +67 -0
- package/esm2020/page-objects/components/dialogs/create-from-template-dialog-component.mjs +54 -0
- package/esm2020/page-objects/components/dialogs/delete-trash-dialog.component.mjs +53 -0
- package/esm2020/page-objects/components/dialogs/edit-dialog.component.mjs +38 -0
- package/esm2020/page-objects/components/dialogs/index.mjs +39 -0
- package/esm2020/page-objects/components/dialogs/link-rules.component.mjs +57 -0
- package/esm2020/page-objects/components/dialogs/manage-versions-dialog.component.mjs +35 -0
- package/esm2020/page-objects/components/dialogs/password-overlay-dialog.component.mjs +70 -0
- package/esm2020/page-objects/components/dialogs/share-dialog.component.mjs +84 -0
- package/esm2020/page-objects/components/dialogs/upload-dialog.component.mjs +35 -0
- package/esm2020/page-objects/components/dialogs/upload-new-version-dialog.component.mjs +37 -0
- package/esm2020/page-objects/components/dialogs/viewer-overlay-dialog.component.mjs +55 -0
- package/esm2020/page-objects/components/error.component.mjs +33 -0
- package/esm2020/page-objects/components/index.mjs +50 -0
- package/esm2020/page-objects/components/manageRules/index.mjs +26 -0
- package/esm2020/page-objects/components/manageRules/manage-rules-dialog.component.mjs +63 -0
- package/esm2020/page-objects/components/manageRules/manage-rules.component.mjs +69 -0
- package/esm2020/page-objects/components/pagination.component.mjs +173 -0
- package/esm2020/page-objects/components/search/search-filters/search-filters-categories.component.mjs +32 -0
- package/esm2020/page-objects/components/search/search-filters/search-filters-date.component.mjs +114 -0
- package/esm2020/page-objects/components/search/search-filters/search-filters-location.component.mjs +39 -0
- package/esm2020/page-objects/components/search/search-filters/search-filters-logic.component.mjs +35 -0
- package/esm2020/page-objects/components/search/search-filters/search-filters-properties.component.mjs +82 -0
- package/esm2020/page-objects/components/search/search-filters/search-filters-tags.component.mjs +39 -0
- package/esm2020/page-objects/components/search/search-filters.component.mjs +44 -0
- package/esm2020/page-objects/components/search/search-input.component.mjs +47 -0
- package/esm2020/page-objects/components/search/search-overlay.components.mjs +82 -0
- package/esm2020/page-objects/components/search/search-sorting-picker.components.mjs +71 -0
- package/esm2020/page-objects/components/sidenav.component.mjs +86 -0
- package/esm2020/page-objects/components/snackBar/snack-bar.component.mjs +53 -0
- package/esm2020/page-objects/components/spinner.component.mjs +40 -0
- package/esm2020/page-objects/components/viewer.component.mjs +92 -0
- package/esm2020/page-objects/index.mjs +26 -0
- package/esm2020/page-objects/pages/base.page.mjs +80 -0
- package/esm2020/page-objects/pages/favorites-libraries.page.mjs +42 -0
- package/esm2020/page-objects/pages/favorites.page.mjs +48 -0
- package/esm2020/page-objects/pages/index.mjs +35 -0
- package/esm2020/page-objects/pages/login.page.mjs +61 -0
- package/esm2020/page-objects/pages/my-libraries.page.mjs +53 -0
- package/esm2020/page-objects/pages/nodes.page.mjs +39 -0
- package/esm2020/page-objects/pages/personal-files.page.mjs +84 -0
- package/esm2020/page-objects/pages/recent-files.page.mjs +44 -0
- package/esm2020/page-objects/pages/search.page.mjs +78 -0
- package/esm2020/page-objects/pages/shared.page.mjs +44 -0
- package/esm2020/page-objects/pages/trash.page.mjs +44 -0
- package/esm2020/page-objects/playwright-base.mjs +31 -0
- package/esm2020/public-api.mjs +31 -0
- package/esm2020/resources/index.mjs +26 -0
- package/esm2020/resources/test-data/index.mjs +26 -0
- package/esm2020/resources/test-data/test-data-files-folders.mjs +53 -0
- package/esm2020/resources/test-data/test-data-permissions.mjs +331 -0
- package/esm2020/resources/test-files/index.mjs +78 -0
- package/esm2020/utils/api.mjs +43 -0
- package/esm2020/utils/config.mjs +70 -0
- package/esm2020/utils/error-strings.mjs +39 -0
- package/esm2020/utils/exclude-tests.mjs +35 -0
- package/esm2020/utils/index.mjs +34 -0
- package/esm2020/utils/library-errors.mjs +29 -0
- package/esm2020/utils/logger.mjs +69 -0
- package/esm2020/utils/paths.mjs +32 -0
- package/esm2020/utils/state-helper.mjs +29 -0
- package/esm2020/utils/timeouts.mjs +39 -0
- package/esm2020/utils/utils.mjs +144 -0
- package/fesm2015/alfresco-aca-playwright-shared.mjs +6251 -0
- package/fesm2015/alfresco-aca-playwright-shared.mjs.map +1 -0
- package/fesm2020/alfresco-aca-playwright-shared.mjs +6895 -0
- package/fesm2020/alfresco-aca-playwright-shared.mjs.map +1 -0
- package/fixtures/index.d.ts +24 -0
- package/fixtures/page-initialization.d.ts +47 -0
- package/index.d.ts +5 -0
- package/models/custom-config.d.ts +27 -0
- package/models/index.d.ts +25 -0
- package/models/user-model.d.ts +37 -0
- package/package.json +35 -0
- package/page-objects/components/aca-header.component.d.ts +53 -0
- package/page-objects/components/actions-dropdown.component.d.ts +71 -0
- package/page-objects/components/adf-info-drawer.component.d.ts +64 -0
- package/page-objects/components/base.component.d.ts +46 -0
- package/page-objects/components/breadcrumb/breadcrumb.component.d.ts +34 -0
- package/page-objects/components/conditions.component.d.ts +46 -0
- package/page-objects/components/dataTable/data-table.component.d.ts +185 -0
- package/page-objects/components/dataTable/index.d.ts +26 -0
- package/page-objects/components/dataTable/mat-menu.component.d.ts +41 -0
- package/page-objects/components/dataTable/toolbar.component.d.ts +33 -0
- package/page-objects/components/datetime-picker/datetime-picker.component.d.ts +36 -0
- package/page-objects/components/dialogs/adf-confirm-dialog.component.d.ts +33 -0
- package/page-objects/components/dialogs/adf-folder-dialog.component.d.ts +45 -0
- package/page-objects/components/dialogs/adf-library-dialog.component.d.ts +45 -0
- package/page-objects/components/dialogs/content-node-selector-dialog.d.ts +42 -0
- package/page-objects/components/dialogs/create-from-template-dialog-component.d.ts +39 -0
- package/page-objects/components/dialogs/delete-trash-dialog.component.d.ts +39 -0
- package/page-objects/components/dialogs/edit-dialog.component.d.ts +36 -0
- package/page-objects/components/dialogs/index.d.ts +38 -0
- package/page-objects/components/dialogs/link-rules.component.d.ts +40 -0
- package/page-objects/components/dialogs/manage-versions-dialog.component.d.ts +30 -0
- package/page-objects/components/dialogs/password-overlay-dialog.component.d.ts +42 -0
- package/page-objects/components/dialogs/share-dialog.component.d.ts +54 -0
- package/page-objects/components/dialogs/upload-dialog.component.d.ts +33 -0
- package/page-objects/components/dialogs/upload-new-version-dialog.component.d.ts +35 -0
- package/page-objects/components/dialogs/viewer-overlay-dialog.component.d.ts +43 -0
- package/page-objects/components/error.component.d.ts +31 -0
- package/page-objects/components/index.d.ts +49 -0
- package/page-objects/components/manageRules/index.d.ts +25 -0
- package/page-objects/components/manageRules/manage-rules-dialog.component.d.ts +51 -0
- package/page-objects/components/manageRules/manage-rules.component.d.ts +46 -0
- package/page-objects/components/pagination.component.d.ts +70 -0
- package/page-objects/components/search/search-filters/search-filters-categories.component.d.ts +30 -0
- package/page-objects/components/search/search-filters/search-filters-date.component.d.ts +73 -0
- package/page-objects/components/search/search-filters/search-filters-location.component.d.ts +32 -0
- package/page-objects/components/search/search-filters/search-filters-logic.component.d.ts +33 -0
- package/page-objects/components/search/search-filters/search-filters-properties.component.d.ts +42 -0
- package/page-objects/components/search/search-filters/search-filters-tags.component.d.ts +32 -0
- package/page-objects/components/search/search-filters.component.d.ts +42 -0
- package/page-objects/components/search/search-input.component.d.ts +40 -0
- package/page-objects/components/search/search-overlay.components.d.ts +45 -0
- package/page-objects/components/search/search-sorting-picker.components.d.ts +41 -0
- package/page-objects/components/sidenav.component.d.ts +45 -0
- package/page-objects/components/snackBar/snack-bar.component.d.ts +37 -0
- package/page-objects/components/spinner.component.d.ts +30 -0
- package/page-objects/components/viewer.component.d.ts +49 -0
- package/page-objects/index.d.ts +25 -0
- package/page-objects/pages/base.page.d.ts +52 -0
- package/page-objects/pages/favorites-libraries.page.d.ts +40 -0
- package/page-objects/pages/favorites.page.d.ts +44 -0
- package/page-objects/pages/index.d.ts +34 -0
- package/page-objects/pages/login.page.d.ts +48 -0
- package/page-objects/pages/my-libraries.page.d.ts +45 -0
- package/page-objects/pages/nodes.page.d.ts +37 -0
- package/page-objects/pages/personal-files.page.d.ts +57 -0
- package/page-objects/pages/recent-files.page.d.ts +42 -0
- package/page-objects/pages/search.page.d.ts +54 -0
- package/page-objects/pages/shared.page.d.ts +42 -0
- package/page-objects/pages/trash.page.d.ts +42 -0
- package/page-objects/playwright-base.d.ts +30 -0
- package/public-api.d.ts +30 -0
- package/resources/index.d.ts +25 -0
- package/resources/test-data/index.d.ts +25 -0
- package/resources/test-data/test-data-files-folders.d.ts +41 -0
- package/resources/test-data/test-data-permissions.d.ts +216 -0
- package/resources/test-files/index.d.ts +76 -0
- package/utils/api.d.ts +26 -0
- package/utils/config.d.ts +69 -0
- package/utils/error-strings.d.ts +38 -0
- package/utils/exclude-tests.d.ts +24 -0
- package/utils/index.d.ts +33 -0
- package/utils/library-errors.d.ts +28 -0
- package/utils/logger.d.ts +54 -0
- package/utils/paths.d.ts +30 -0
- package/utils/state-helper.d.ts +27 -0
- package/utils/timeouts.d.ts +38 -0
- package/utils/utils.d.ts +62 -0
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Copyright © 2005-2024 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
* Alfresco Example Content Application
|
|
5
|
+
*
|
|
6
|
+
* This file is part of the Alfresco Example Content Application.
|
|
7
|
+
* If the software was purchased under a paid Alfresco license, the terms of
|
|
8
|
+
* the paid license agreement will prevail. Otherwise, the software is
|
|
9
|
+
* provided under the following open source license terms:
|
|
10
|
+
*
|
|
11
|
+
* The Alfresco Example Content Application is free software: you can redistribute it and/or modify
|
|
12
|
+
* it under the terms of the GNU Lesser General Public License as published by
|
|
13
|
+
* the Free Software Foundation, either version 3 of the License, or
|
|
14
|
+
* (at your option) any later version.
|
|
15
|
+
*
|
|
16
|
+
* The Alfresco Example Content Application is distributed in the hope that it will be useful,
|
|
17
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
18
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
19
|
+
* GNU Lesser General Public License for more details.
|
|
20
|
+
*
|
|
21
|
+
* You should have received a copy of the GNU Lesser General Public License
|
|
22
|
+
* from Hyland Software. If not, see <http://www.gnu.org/licenses/>.
|
|
23
|
+
*/
|
|
24
|
+
import { Locator, Page } from '@playwright/test';
|
|
25
|
+
import { BaseComponent } from '../base.component';
|
|
26
|
+
export declare class LinkRulesDialog extends BaseComponent {
|
|
27
|
+
private static rootElement;
|
|
28
|
+
constructor(page: Page);
|
|
29
|
+
cancelButton: Locator;
|
|
30
|
+
selectFolderButton: Locator;
|
|
31
|
+
emptyLinkRules: Locator;
|
|
32
|
+
getOptionLocator: (optionName: string) => Locator;
|
|
33
|
+
private getRowByName;
|
|
34
|
+
getDialogTitle: (text: string) => Locator;
|
|
35
|
+
getBreadcrumb: (text: string) => Locator;
|
|
36
|
+
getFolderIcon: Locator;
|
|
37
|
+
getLibraryIcon: Locator;
|
|
38
|
+
selectDestination(folderName: string): Promise<void>;
|
|
39
|
+
waitForLinkRules(): Promise<void>;
|
|
40
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Copyright © 2005-2024 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
* Alfresco Example Content Application
|
|
5
|
+
*
|
|
6
|
+
* This file is part of the Alfresco Example Content Application.
|
|
7
|
+
* If the software was purchased under a paid Alfresco license, the terms of
|
|
8
|
+
* the paid license agreement will prevail. Otherwise, the software is
|
|
9
|
+
* provided under the following open source license terms:
|
|
10
|
+
*
|
|
11
|
+
* The Alfresco Example Content Application is free software: you can redistribute it and/or modify
|
|
12
|
+
* it under the terms of the GNU Lesser General Public License as published by
|
|
13
|
+
* the Free Software Foundation, either version 3 of the License, or
|
|
14
|
+
* (at your option) any later version.
|
|
15
|
+
*
|
|
16
|
+
* The Alfresco Example Content Application is distributed in the hope that it will be useful,
|
|
17
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
18
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
19
|
+
* GNU Lesser General Public License for more details.
|
|
20
|
+
*
|
|
21
|
+
* You should have received a copy of the GNU Lesser General Public License
|
|
22
|
+
* from Hyland Software. If not, see <http://www.gnu.org/licenses/>.
|
|
23
|
+
*/
|
|
24
|
+
import { Page } from '@playwright/test';
|
|
25
|
+
import { BaseComponent } from '../base.component';
|
|
26
|
+
export declare class ManageVersionsDialog extends BaseComponent {
|
|
27
|
+
private static rootElement;
|
|
28
|
+
viewFileVersion(version: string): Promise<void>;
|
|
29
|
+
constructor(page: Page);
|
|
30
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Copyright © 2005-2024 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
* Alfresco Example Content Application
|
|
5
|
+
*
|
|
6
|
+
* This file is part of the Alfresco Example Content Application.
|
|
7
|
+
* If the software was purchased under a paid Alfresco license, the terms of
|
|
8
|
+
* the paid license agreement will prevail. Otherwise, the software is
|
|
9
|
+
* provided under the following open source license terms:
|
|
10
|
+
*
|
|
11
|
+
* The Alfresco Example Content Application is free software: you can redistribute it and/or modify
|
|
12
|
+
* it under the terms of the GNU Lesser General Public License as published by
|
|
13
|
+
* the Free Software Foundation, either version 3 of the License, or
|
|
14
|
+
* (at your option) any later version.
|
|
15
|
+
*
|
|
16
|
+
* The Alfresco Example Content Application is distributed in the hope that it will be useful,
|
|
17
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
18
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
19
|
+
* GNU Lesser General Public License for more details.
|
|
20
|
+
*
|
|
21
|
+
* You should have received a copy of the GNU Lesser General Public License
|
|
22
|
+
* from Hyland Software. If not, see <http://www.gnu.org/licenses/>.
|
|
23
|
+
*/
|
|
24
|
+
import { Page } from '@playwright/test';
|
|
25
|
+
import { BaseComponent } from '../base.component';
|
|
26
|
+
export declare class PasswordOverlayDialogComponent extends BaseComponent {
|
|
27
|
+
private static rootElement;
|
|
28
|
+
closeButton: import("playwright-core").Locator;
|
|
29
|
+
submitButton: import("playwright-core").Locator;
|
|
30
|
+
passwordInput: import("playwright-core").Locator;
|
|
31
|
+
errorMessage: import("playwright-core").Locator;
|
|
32
|
+
constructor(page: Page, rootElement?: string);
|
|
33
|
+
waitForDialogToOpen(): Promise<void>;
|
|
34
|
+
waitForDialogToClose(): Promise<void>;
|
|
35
|
+
isDialogOpen(): Promise<boolean>;
|
|
36
|
+
isCloseVisible(): Promise<boolean>;
|
|
37
|
+
isSubmitHidden(): Promise<boolean>;
|
|
38
|
+
isPasswordInputDisplayed(): Promise<boolean>;
|
|
39
|
+
isErrorDisplayed(): Promise<boolean>;
|
|
40
|
+
getErrorMessage(): Promise<string>;
|
|
41
|
+
enterPassword(password: string): Promise<void>;
|
|
42
|
+
}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Copyright © 2005-2024 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
* Alfresco Example Content Application
|
|
5
|
+
*
|
|
6
|
+
* This file is part of the Alfresco Example Content Application.
|
|
7
|
+
* If the software was purchased under a paid Alfresco license, the terms of
|
|
8
|
+
* the paid license agreement will prevail. Otherwise, the software is
|
|
9
|
+
* provided under the following open source license terms:
|
|
10
|
+
*
|
|
11
|
+
* The Alfresco Example Content Application is free software: you can redistribute it and/or modify
|
|
12
|
+
* it under the terms of the GNU Lesser General Public License as published by
|
|
13
|
+
* the Free Software Foundation, either version 3 of the License, or
|
|
14
|
+
* (at your option) any later version.
|
|
15
|
+
*
|
|
16
|
+
* The Alfresco Example Content Application is distributed in the hope that it will be useful,
|
|
17
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
18
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
19
|
+
* GNU Lesser General Public License for more details.
|
|
20
|
+
*
|
|
21
|
+
* You should have received a copy of the GNU Lesser General Public License
|
|
22
|
+
* from Hyland Software. If not, see <http://www.gnu.org/licenses/>.
|
|
23
|
+
*/
|
|
24
|
+
import { ElementHandle, Locator, Page } from '@playwright/test';
|
|
25
|
+
import { BaseComponent } from '../base.component';
|
|
26
|
+
import { DateTimePicker } from '../datetime-picker/datetime-picker.component';
|
|
27
|
+
export declare class ShareDialogComponent extends BaseComponent {
|
|
28
|
+
private static rootElement;
|
|
29
|
+
constructor(page: Page);
|
|
30
|
+
closeButton: Locator;
|
|
31
|
+
dialogTitle: Locator;
|
|
32
|
+
infoText: Locator;
|
|
33
|
+
labels: string;
|
|
34
|
+
shareToggle: Locator;
|
|
35
|
+
url: Locator;
|
|
36
|
+
urlAction: Locator;
|
|
37
|
+
expireToggle: Locator;
|
|
38
|
+
expireInput: Locator;
|
|
39
|
+
datetimePickerButton: Locator;
|
|
40
|
+
dateTimePicker: DateTimePicker;
|
|
41
|
+
getDialogLabel: () => Promise<string>;
|
|
42
|
+
getErrorByText: (text: string) => Locator;
|
|
43
|
+
getLabels(): Promise<Array<string>>;
|
|
44
|
+
getDialogTitle(): Promise<string>;
|
|
45
|
+
getInfoText(): Promise<string>;
|
|
46
|
+
getLinkUrl(): Promise<string>;
|
|
47
|
+
isUrlReadOnly(): Promise<boolean>;
|
|
48
|
+
isCloseEnabled(): Promise<boolean>;
|
|
49
|
+
clickClose(): Promise<void>;
|
|
50
|
+
isToggleStatus(toggle: ElementHandle, status: string): Promise<boolean>;
|
|
51
|
+
isShareToggleChecked(): Promise<boolean>;
|
|
52
|
+
isExpireToggleEnabled(): Promise<boolean>;
|
|
53
|
+
getExpireDate(): Promise<string>;
|
|
54
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Copyright © 2005-2024 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
* Alfresco Example Content Application
|
|
5
|
+
*
|
|
6
|
+
* This file is part of the Alfresco Example Content Application.
|
|
7
|
+
* If the software was purchased under a paid Alfresco license, the terms of
|
|
8
|
+
* the paid license agreement will prevail. Otherwise, the software is
|
|
9
|
+
* provided under the following open source license terms:
|
|
10
|
+
*
|
|
11
|
+
* The Alfresco Example Content Application is free software: you can redistribute it and/or modify
|
|
12
|
+
* it under the terms of the GNU Lesser General Public License as published by
|
|
13
|
+
* the Free Software Foundation, either version 3 of the License, or
|
|
14
|
+
* (at your option) any later version.
|
|
15
|
+
*
|
|
16
|
+
* The Alfresco Example Content Application is distributed in the hope that it will be useful,
|
|
17
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
18
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
19
|
+
* GNU Lesser General Public License for more details.
|
|
20
|
+
*
|
|
21
|
+
* You should have received a copy of the GNU Lesser General Public License
|
|
22
|
+
* from Hyland Software. If not, see <http://www.gnu.org/licenses/>.
|
|
23
|
+
*/
|
|
24
|
+
import { Page } from '@playwright/test';
|
|
25
|
+
import { BaseComponent } from '../base.component';
|
|
26
|
+
export declare class UploadDialog extends BaseComponent {
|
|
27
|
+
private static rootElement;
|
|
28
|
+
uploadDialog: import("playwright-core").Locator;
|
|
29
|
+
closeButton: import("playwright-core").Locator;
|
|
30
|
+
minimizeButton: import("playwright-core").Locator;
|
|
31
|
+
uploadDialogMinimized: import("playwright-core").Locator;
|
|
32
|
+
constructor(page: Page);
|
|
33
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Copyright © 2005-2024 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
* Alfresco Example Content Application
|
|
5
|
+
*
|
|
6
|
+
* This file is part of the Alfresco Example Content Application.
|
|
7
|
+
* If the software was purchased under a paid Alfresco license, the terms of
|
|
8
|
+
* the paid license agreement will prevail. Otherwise, the software is
|
|
9
|
+
* provided under the following open source license terms:
|
|
10
|
+
*
|
|
11
|
+
* The Alfresco Example Content Application is free software: you can redistribute it and/or modify
|
|
12
|
+
* it under the terms of the GNU Lesser General Public License as published by
|
|
13
|
+
* the Free Software Foundation, either version 3 of the License, or
|
|
14
|
+
* (at your option) any later version.
|
|
15
|
+
*
|
|
16
|
+
* The Alfresco Example Content Application is distributed in the hope that it will be useful,
|
|
17
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
18
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
19
|
+
* GNU Lesser General Public License for more details.
|
|
20
|
+
*
|
|
21
|
+
* You should have received a copy of the GNU Lesser General Public License
|
|
22
|
+
* from Hyland Software. If not, see <http://www.gnu.org/licenses/>.
|
|
23
|
+
*/
|
|
24
|
+
import { Page } from '@playwright/test';
|
|
25
|
+
import { BaseComponent } from '../base.component';
|
|
26
|
+
export declare class UploadNewVersionDialog extends BaseComponent {
|
|
27
|
+
private static rootElement;
|
|
28
|
+
cancelButton: import("playwright-core").Locator;
|
|
29
|
+
uploadButton: import("playwright-core").Locator;
|
|
30
|
+
majorOption: import("playwright-core").Locator;
|
|
31
|
+
minorOption: import("playwright-core").Locator;
|
|
32
|
+
description: import("playwright-core").Locator;
|
|
33
|
+
title: import("playwright-core").Locator;
|
|
34
|
+
constructor(page: Page);
|
|
35
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Copyright © 2005-2024 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
* Alfresco Example Content Application
|
|
5
|
+
*
|
|
6
|
+
* This file is part of the Alfresco Example Content Application.
|
|
7
|
+
* If the software was purchased under a paid Alfresco license, the terms of
|
|
8
|
+
* the paid license agreement will prevail. Otherwise, the software is
|
|
9
|
+
* provided under the following open source license terms:
|
|
10
|
+
*
|
|
11
|
+
* The Alfresco Example Content Application is free software: you can redistribute it and/or modify
|
|
12
|
+
* it under the terms of the GNU Lesser General Public License as published by
|
|
13
|
+
* the Free Software Foundation, either version 3 of the License, or
|
|
14
|
+
* (at your option) any later version.
|
|
15
|
+
*
|
|
16
|
+
* The Alfresco Example Content Application is distributed in the hope that it will be useful,
|
|
17
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
18
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
19
|
+
* GNU Lesser General Public License for more details.
|
|
20
|
+
*
|
|
21
|
+
* You should have received a copy of the GNU Lesser General Public License
|
|
22
|
+
* from Hyland Software. If not, see <http://www.gnu.org/licenses/>.
|
|
23
|
+
*/
|
|
24
|
+
import { Page } from '@playwright/test';
|
|
25
|
+
import { BaseComponent } from '../base.component';
|
|
26
|
+
export declare class ViewerOverlayDialogComponent extends BaseComponent {
|
|
27
|
+
private static rootElement;
|
|
28
|
+
closeButton: import("playwright-core").Locator;
|
|
29
|
+
submitButton: import("playwright-core").Locator;
|
|
30
|
+
passwordInput: import("playwright-core").Locator;
|
|
31
|
+
errorMessage: import("playwright-core").Locator;
|
|
32
|
+
copyDialog: import("playwright-core").Locator;
|
|
33
|
+
copyMenuButton: import("playwright-core").Locator;
|
|
34
|
+
deleteMenuButton: import("playwright-core").Locator;
|
|
35
|
+
favoriteMenuButton: import("playwright-core").Locator;
|
|
36
|
+
removeFavoriteMenuButton: import("playwright-core").Locator;
|
|
37
|
+
shareDialogTitle: import("playwright-core").Locator;
|
|
38
|
+
shareDialogClose: import("playwright-core").Locator;
|
|
39
|
+
constructor(page: Page, rootElement?: string);
|
|
40
|
+
isCopyDialogOpen(): Promise<boolean>;
|
|
41
|
+
isCopyDialogClose(): Promise<boolean>;
|
|
42
|
+
clickActionsCopy(): Promise<void>;
|
|
43
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Copyright © 2005-2024 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
* Alfresco Example Content Application
|
|
5
|
+
*
|
|
6
|
+
* This file is part of the Alfresco Example Content Application.
|
|
7
|
+
* If the software was purchased under a paid Alfresco license, the terms of
|
|
8
|
+
* the paid license agreement will prevail. Otherwise, the software is
|
|
9
|
+
* provided under the following open source license terms:
|
|
10
|
+
*
|
|
11
|
+
* The Alfresco Example Content Application is free software: you can redistribute it and/or modify
|
|
12
|
+
* it under the terms of the GNU Lesser General Public License as published by
|
|
13
|
+
* the Free Software Foundation, either version 3 of the License, or
|
|
14
|
+
* (at your option) any later version.
|
|
15
|
+
*
|
|
16
|
+
* The Alfresco Example Content Application is distributed in the hope that it will be useful,
|
|
17
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
18
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
19
|
+
* GNU Lesser General Public License for more details.
|
|
20
|
+
*
|
|
21
|
+
* You should have received a copy of the GNU Lesser General Public License
|
|
22
|
+
* from Hyland Software. If not, see <http://www.gnu.org/licenses/>.
|
|
23
|
+
*/
|
|
24
|
+
import { Page } from '@playwright/test';
|
|
25
|
+
import { BaseComponent } from './base.component';
|
|
26
|
+
export declare class ErrorComponent extends BaseComponent {
|
|
27
|
+
private static rootElement;
|
|
28
|
+
genericError: import("playwright-core").Locator;
|
|
29
|
+
genericErrorTitle: import("playwright-core").Locator;
|
|
30
|
+
constructor(page: Page);
|
|
31
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Copyright © 2005-2024 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
* Alfresco Example Content Application
|
|
5
|
+
*
|
|
6
|
+
* This file is part of the Alfresco Example Content Application.
|
|
7
|
+
* If the software was purchased under a paid Alfresco license, the terms of
|
|
8
|
+
* the paid license agreement will prevail. Otherwise, the software is
|
|
9
|
+
* provided under the following open source license terms:
|
|
10
|
+
*
|
|
11
|
+
* The Alfresco Example Content Application is free software: you can redistribute it and/or modify
|
|
12
|
+
* it under the terms of the GNU Lesser General Public License as published by
|
|
13
|
+
* the Free Software Foundation, either version 3 of the License, or
|
|
14
|
+
* (at your option) any later version.
|
|
15
|
+
*
|
|
16
|
+
* The Alfresco Example Content Application is distributed in the hope that it will be useful,
|
|
17
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
18
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
19
|
+
* GNU Lesser General Public License for more details.
|
|
20
|
+
*
|
|
21
|
+
* You should have received a copy of the GNU Lesser General Public License
|
|
22
|
+
* from Hyland Software. If not, see <http://www.gnu.org/licenses/>.
|
|
23
|
+
*/
|
|
24
|
+
export * from './snackBar/snack-bar.component';
|
|
25
|
+
export * from './dataTable';
|
|
26
|
+
export * from './dialogs';
|
|
27
|
+
export * from './manageRules';
|
|
28
|
+
export * from './base.component';
|
|
29
|
+
export * from './spinner.component';
|
|
30
|
+
export * from './actions-dropdown.component';
|
|
31
|
+
export * from './conditions.component';
|
|
32
|
+
export * from './pagination.component';
|
|
33
|
+
export * from './adf-info-drawer.component';
|
|
34
|
+
export * from './viewer.component';
|
|
35
|
+
export * from './search/search-input.component';
|
|
36
|
+
export * from './search/search-overlay.components';
|
|
37
|
+
export * from './search/search-sorting-picker.components';
|
|
38
|
+
export * from './search/search-filters.component';
|
|
39
|
+
export * from './search/search-filters/search-filters-categories.component';
|
|
40
|
+
export * from './search/search-filters/search-filters-date.component';
|
|
41
|
+
export * from './search/search-filters/search-filters-location.component';
|
|
42
|
+
export * from './search/search-filters/search-filters-logic.component';
|
|
43
|
+
export * from './search/search-filters/search-filters-properties.component';
|
|
44
|
+
export * from './search/search-filters/search-filters-tags.component';
|
|
45
|
+
export * from './breadcrumb/breadcrumb.component';
|
|
46
|
+
export * from './sidenav.component';
|
|
47
|
+
export * from './aca-header.component';
|
|
48
|
+
export * from './error.component';
|
|
49
|
+
export * from './datetime-picker/datetime-picker.component';
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Copyright © 2005-2024 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
* Alfresco Example Content Application
|
|
5
|
+
*
|
|
6
|
+
* This file is part of the Alfresco Example Content Application.
|
|
7
|
+
* If the software was purchased under a paid Alfresco license, the terms of
|
|
8
|
+
* the paid license agreement will prevail. Otherwise, the software is
|
|
9
|
+
* provided under the following open source license terms:
|
|
10
|
+
*
|
|
11
|
+
* The Alfresco Example Content Application is free software: you can redistribute it and/or modify
|
|
12
|
+
* it under the terms of the GNU Lesser General Public License as published by
|
|
13
|
+
* the Free Software Foundation, either version 3 of the License, or
|
|
14
|
+
* (at your option) any later version.
|
|
15
|
+
*
|
|
16
|
+
* The Alfresco Example Content Application is distributed in the hope that it will be useful,
|
|
17
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
18
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
19
|
+
* GNU Lesser General Public License for more details.
|
|
20
|
+
*
|
|
21
|
+
* You should have received a copy of the GNU Lesser General Public License
|
|
22
|
+
* from Hyland Software. If not, see <http://www.gnu.org/licenses/>.
|
|
23
|
+
*/
|
|
24
|
+
export * from './manage-rules-dialog.component';
|
|
25
|
+
export * from './manage-rules.component';
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Copyright © 2005-2024 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
* Alfresco Example Content Application
|
|
5
|
+
*
|
|
6
|
+
* This file is part of the Alfresco Example Content Application.
|
|
7
|
+
* If the software was purchased under a paid Alfresco license, the terms of
|
|
8
|
+
* the paid license agreement will prevail. Otherwise, the software is
|
|
9
|
+
* provided under the following open source license terms:
|
|
10
|
+
*
|
|
11
|
+
* The Alfresco Example Content Application is free software: you can redistribute it and/or modify
|
|
12
|
+
* it under the terms of the GNU Lesser General Public License as published by
|
|
13
|
+
* the Free Software Foundation, either version 3 of the License, or
|
|
14
|
+
* (at your option) any later version.
|
|
15
|
+
*
|
|
16
|
+
* The Alfresco Example Content Application is distributed in the hope that it will be useful,
|
|
17
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
18
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
19
|
+
* GNU Lesser General Public License for more details.
|
|
20
|
+
*
|
|
21
|
+
* You should have received a copy of the GNU Lesser General Public License
|
|
22
|
+
* from Hyland Software. If not, see <http://www.gnu.org/licenses/>.
|
|
23
|
+
*/
|
|
24
|
+
import { BaseComponent } from '../base.component';
|
|
25
|
+
import { Page } from '@playwright/test';
|
|
26
|
+
export declare class ManageRulesDialogComponent extends BaseComponent {
|
|
27
|
+
private static rootElement;
|
|
28
|
+
createRuleButton: import("playwright-core").Locator;
|
|
29
|
+
cancelRuleButton: import("playwright-core").Locator;
|
|
30
|
+
ruleNameInputLocator: import("playwright-core").Locator;
|
|
31
|
+
ruleDescriptionInputLocator: import("playwright-core").Locator;
|
|
32
|
+
addConditionButton: import("playwright-core").Locator;
|
|
33
|
+
addConditionGroupButton: import("playwright-core").Locator;
|
|
34
|
+
fieldDropDown: import("playwright-core").Locator;
|
|
35
|
+
comparatorDropDown: import("playwright-core").Locator;
|
|
36
|
+
valueField: import("playwright-core").Locator;
|
|
37
|
+
whenCreatedCheckbox: import("playwright-core").Locator;
|
|
38
|
+
whenUpdatedCheckbox: import("playwright-core").Locator;
|
|
39
|
+
whenDeletedCheckbox: import("playwright-core").Locator;
|
|
40
|
+
destinationFolderButton: import("playwright-core").Locator;
|
|
41
|
+
ruleInBackgroundCheckbox: import("playwright-core").Locator;
|
|
42
|
+
ruleSubfoldersCheckbox: import("playwright-core").Locator;
|
|
43
|
+
ruleDisableCheckbox: import("playwright-core").Locator;
|
|
44
|
+
actionsEllipsisButtons: import("playwright-core").Locator;
|
|
45
|
+
actionsEllipsisDelete: import("playwright-core").Locator;
|
|
46
|
+
conditionsEllipsisButtons: import("playwright-core").Locator;
|
|
47
|
+
conditionsEllipsisDelete: import("playwright-core").Locator;
|
|
48
|
+
constructor(page: Page);
|
|
49
|
+
deleteActions(noActions: number): Promise<void>;
|
|
50
|
+
deleteConditions(noConditions: number): Promise<void>;
|
|
51
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Copyright © 2005-2024 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
* Alfresco Example Content Application
|
|
5
|
+
*
|
|
6
|
+
* This file is part of the Alfresco Example Content Application.
|
|
7
|
+
* If the software was purchased under a paid Alfresco license, the terms of
|
|
8
|
+
* the paid license agreement will prevail. Otherwise, the software is
|
|
9
|
+
* provided under the following open source license terms:
|
|
10
|
+
*
|
|
11
|
+
* The Alfresco Example Content Application is free software: you can redistribute it and/or modify
|
|
12
|
+
* it under the terms of the GNU Lesser General Public License as published by
|
|
13
|
+
* the Free Software Foundation, either version 3 of the License, or
|
|
14
|
+
* (at your option) any later version.
|
|
15
|
+
*
|
|
16
|
+
* The Alfresco Example Content Application is distributed in the hope that it will be useful,
|
|
17
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
18
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
19
|
+
* GNU Lesser General Public License for more details.
|
|
20
|
+
*
|
|
21
|
+
* You should have received a copy of the GNU Lesser General Public License
|
|
22
|
+
* from Hyland Software. If not, see <http://www.gnu.org/licenses/>.
|
|
23
|
+
*/
|
|
24
|
+
import { Locator, Page } from '@playwright/test';
|
|
25
|
+
import { BaseComponent } from '../base.component';
|
|
26
|
+
export declare class ManageRules extends BaseComponent {
|
|
27
|
+
private static rootElement;
|
|
28
|
+
getGroupsList: (optionName: string) => Locator;
|
|
29
|
+
ruleToggle: Locator;
|
|
30
|
+
ruleToggleFalse: Locator;
|
|
31
|
+
ruleDetailsTitle: Locator;
|
|
32
|
+
ruleDetailsDeleteButton: Locator;
|
|
33
|
+
ruleDetailsEditButton: Locator;
|
|
34
|
+
ruleDetailsWhenText: Locator;
|
|
35
|
+
ruleDetailsPerformActionsDiv: Locator;
|
|
36
|
+
rulesEmptyListTitle: Locator;
|
|
37
|
+
ruleActions: Locator;
|
|
38
|
+
ruleConditionsInGroup: Locator;
|
|
39
|
+
ruleDescription: Locator;
|
|
40
|
+
constructor(page: Page);
|
|
41
|
+
checkAspects(aspects: string[]): Promise<void>;
|
|
42
|
+
checkIfRuleListEmpty(): Promise<boolean>;
|
|
43
|
+
checkIfRuleIsOnTheList(ruleName: string): Promise<void>;
|
|
44
|
+
countConditionsInGroup(): Promise<number>;
|
|
45
|
+
turnOffRuleToggle(): Promise<void>;
|
|
46
|
+
}
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Copyright © 2005-2024 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
* Alfresco Example Content Application
|
|
5
|
+
*
|
|
6
|
+
* This file is part of the Alfresco Example Content Application.
|
|
7
|
+
* If the software was purchased under a paid Alfresco license, the terms of
|
|
8
|
+
* the paid license agreement will prevail. Otherwise, the software is
|
|
9
|
+
* provided under the following open source license terms:
|
|
10
|
+
*
|
|
11
|
+
* The Alfresco Example Content Application is free software: you can redistribute it and/or modify
|
|
12
|
+
* it under the terms of the GNU Lesser General Public License as published by
|
|
13
|
+
* the Free Software Foundation, either version 3 of the License, or
|
|
14
|
+
* (at your option) any later version.
|
|
15
|
+
*
|
|
16
|
+
* The Alfresco Example Content Application is distributed in the hope that it will be useful,
|
|
17
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
18
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
19
|
+
* GNU Lesser General Public License for more details.
|
|
20
|
+
*
|
|
21
|
+
* You should have received a copy of the GNU Lesser General Public License
|
|
22
|
+
* from Hyland Software. If not, see <http://www.gnu.org/licenses/>.
|
|
23
|
+
*/
|
|
24
|
+
import { BaseComponent } from './base.component';
|
|
25
|
+
import { Locator, Page } from '@playwright/test';
|
|
26
|
+
export declare enum PaginationActionsType {
|
|
27
|
+
PageSizeSelector = "Page size selector",
|
|
28
|
+
CurrentPageSelector = "Current page selector",
|
|
29
|
+
NextPageSelector = "Next page button"
|
|
30
|
+
}
|
|
31
|
+
export declare class PaginationComponent extends BaseComponent {
|
|
32
|
+
private static rootElement;
|
|
33
|
+
constructor(page: Page);
|
|
34
|
+
private range;
|
|
35
|
+
private maxItems;
|
|
36
|
+
private currentPage;
|
|
37
|
+
private totalPages;
|
|
38
|
+
private previousButton;
|
|
39
|
+
private nextButton;
|
|
40
|
+
private maxItemsButton;
|
|
41
|
+
private itemsPerPageMenu;
|
|
42
|
+
currentPageLocator: Locator;
|
|
43
|
+
totalPageLocator: Locator;
|
|
44
|
+
getArrowLocatorFor: (action: PaginationActionsType) => Locator;
|
|
45
|
+
setItemsPerPage(amount: number): Promise<void>;
|
|
46
|
+
navigateToPage(pageNumber: number): Promise<void>;
|
|
47
|
+
spinnerWaitForReload(): Promise<void>;
|
|
48
|
+
getRange(): Promise<string>;
|
|
49
|
+
getMaxItems(): Promise<string>;
|
|
50
|
+
getCurrentPage(): Promise<string>;
|
|
51
|
+
getTotalPages(): Promise<string>;
|
|
52
|
+
isPreviousEnabled(): Promise<boolean>;
|
|
53
|
+
isNextEnabled(): Promise<boolean>;
|
|
54
|
+
clickOnNextPage(): Promise<void>;
|
|
55
|
+
clickOnPreviousPage(): Promise<void>;
|
|
56
|
+
openMaxItemsMenu(): Promise<void>;
|
|
57
|
+
resetToDefaultPageSize(): Promise<void>;
|
|
58
|
+
clickMenuItem(menuItem: string): Promise<void>;
|
|
59
|
+
getNthItem(nth: number): Promise<Locator>;
|
|
60
|
+
getItemsCount(): Promise<number>;
|
|
61
|
+
clickNthItem(nth: number): Promise<void>;
|
|
62
|
+
closeMenu(): Promise<void>;
|
|
63
|
+
isRangePresent(): Promise<boolean>;
|
|
64
|
+
getMaxRange(): Promise<string>;
|
|
65
|
+
isMaxItemsPresent(): Promise<boolean>;
|
|
66
|
+
isCurrentPagePresent(): Promise<boolean>;
|
|
67
|
+
isTotalPagesPresent(): Promise<boolean>;
|
|
68
|
+
isPreviousButtonPresent(): Promise<boolean>;
|
|
69
|
+
isNextButtonPresent(): Promise<boolean>;
|
|
70
|
+
}
|
package/page-objects/components/search/search-filters/search-filters-categories.component.d.ts
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Copyright © 2005-2024 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
* Alfresco Example Content Application
|
|
5
|
+
*
|
|
6
|
+
* This file is part of the Alfresco Example Content Application.
|
|
7
|
+
* If the software was purchased under a paid Alfresco license, the terms of
|
|
8
|
+
* the paid license agreement will prevail. Otherwise, the software is
|
|
9
|
+
* provided under the following open source license terms:
|
|
10
|
+
*
|
|
11
|
+
* The Alfresco Example Content Application is free software: you can redistribute it and/or modify
|
|
12
|
+
* it under the terms of the GNU Lesser General Public License as published by
|
|
13
|
+
* the Free Software Foundation, either version 3 of the License, or
|
|
14
|
+
* (at your option) any later version.
|
|
15
|
+
*
|
|
16
|
+
* The Alfresco Example Content Application is distributed in the hope that it will be useful,
|
|
17
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
18
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
19
|
+
* GNU Lesser General Public License for more details.
|
|
20
|
+
*
|
|
21
|
+
* You should have received a copy of the GNU Lesser General Public License
|
|
22
|
+
* from Hyland Software. If not, see <http://www.gnu.org/licenses/>.
|
|
23
|
+
*/
|
|
24
|
+
import { BaseComponent } from '../../base.component';
|
|
25
|
+
import { Page } from '@playwright/test';
|
|
26
|
+
export declare class SearchFiltersCategories extends BaseComponent {
|
|
27
|
+
private static rootElement;
|
|
28
|
+
constructor(page: Page);
|
|
29
|
+
addOptionInput: import("playwright-core").Locator;
|
|
30
|
+
}
|