@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,185 @@
|
|
|
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
|
+
import { MatMenuComponent } from './mat-menu.component';
|
|
27
|
+
import { PaginationComponent } from '../pagination.component';
|
|
28
|
+
export declare class DataTableComponent extends BaseComponent {
|
|
29
|
+
private static rootElement;
|
|
30
|
+
contextMenuActions: MatMenuComponent;
|
|
31
|
+
constructor(page: Page, rootElement?: string);
|
|
32
|
+
pagination: PaginationComponent;
|
|
33
|
+
body: Locator;
|
|
34
|
+
getEmptyFolderLocator: Locator;
|
|
35
|
+
getEmptyContentTitleLocator: Locator;
|
|
36
|
+
getEmptyContentSubTitleLocator: Locator;
|
|
37
|
+
getSelectedRow: Locator;
|
|
38
|
+
sortedColumnHeader: Locator;
|
|
39
|
+
columnHeaders: Locator;
|
|
40
|
+
emptyList: Locator;
|
|
41
|
+
emptyListTitle: Locator;
|
|
42
|
+
emptyListSubtitle: Locator;
|
|
43
|
+
emptySearchText: Locator;
|
|
44
|
+
emptyListTest: Locator;
|
|
45
|
+
paginationButton: Locator;
|
|
46
|
+
paginationOptions: Locator;
|
|
47
|
+
sitesVisibility: Locator;
|
|
48
|
+
sitesName: Locator;
|
|
49
|
+
sitesRole: Locator;
|
|
50
|
+
lockOwner: Locator;
|
|
51
|
+
uncheckedCheckbox: Locator;
|
|
52
|
+
checkedCheckbox: Locator;
|
|
53
|
+
/** Locator for row (or rows) */
|
|
54
|
+
getRowLocator: Locator;
|
|
55
|
+
/** Locator to get "No results found" message */
|
|
56
|
+
getNoResultsFoundMessage: Locator;
|
|
57
|
+
/**
|
|
58
|
+
* Method used in cases where we want to check that some record is visible in the datatable. It will consider whole row
|
|
59
|
+
*
|
|
60
|
+
* @returns reference to cell element which contains text.
|
|
61
|
+
*/
|
|
62
|
+
getRowByName: (name: string | number) => Locator;
|
|
63
|
+
/**
|
|
64
|
+
* Method used in cases where we want to check that some record is visible in the datatable.
|
|
65
|
+
* But we want to check it by column header title and value of this column.
|
|
66
|
+
*
|
|
67
|
+
* @returns reference to cell element which contains text.
|
|
68
|
+
*/
|
|
69
|
+
getRowByColumnTitleAndItsCellValue: (columnTitle: string, cellValue: string | number) => Locator;
|
|
70
|
+
/**
|
|
71
|
+
* Method used in cases where we want to retrieve a row from the datatable based on its numerical order within the array.
|
|
72
|
+
*
|
|
73
|
+
* @returns reference to cell element which contains text.
|
|
74
|
+
*/
|
|
75
|
+
getNthRow: (orderNum: number) => Locator;
|
|
76
|
+
/**
|
|
77
|
+
* Method used in cases where user have possibility to navigate "inside" the element (it's clickable and has link attribute).
|
|
78
|
+
* Perform action .click() to navigate inside it
|
|
79
|
+
*
|
|
80
|
+
* @returns reference to cell element which contains link.
|
|
81
|
+
*/
|
|
82
|
+
getCellLinkByName: (name: string) => Locator;
|
|
83
|
+
/**
|
|
84
|
+
* Method used in cases where we want to localize the element by [aria-label]
|
|
85
|
+
*
|
|
86
|
+
* @returns reference to cell element.
|
|
87
|
+
*/
|
|
88
|
+
getByAriaLabelTitle: (title: string) => Locator;
|
|
89
|
+
/**
|
|
90
|
+
* Method used in cases where we want to get the button (hamburger menu) for row element
|
|
91
|
+
*
|
|
92
|
+
* @returns reference to menu placed in row localized by the name
|
|
93
|
+
*/
|
|
94
|
+
getActionsButtonByName: (name: string) => Locator;
|
|
95
|
+
/**
|
|
96
|
+
* Method used in cases where we want to get the edit button and there is no hamburger menu
|
|
97
|
+
*
|
|
98
|
+
* @returns reference to edit button placed in row localized by the name
|
|
99
|
+
*/
|
|
100
|
+
getEditButtonByName: (name: string) => Locator;
|
|
101
|
+
/**
|
|
102
|
+
* Method used in cases where we want to get the button and there is no hamburger menu
|
|
103
|
+
*
|
|
104
|
+
* @returns reference to button placed in row localized by the name
|
|
105
|
+
*/
|
|
106
|
+
getButtonByNameForSpecificRow: (elementTitleInRow: string, buttonTitle: string) => Locator;
|
|
107
|
+
/**
|
|
108
|
+
* Method used in cases where you want to get some specific cell (by column name) for row which contains some name/title/etc.
|
|
109
|
+
*
|
|
110
|
+
* @returns reference to cell element
|
|
111
|
+
*/
|
|
112
|
+
getCellByColumnNameAndRowItem: (item: string | number, columnName: string) => Locator;
|
|
113
|
+
/**
|
|
114
|
+
* Method used in cases where we want to get the checkbox for row element
|
|
115
|
+
*
|
|
116
|
+
* @returns reference to checkbox placed in row localized by the name
|
|
117
|
+
*/
|
|
118
|
+
getCheckboxForElement: (item: string) => Locator;
|
|
119
|
+
getColumnHeaderByTitleLocator: (headerTitle: string) => Locator;
|
|
120
|
+
getSearchResultLinkByName: (name: string) => Locator;
|
|
121
|
+
getColumnValuesByName: (name: string) => Locator;
|
|
122
|
+
getColumnHeaderByName: (headerTitle: string) => Locator;
|
|
123
|
+
sortBy(label: string, order: 'asc' | 'desc'): Promise<void>;
|
|
124
|
+
/**
|
|
125
|
+
* This method is used when we want to perform right mouse click on the dataTable row and perform some action
|
|
126
|
+
*
|
|
127
|
+
* @param name of the data table element with which we want to click
|
|
128
|
+
* @param action provide which action you want to perform
|
|
129
|
+
*/
|
|
130
|
+
performActionFromExpandableMenu(name: string | number, action: string): Promise<void>;
|
|
131
|
+
/**
|
|
132
|
+
* Click action from the expandable kebab menu for the element in datatable
|
|
133
|
+
*
|
|
134
|
+
* @param name title of the record you would like to proceed
|
|
135
|
+
* @param action provide button title for the action
|
|
136
|
+
* @param subAction if the action is in sub menu, then provide it here
|
|
137
|
+
*/
|
|
138
|
+
performActionForElement(name: string, action: string, subAction?: string): Promise<void>;
|
|
139
|
+
/**
|
|
140
|
+
* This method is used when we want to perform double click on the dataTable row to open a file or folder
|
|
141
|
+
*
|
|
142
|
+
* @param name of the data table element with which we want to double click
|
|
143
|
+
*/
|
|
144
|
+
performClickFolderOrFileToOpen(name: string): Promise<void>;
|
|
145
|
+
isItemPresent(name: string): Promise<boolean>;
|
|
146
|
+
getActionLocatorFromExpandableMenu(name: string | number, action: string): Promise<Locator>;
|
|
147
|
+
performActionInExpandableMenu(name: string | number, action: string): Promise<void>;
|
|
148
|
+
goThroughPagesLookingForRowWithName(name: string | number): Promise<void>;
|
|
149
|
+
selectItems(...names: string[]): Promise<void>;
|
|
150
|
+
isRowSelected(itemName: string): Promise<boolean>;
|
|
151
|
+
getColumnHeaders(): Promise<Array<string>>;
|
|
152
|
+
getSortedColumnHeaderText(): Promise<string>;
|
|
153
|
+
private getItemLocationEl;
|
|
154
|
+
getItemLocationText(name: string): Promise<string>;
|
|
155
|
+
getItemLocationTooltip(name: string): Promise<string>;
|
|
156
|
+
clickItemLocation(name: string): Promise<void>;
|
|
157
|
+
getSortingOrder(): Promise<string>;
|
|
158
|
+
getRowAllInnerTexts(name: string): Promise<string>;
|
|
159
|
+
getFirstElementDetail(name: string): Promise<string>;
|
|
160
|
+
isEmpty(): Promise<boolean>;
|
|
161
|
+
getEmptyStateTitle(): Promise<string>;
|
|
162
|
+
getEmptyStateSubtitle(): Promise<string>;
|
|
163
|
+
getEmptyListText(): Promise<string>;
|
|
164
|
+
getRowsCount(): Promise<number>;
|
|
165
|
+
rightClickOnItem(itemName: string): Promise<void>;
|
|
166
|
+
setPaginationTo50(): Promise<void>;
|
|
167
|
+
/**
|
|
168
|
+
* Method used to create objects from names and visibility of sites from datatable
|
|
169
|
+
*
|
|
170
|
+
* @returns an object with sites' names and their corresponding visibility values
|
|
171
|
+
*/
|
|
172
|
+
getSitesNameAndVisibility(): Promise<{
|
|
173
|
+
[siteName: string]: string;
|
|
174
|
+
}>;
|
|
175
|
+
/**
|
|
176
|
+
* Method used to create objects from names and roles of sites from datatable
|
|
177
|
+
*
|
|
178
|
+
* @returns an object with sites' names and their corresponding role values
|
|
179
|
+
*/
|
|
180
|
+
getSitesNameAndRole(): Promise<{
|
|
181
|
+
[siteName: string]: string;
|
|
182
|
+
}>;
|
|
183
|
+
hasLockIcon(itemName: string): Promise<boolean>;
|
|
184
|
+
getLockOwner(itemName: string): Promise<string>;
|
|
185
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
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 './data-table.component';
|
|
25
|
+
export * from './mat-menu.component';
|
|
26
|
+
export * from './toolbar.component';
|
|
@@ -0,0 +1,41 @@
|
|
|
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 MatMenuComponent extends BaseComponent {
|
|
27
|
+
private static rootElement;
|
|
28
|
+
constructor(page: Page);
|
|
29
|
+
getMenuItemsLocator: import("playwright-core").Locator;
|
|
30
|
+
getMenuItemTextLocator: import("playwright-core").Locator;
|
|
31
|
+
createFolder: import("playwright-core").Locator;
|
|
32
|
+
createFolderFromTemplate: import("playwright-core").Locator;
|
|
33
|
+
createFileFromTemplate: import("playwright-core").Locator;
|
|
34
|
+
createLibrary: import("playwright-core").Locator;
|
|
35
|
+
getButtonByText: (text: string) => import("playwright-core").Locator;
|
|
36
|
+
getMenuItemFromHeaderMenu: (text: string) => import("playwright-core").Locator;
|
|
37
|
+
clickMenuItem(menuItem: string): Promise<void>;
|
|
38
|
+
clickMenuItemFromHeaderMenu(menuItem: string): Promise<void>;
|
|
39
|
+
isMenuItemVisible(menuItem: string): Promise<boolean>;
|
|
40
|
+
verifyActualMoreActions(expectedToolbarMore: string[]): Promise<void>;
|
|
41
|
+
}
|
|
@@ -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 { BaseComponent } from '../base.component';
|
|
25
|
+
import { Page } from '@playwright/test';
|
|
26
|
+
export declare class ToolbarComponent extends BaseComponent {
|
|
27
|
+
private static rootElement;
|
|
28
|
+
private createRuleButton;
|
|
29
|
+
private linkRulesButton;
|
|
30
|
+
constructor(page: Page);
|
|
31
|
+
clickCreateRuleButton(): Promise<void>;
|
|
32
|
+
clickLinkRulesButton(): Promise<void>;
|
|
33
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
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 DateTimePicker extends BaseComponent {
|
|
27
|
+
private static rootElement;
|
|
28
|
+
calendar: import("playwright-core").Locator;
|
|
29
|
+
dayPicker: import("playwright-core").Locator;
|
|
30
|
+
nextMonthBtn: import("playwright-core").Locator;
|
|
31
|
+
rootElemLocator: import("playwright-core").Locator;
|
|
32
|
+
constructor(page: Page);
|
|
33
|
+
isCalendarOpen(): Promise<boolean>;
|
|
34
|
+
pickDateTime(): Promise<void>;
|
|
35
|
+
selectDay(day: number): Promise<void>;
|
|
36
|
+
}
|
|
@@ -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 AdfConfirmDialogComponent extends BaseComponent {
|
|
27
|
+
private static rootElement;
|
|
28
|
+
constructor(page: Page);
|
|
29
|
+
getDialogTitle: (text: string) => import("playwright-core").Locator;
|
|
30
|
+
getDialogContent: (text: string) => import("playwright-core").Locator;
|
|
31
|
+
okButton: import("playwright-core").Locator;
|
|
32
|
+
cancelButton: import("playwright-core").Locator;
|
|
33
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
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 AdfFolderDialogComponent extends BaseComponent {
|
|
27
|
+
private static rootElement;
|
|
28
|
+
folderNameInputLocator: import("playwright-core").Locator;
|
|
29
|
+
folderNameInputHint: import("playwright-core").Locator;
|
|
30
|
+
folderTitleInput: import("playwright-core").Locator;
|
|
31
|
+
folderDescriptionInput: import("playwright-core").Locator;
|
|
32
|
+
createButton: import("playwright-core").Locator;
|
|
33
|
+
cancelButton: import("playwright-core").Locator;
|
|
34
|
+
constructor(page: Page);
|
|
35
|
+
getLabelText: (text: string) => import("playwright-core").Locator;
|
|
36
|
+
getRequiredMarker: (text: string) => import("playwright-core").Locator;
|
|
37
|
+
/**
|
|
38
|
+
* This method is used when we want to fill in Create new Folder Dialog and choose Create button
|
|
39
|
+
*
|
|
40
|
+
* @param nameInput input for the Name field
|
|
41
|
+
* @param titleInput input for Title field
|
|
42
|
+
* @param descriptionInput input for Description field
|
|
43
|
+
*/
|
|
44
|
+
createNewFolderDialog(nameInput: string, titleInput?: string, descriptionInput?: string): Promise<void>;
|
|
45
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
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 class AdfLibraryDialogComponent extends BaseComponent {
|
|
27
|
+
private static rootElement;
|
|
28
|
+
createButton: Locator;
|
|
29
|
+
cancelButton: Locator;
|
|
30
|
+
constructor(page: Page);
|
|
31
|
+
getLabelText: (text: string) => Locator;
|
|
32
|
+
getRequiredMarker: (text: string) => Locator;
|
|
33
|
+
getDialogTitle: (text: string) => Locator;
|
|
34
|
+
getErrorByText: (text: string) => Locator;
|
|
35
|
+
/**
|
|
36
|
+
* This method is used when we want to fill in Create Library Dialog and choose Create button
|
|
37
|
+
*
|
|
38
|
+
* @param nameInput input for the Name field
|
|
39
|
+
* @param libraryIdInput input for Library ID field
|
|
40
|
+
* @param descriptionInput input for Description field
|
|
41
|
+
* @param visibility visibility of the library
|
|
42
|
+
*/
|
|
43
|
+
createLibraryWithNameAndId(nameInput: string, libraryIdInput: string, descriptionInput?: string, visibility?: string): Promise<void>;
|
|
44
|
+
isErrorMessageDisplayed(errorText: string): Promise<boolean>;
|
|
45
|
+
}
|
|
@@ -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 { Locator, Page } from '@playwright/test';
|
|
25
|
+
import { BaseComponent } from '../base.component';
|
|
26
|
+
export declare class ContentNodeSelectorDialog extends BaseComponent {
|
|
27
|
+
private static rootElement;
|
|
28
|
+
constructor(page: Page);
|
|
29
|
+
cancelButton: Locator;
|
|
30
|
+
actionButton: Locator;
|
|
31
|
+
locationDropDown: Locator;
|
|
32
|
+
private selectedRow;
|
|
33
|
+
getOptionLocator: (optionName: string) => Locator;
|
|
34
|
+
private getRowByName;
|
|
35
|
+
getDialogTitle: (text: string) => Locator;
|
|
36
|
+
getBreadcrumb: (text: string) => Locator;
|
|
37
|
+
getFolderIcon: Locator;
|
|
38
|
+
loadMoreButton: Locator;
|
|
39
|
+
loadMoreNodes(): Promise<void>;
|
|
40
|
+
selectLocation(location: string): Promise<void>;
|
|
41
|
+
selectDestination(folderName: string): Promise<void>;
|
|
42
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
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 CreateFromTemplateDialogComponent extends BaseComponent {
|
|
27
|
+
private static rootElement;
|
|
28
|
+
constructor(page: Page);
|
|
29
|
+
cancelButton: Locator;
|
|
30
|
+
createButton: Locator;
|
|
31
|
+
getDialogTitle: (text: string) => Locator;
|
|
32
|
+
getDialogLabel: (text: string) => Locator;
|
|
33
|
+
getErrorByText: (text: string) => Locator;
|
|
34
|
+
isErrorMessageDisplayed(errorText: string): Promise<boolean>;
|
|
35
|
+
/**
|
|
36
|
+
* This method is used when we want to fill in Create new folder/document/file from template dialog and choose Create button
|
|
37
|
+
*/
|
|
38
|
+
createFromTemplateAction(nameInput: string, titleInput?: string, descriptionInput?: string): Promise<void>;
|
|
39
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
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 AdfDeleteTrashComponent extends BaseComponent {
|
|
27
|
+
private static rootElement;
|
|
28
|
+
constructor(page: Page);
|
|
29
|
+
dialogTitle: import("playwright-core").Locator;
|
|
30
|
+
dialogDescription: import("playwright-core").Locator;
|
|
31
|
+
deleteButton: import("playwright-core").Locator;
|
|
32
|
+
keepButton: import("playwright-core").Locator;
|
|
33
|
+
waitForDialog(): Promise<void>;
|
|
34
|
+
isDialogOpen(): Promise<boolean>;
|
|
35
|
+
getDialogTitle(): Promise<string>;
|
|
36
|
+
getDialogDescription(): Promise<string>;
|
|
37
|
+
isDeleteEnabled(): Promise<boolean>;
|
|
38
|
+
isKeepEnabled(): Promise<boolean>;
|
|
39
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
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 EditDialog extends BaseComponent {
|
|
27
|
+
private static rootElement;
|
|
28
|
+
editDialog: import("playwright-core").Locator;
|
|
29
|
+
titleInput: import("playwright-core").Locator;
|
|
30
|
+
cancelButton: import("playwright-core").Locator;
|
|
31
|
+
updateButton: import("playwright-core").Locator;
|
|
32
|
+
descriptionInput: import("playwright-core").Locator;
|
|
33
|
+
nameInput: import("playwright-core").Locator;
|
|
34
|
+
fieldHint: import("playwright-core").Locator;
|
|
35
|
+
constructor(page: Page);
|
|
36
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
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 './adf-folder-dialog.component';
|
|
25
|
+
export * from './adf-library-dialog.component';
|
|
26
|
+
export * from './password-overlay-dialog.component';
|
|
27
|
+
export * from './viewer-overlay-dialog.component';
|
|
28
|
+
export * from './content-node-selector-dialog';
|
|
29
|
+
export * from './create-from-template-dialog-component';
|
|
30
|
+
export * from './adf-confirm-dialog.component';
|
|
31
|
+
export * from './share-dialog.component';
|
|
32
|
+
export * from './upload-new-version-dialog.component';
|
|
33
|
+
export * from './manage-versions-dialog.component';
|
|
34
|
+
export * from './upload-dialog.component';
|
|
35
|
+
export * from './delete-trash-dialog.component';
|
|
36
|
+
export * from './link-rules.component';
|
|
37
|
+
export * from './edit-dialog.component';
|
|
38
|
+
export * from './manage-versions-dialog.component';
|