@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.
Files changed (211) hide show
  1. package/api/api-client-factory.d.ts +63 -0
  2. package/api/categories-api.d.ts +32 -0
  3. package/api/favorites-api.d.ts +41 -0
  4. package/api/file-actions.d.ts +41 -0
  5. package/api/index.d.ts +37 -0
  6. package/api/node-content-tree.d.ts +32 -0
  7. package/api/nodes-api.d.ts +73 -0
  8. package/api/people-api-models.d.ts +42 -0
  9. package/api/queries-api.d.ts +32 -0
  10. package/api/rules-api.d.ts +79 -0
  11. package/api/search-api.d.ts +33 -0
  12. package/api/shared-links-api.d.ts +36 -0
  13. package/api/sites-api.d.ts +44 -0
  14. package/api/tags-api.d.ts +32 -0
  15. package/api/trashcan-api.d.ts +31 -0
  16. package/base-config/global-variables.d.ts +34 -0
  17. package/base-config/global.setup.d.ts +27 -0
  18. package/base-config/index.d.ts +26 -0
  19. package/base-config/playwright.config.d.ts +25 -0
  20. package/base-config/report-portal.config.d.ts +40 -0
  21. package/esm2020/alfresco-aca-playwright-shared.mjs +5 -0
  22. package/esm2020/api/api-client-factory.mjs +111 -0
  23. package/esm2020/api/categories-api.mjs +65 -0
  24. package/esm2020/api/favorites-api.mjs +129 -0
  25. package/esm2020/api/file-actions.mjs +166 -0
  26. package/esm2020/api/index.mjs +38 -0
  27. package/esm2020/api/node-content-tree.mjs +67 -0
  28. package/esm2020/api/nodes-api.mjs +427 -0
  29. package/esm2020/api/people-api-models.mjs +34 -0
  30. package/esm2020/api/queries-api.mjs +69 -0
  31. package/esm2020/api/rules-api.mjs +251 -0
  32. package/esm2020/api/search-api.mjs +74 -0
  33. package/esm2020/api/shared-links-api.mjs +136 -0
  34. package/esm2020/api/sites-api.mjs +155 -0
  35. package/esm2020/api/tags-api.mjs +61 -0
  36. package/esm2020/api/trashcan-api.mjs +54 -0
  37. package/esm2020/base-config/global-variables.mjs +36 -0
  38. package/esm2020/base-config/global.setup.mjs +66 -0
  39. package/esm2020/base-config/index.mjs +27 -0
  40. package/esm2020/base-config/playwright.config.mjs +78 -0
  41. package/esm2020/base-config/report-portal.config.mjs +48 -0
  42. package/esm2020/fixtures/index.mjs +25 -0
  43. package/esm2020/fixtures/page-initialization.mjs +83 -0
  44. package/esm2020/models/custom-config.mjs +25 -0
  45. package/esm2020/models/index.mjs +26 -0
  46. package/esm2020/models/user-model.mjs +55 -0
  47. package/esm2020/page-objects/components/aca-header.component.mjs +77 -0
  48. package/esm2020/page-objects/components/actions-dropdown.component.mjs +99 -0
  49. package/esm2020/page-objects/components/adf-info-drawer.component.mjs +83 -0
  50. package/esm2020/page-objects/components/base.component.mjs +69 -0
  51. package/esm2020/page-objects/components/breadcrumb/breadcrumb.component.mjs +46 -0
  52. package/esm2020/page-objects/components/conditions.component.mjs +75 -0
  53. package/esm2020/page-objects/components/dataTable/data-table.component.mjs +327 -0
  54. package/esm2020/page-objects/components/dataTable/index.mjs +27 -0
  55. package/esm2020/page-objects/components/dataTable/mat-menu.component.mjs +66 -0
  56. package/esm2020/page-objects/components/dataTable/toolbar.component.mjs +39 -0
  57. package/esm2020/page-objects/components/datetime-picker/datetime-picker.component.mjs +52 -0
  58. package/esm2020/page-objects/components/dialogs/adf-confirm-dialog.component.mjs +35 -0
  59. package/esm2020/page-objects/components/dialogs/adf-folder-dialog.component.mjs +56 -0
  60. package/esm2020/page-objects/components/dialogs/adf-library-dialog.component.mjs +63 -0
  61. package/esm2020/page-objects/components/dialogs/content-node-selector-dialog.mjs +67 -0
  62. package/esm2020/page-objects/components/dialogs/create-from-template-dialog-component.mjs +54 -0
  63. package/esm2020/page-objects/components/dialogs/delete-trash-dialog.component.mjs +53 -0
  64. package/esm2020/page-objects/components/dialogs/edit-dialog.component.mjs +38 -0
  65. package/esm2020/page-objects/components/dialogs/index.mjs +39 -0
  66. package/esm2020/page-objects/components/dialogs/link-rules.component.mjs +57 -0
  67. package/esm2020/page-objects/components/dialogs/manage-versions-dialog.component.mjs +35 -0
  68. package/esm2020/page-objects/components/dialogs/password-overlay-dialog.component.mjs +70 -0
  69. package/esm2020/page-objects/components/dialogs/share-dialog.component.mjs +84 -0
  70. package/esm2020/page-objects/components/dialogs/upload-dialog.component.mjs +35 -0
  71. package/esm2020/page-objects/components/dialogs/upload-new-version-dialog.component.mjs +37 -0
  72. package/esm2020/page-objects/components/dialogs/viewer-overlay-dialog.component.mjs +55 -0
  73. package/esm2020/page-objects/components/error.component.mjs +33 -0
  74. package/esm2020/page-objects/components/index.mjs +50 -0
  75. package/esm2020/page-objects/components/manageRules/index.mjs +26 -0
  76. package/esm2020/page-objects/components/manageRules/manage-rules-dialog.component.mjs +63 -0
  77. package/esm2020/page-objects/components/manageRules/manage-rules.component.mjs +69 -0
  78. package/esm2020/page-objects/components/pagination.component.mjs +173 -0
  79. package/esm2020/page-objects/components/search/search-filters/search-filters-categories.component.mjs +32 -0
  80. package/esm2020/page-objects/components/search/search-filters/search-filters-date.component.mjs +114 -0
  81. package/esm2020/page-objects/components/search/search-filters/search-filters-location.component.mjs +39 -0
  82. package/esm2020/page-objects/components/search/search-filters/search-filters-logic.component.mjs +35 -0
  83. package/esm2020/page-objects/components/search/search-filters/search-filters-properties.component.mjs +82 -0
  84. package/esm2020/page-objects/components/search/search-filters/search-filters-tags.component.mjs +39 -0
  85. package/esm2020/page-objects/components/search/search-filters.component.mjs +44 -0
  86. package/esm2020/page-objects/components/search/search-input.component.mjs +47 -0
  87. package/esm2020/page-objects/components/search/search-overlay.components.mjs +82 -0
  88. package/esm2020/page-objects/components/search/search-sorting-picker.components.mjs +71 -0
  89. package/esm2020/page-objects/components/sidenav.component.mjs +86 -0
  90. package/esm2020/page-objects/components/snackBar/snack-bar.component.mjs +53 -0
  91. package/esm2020/page-objects/components/spinner.component.mjs +40 -0
  92. package/esm2020/page-objects/components/viewer.component.mjs +92 -0
  93. package/esm2020/page-objects/index.mjs +26 -0
  94. package/esm2020/page-objects/pages/base.page.mjs +80 -0
  95. package/esm2020/page-objects/pages/favorites-libraries.page.mjs +42 -0
  96. package/esm2020/page-objects/pages/favorites.page.mjs +48 -0
  97. package/esm2020/page-objects/pages/index.mjs +35 -0
  98. package/esm2020/page-objects/pages/login.page.mjs +61 -0
  99. package/esm2020/page-objects/pages/my-libraries.page.mjs +53 -0
  100. package/esm2020/page-objects/pages/nodes.page.mjs +39 -0
  101. package/esm2020/page-objects/pages/personal-files.page.mjs +84 -0
  102. package/esm2020/page-objects/pages/recent-files.page.mjs +44 -0
  103. package/esm2020/page-objects/pages/search.page.mjs +78 -0
  104. package/esm2020/page-objects/pages/shared.page.mjs +44 -0
  105. package/esm2020/page-objects/pages/trash.page.mjs +44 -0
  106. package/esm2020/page-objects/playwright-base.mjs +31 -0
  107. package/esm2020/public-api.mjs +31 -0
  108. package/esm2020/resources/index.mjs +26 -0
  109. package/esm2020/resources/test-data/index.mjs +26 -0
  110. package/esm2020/resources/test-data/test-data-files-folders.mjs +53 -0
  111. package/esm2020/resources/test-data/test-data-permissions.mjs +331 -0
  112. package/esm2020/resources/test-files/index.mjs +78 -0
  113. package/esm2020/utils/api.mjs +43 -0
  114. package/esm2020/utils/config.mjs +70 -0
  115. package/esm2020/utils/error-strings.mjs +39 -0
  116. package/esm2020/utils/exclude-tests.mjs +35 -0
  117. package/esm2020/utils/index.mjs +34 -0
  118. package/esm2020/utils/library-errors.mjs +29 -0
  119. package/esm2020/utils/logger.mjs +69 -0
  120. package/esm2020/utils/paths.mjs +32 -0
  121. package/esm2020/utils/state-helper.mjs +29 -0
  122. package/esm2020/utils/timeouts.mjs +39 -0
  123. package/esm2020/utils/utils.mjs +144 -0
  124. package/fesm2015/alfresco-aca-playwright-shared.mjs +6251 -0
  125. package/fesm2015/alfresco-aca-playwright-shared.mjs.map +1 -0
  126. package/fesm2020/alfresco-aca-playwright-shared.mjs +6895 -0
  127. package/fesm2020/alfresco-aca-playwright-shared.mjs.map +1 -0
  128. package/fixtures/index.d.ts +24 -0
  129. package/fixtures/page-initialization.d.ts +47 -0
  130. package/index.d.ts +5 -0
  131. package/models/custom-config.d.ts +27 -0
  132. package/models/index.d.ts +25 -0
  133. package/models/user-model.d.ts +37 -0
  134. package/package.json +35 -0
  135. package/page-objects/components/aca-header.component.d.ts +53 -0
  136. package/page-objects/components/actions-dropdown.component.d.ts +71 -0
  137. package/page-objects/components/adf-info-drawer.component.d.ts +64 -0
  138. package/page-objects/components/base.component.d.ts +46 -0
  139. package/page-objects/components/breadcrumb/breadcrumb.component.d.ts +34 -0
  140. package/page-objects/components/conditions.component.d.ts +46 -0
  141. package/page-objects/components/dataTable/data-table.component.d.ts +185 -0
  142. package/page-objects/components/dataTable/index.d.ts +26 -0
  143. package/page-objects/components/dataTable/mat-menu.component.d.ts +41 -0
  144. package/page-objects/components/dataTable/toolbar.component.d.ts +33 -0
  145. package/page-objects/components/datetime-picker/datetime-picker.component.d.ts +36 -0
  146. package/page-objects/components/dialogs/adf-confirm-dialog.component.d.ts +33 -0
  147. package/page-objects/components/dialogs/adf-folder-dialog.component.d.ts +45 -0
  148. package/page-objects/components/dialogs/adf-library-dialog.component.d.ts +45 -0
  149. package/page-objects/components/dialogs/content-node-selector-dialog.d.ts +42 -0
  150. package/page-objects/components/dialogs/create-from-template-dialog-component.d.ts +39 -0
  151. package/page-objects/components/dialogs/delete-trash-dialog.component.d.ts +39 -0
  152. package/page-objects/components/dialogs/edit-dialog.component.d.ts +36 -0
  153. package/page-objects/components/dialogs/index.d.ts +38 -0
  154. package/page-objects/components/dialogs/link-rules.component.d.ts +40 -0
  155. package/page-objects/components/dialogs/manage-versions-dialog.component.d.ts +30 -0
  156. package/page-objects/components/dialogs/password-overlay-dialog.component.d.ts +42 -0
  157. package/page-objects/components/dialogs/share-dialog.component.d.ts +54 -0
  158. package/page-objects/components/dialogs/upload-dialog.component.d.ts +33 -0
  159. package/page-objects/components/dialogs/upload-new-version-dialog.component.d.ts +35 -0
  160. package/page-objects/components/dialogs/viewer-overlay-dialog.component.d.ts +43 -0
  161. package/page-objects/components/error.component.d.ts +31 -0
  162. package/page-objects/components/index.d.ts +49 -0
  163. package/page-objects/components/manageRules/index.d.ts +25 -0
  164. package/page-objects/components/manageRules/manage-rules-dialog.component.d.ts +51 -0
  165. package/page-objects/components/manageRules/manage-rules.component.d.ts +46 -0
  166. package/page-objects/components/pagination.component.d.ts +70 -0
  167. package/page-objects/components/search/search-filters/search-filters-categories.component.d.ts +30 -0
  168. package/page-objects/components/search/search-filters/search-filters-date.component.d.ts +73 -0
  169. package/page-objects/components/search/search-filters/search-filters-location.component.d.ts +32 -0
  170. package/page-objects/components/search/search-filters/search-filters-logic.component.d.ts +33 -0
  171. package/page-objects/components/search/search-filters/search-filters-properties.component.d.ts +42 -0
  172. package/page-objects/components/search/search-filters/search-filters-tags.component.d.ts +32 -0
  173. package/page-objects/components/search/search-filters.component.d.ts +42 -0
  174. package/page-objects/components/search/search-input.component.d.ts +40 -0
  175. package/page-objects/components/search/search-overlay.components.d.ts +45 -0
  176. package/page-objects/components/search/search-sorting-picker.components.d.ts +41 -0
  177. package/page-objects/components/sidenav.component.d.ts +45 -0
  178. package/page-objects/components/snackBar/snack-bar.component.d.ts +37 -0
  179. package/page-objects/components/spinner.component.d.ts +30 -0
  180. package/page-objects/components/viewer.component.d.ts +49 -0
  181. package/page-objects/index.d.ts +25 -0
  182. package/page-objects/pages/base.page.d.ts +52 -0
  183. package/page-objects/pages/favorites-libraries.page.d.ts +40 -0
  184. package/page-objects/pages/favorites.page.d.ts +44 -0
  185. package/page-objects/pages/index.d.ts +34 -0
  186. package/page-objects/pages/login.page.d.ts +48 -0
  187. package/page-objects/pages/my-libraries.page.d.ts +45 -0
  188. package/page-objects/pages/nodes.page.d.ts +37 -0
  189. package/page-objects/pages/personal-files.page.d.ts +57 -0
  190. package/page-objects/pages/recent-files.page.d.ts +42 -0
  191. package/page-objects/pages/search.page.d.ts +54 -0
  192. package/page-objects/pages/shared.page.d.ts +42 -0
  193. package/page-objects/pages/trash.page.d.ts +42 -0
  194. package/page-objects/playwright-base.d.ts +30 -0
  195. package/public-api.d.ts +30 -0
  196. package/resources/index.d.ts +25 -0
  197. package/resources/test-data/index.d.ts +25 -0
  198. package/resources/test-data/test-data-files-folders.d.ts +41 -0
  199. package/resources/test-data/test-data-permissions.d.ts +216 -0
  200. package/resources/test-files/index.d.ts +76 -0
  201. package/utils/api.d.ts +26 -0
  202. package/utils/config.d.ts +69 -0
  203. package/utils/error-strings.d.ts +38 -0
  204. package/utils/exclude-tests.d.ts +24 -0
  205. package/utils/index.d.ts +33 -0
  206. package/utils/library-errors.d.ts +28 -0
  207. package/utils/logger.d.ts +54 -0
  208. package/utils/paths.d.ts +30 -0
  209. package/utils/state-helper.d.ts +27 -0
  210. package/utils/timeouts.d.ts +38 -0
  211. package/utils/utils.d.ts +62 -0
@@ -0,0 +1,73 @@
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
+ import { SearchPage, SearchType } from '../../../pages';
27
+ type FilterTab = 'Created' | 'Modified';
28
+ interface FilterFilesByDateParams {
29
+ searchPage: SearchPage;
30
+ filterType: 'anytime' | 'inTheLast' | 'between';
31
+ dateFilterTab: FilterTab;
32
+ searchPhrase: string;
33
+ searchType: SearchType;
34
+ expectSearchResults: number;
35
+ inTheLastInputValue?: string;
36
+ startDay?: string;
37
+ endDay?: string;
38
+ }
39
+ export declare class SearchFiltersDate extends BaseComponent {
40
+ private static rootElement;
41
+ constructor(page: Page);
42
+ createdTab: import("playwright-core").Locator;
43
+ modifiedTab: import("playwright-core").Locator;
44
+ createdTabTitle: import("playwright-core").Locator;
45
+ modifiedTabTitle: import("playwright-core").Locator;
46
+ anytimeButton: import("playwright-core").Locator;
47
+ anytimeRadioButton: import("playwright-core").Locator;
48
+ inTheLastButton: import("playwright-core").Locator;
49
+ inTheLastInput: import("playwright-core").Locator;
50
+ inTheLastDropdown: import("playwright-core").Locator;
51
+ betweenButton: import("playwright-core").Locator;
52
+ betweenRadioButton: import("playwright-core").Locator;
53
+ betweenStartDate: import("playwright-core").Locator;
54
+ betweenEndDate: import("playwright-core").Locator;
55
+ openCreatedModifiedTab(page: SearchPage, tab: FilterTab): Promise<void>;
56
+ /**
57
+ * Method used in cases where we want to filter search results by Date
58
+ *
59
+ * @param searchPage page context for the test
60
+ * @param filterType filter type for the Date filter
61
+ * @param dateFilterTab tab in Date filter. Either Created or Modified
62
+ * @param searchPhrase search phrase for the search
63
+ * @param searchType type of items we want in search results e.g. files or folders
64
+ * @param expectSearchResults expect a number of search results
65
+ * @param inTheLastInputValue a value for 'in the last' input. e.g. in the last X days
66
+ * @param startDay start day for time-frame search. DD-MMMM-YY
67
+ * @param endDay end day for time-frame search. DD-MMMM-YY
68
+ */
69
+ filterFilesByDate(params: FilterFilesByDateParams): Promise<void>;
70
+ isModifiedTabSelected(): Promise<string>;
71
+ isSearchTabSelected(): Promise<string>;
72
+ }
73
+ export {};
@@ -0,0 +1,32 @@
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 { SearchPage } from '../../../pages';
25
+ import { BaseComponent } from '../../base.component';
26
+ import { Page } from '@playwright/test';
27
+ export declare class SearchFiltersLocation extends BaseComponent {
28
+ private static rootElement;
29
+ constructor(page: Page);
30
+ addOptionInput: import("playwright-core").Locator;
31
+ filterByLocation(page: SearchPage, location: string): Promise<void>;
32
+ }
@@ -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 SearchFiltersLogic extends BaseComponent {
27
+ private static rootElement;
28
+ constructor(page: Page);
29
+ matchAllInput: import("playwright-core").Locator;
30
+ matchAnyInput: import("playwright-core").Locator;
31
+ excludeInput: import("playwright-core").Locator;
32
+ matchExactInput: import("playwright-core").Locator;
33
+ }
@@ -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 { SearchPage } from '../../../pages';
25
+ import { BaseComponent } from '../../base.component';
26
+ import { Page } from '@playwright/test';
27
+ export declare class SearchFiltersProperties extends BaseComponent {
28
+ private static rootElement;
29
+ constructor(page: Page);
30
+ operatorButton: import("playwright-core").Locator;
31
+ fileSizeInput: import("playwright-core").Locator;
32
+ unitButton: import("playwright-core").Locator;
33
+ fileTypeInput: import("playwright-core").Locator;
34
+ atLeastOption: import("playwright-core").Locator;
35
+ atMostOption: import("playwright-core").Locator;
36
+ exactlyOption: import("playwright-core").Locator;
37
+ kbUnit: import("playwright-core").Locator;
38
+ mbUnit: import("playwright-core").Locator;
39
+ gbUnit: import("playwright-core").Locator;
40
+ dropdownOptions: import("playwright-core").Locator;
41
+ setPropertiesParameters(page: SearchPage, operator?: 'At Least' | 'At Most' | 'Exactly', unit?: 'KB' | 'MB' | 'GB', fileSizeInputText?: string, fileTypeInputText?: string): Promise<void>;
42
+ }
@@ -0,0 +1,32 @@
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 { SearchPage } from '../../../pages';
25
+ import { BaseComponent } from '../../base.component';
26
+ import { Page } from '@playwright/test';
27
+ export declare class SearchFiltersTags extends BaseComponent {
28
+ private static rootElement;
29
+ constructor(page: Page);
30
+ addOptionInput: import("playwright-core").Locator;
31
+ filterByTag(page: SearchPage, tag: string): Promise<void>;
32
+ }
@@ -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 { BaseComponent } from '../base.component';
25
+ import { Page } from '@playwright/test';
26
+ export declare class SearchFilters extends BaseComponent {
27
+ private static rootElement;
28
+ constructor(page: Page);
29
+ filtersButtons: import("playwright-core").Locator;
30
+ logicFilter: import("playwright-core").Locator;
31
+ propertiesFilter: import("playwright-core").Locator;
32
+ dateFilter: import("playwright-core").Locator;
33
+ locationFilter: import("playwright-core").Locator;
34
+ tagsFilter: import("playwright-core").Locator;
35
+ categoriesFilter: import("playwright-core").Locator;
36
+ resetButton: import("playwright-core").Locator;
37
+ menuCardTitle: import("playwright-core").Locator;
38
+ menuCardClose: import("playwright-core").Locator;
39
+ menuCardClear: import("playwright-core").Locator;
40
+ menuCardApply: import("playwright-core").Locator;
41
+ dropdownOptions: import("playwright-core").Locator;
42
+ }
@@ -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 SearchInputComponent extends BaseComponent {
27
+ private static rootElement;
28
+ searchInput: Locator;
29
+ searchButton: Locator;
30
+ searchCloseButton: Locator;
31
+ /**
32
+ * Method used in cases where user have possibility to navigate "inside" the element (it's clickable and has link attribute).
33
+ * Perform action .click() to navigate inside it
34
+ *
35
+ * @returns reference to cell element which contains link.
36
+ */
37
+ getCellLinkByName: (name: string) => Locator;
38
+ constructor(page: Page, rootElement?: string);
39
+ performDoubleClickFolderOrFileToOpen(name: string): Promise<void>;
40
+ }
@@ -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 { Page } from '@playwright/test';
25
+ import { BaseComponent } from '.././base.component';
26
+ export declare class SearchOverlayComponent extends BaseComponent {
27
+ private static rootElement;
28
+ searchFilesOption: import("playwright-core").Locator;
29
+ searchFoldersOption: import("playwright-core").Locator;
30
+ searchLibrariesOption: import("playwright-core").Locator;
31
+ searchInput: import("playwright-core").Locator;
32
+ searchButton: import("playwright-core").Locator;
33
+ searchInputControl: import("playwright-core").Locator;
34
+ searchOptions: import("playwright-core").Locator;
35
+ constructor(page: Page, rootElement?: string);
36
+ isFoldersOptionChecked(): Promise<boolean>;
37
+ isFilesOptionChecked(): Promise<boolean>;
38
+ isLibrariesOptionChecked(): Promise<boolean>;
39
+ clearOptions(): Promise<void>;
40
+ checkOnlyFolders(): Promise<void>;
41
+ checkOnlyFiles(): Promise<void>;
42
+ checkLibraries(): Promise<void>;
43
+ checkFilesAndFolders(): Promise<void>;
44
+ searchFor(input: string): Promise<void>;
45
+ }
@@ -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 type SortByType = 'Relevance' | 'Title' | 'Filename' | 'Modified date' | 'Modifier' | 'Created date' | 'Size' | 'Type';
27
+ export type SortByDirection = 'asc' | 'desc';
28
+ export declare class SearchSortingPicker extends BaseComponent {
29
+ private static rootElement;
30
+ actionMenu: import("playwright-core").Locator;
31
+ sortOrderButton: import("playwright-core").Locator;
32
+ sortByDropdownExpanded: import("playwright-core").Locator;
33
+ sortByList: import("playwright-core").Locator;
34
+ constructor(page: Page, rootElement?: string);
35
+ waitForSortByDropdownToExpand(): Promise<void>;
36
+ isSortOrderButtonDisplayed(): Promise<boolean>;
37
+ isSortByDropdownExpanded(): Promise<boolean>;
38
+ clickSortByDropdown(): Promise<void>;
39
+ getSortByOptionsList(): Promise<string[]>;
40
+ sortBy(option: SortByType, direction: SortByDirection): Promise<void>;
41
+ }
@@ -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 SidenavComponent extends BaseComponent {
27
+ private static rootElement;
28
+ private personalFiles;
29
+ private myLibraries;
30
+ private favoriteLibraries;
31
+ private shared;
32
+ private recentFiles;
33
+ private favorites;
34
+ private trash;
35
+ private sidenavToggle;
36
+ private sidenavExpand;
37
+ expandedSidenav: Locator;
38
+ constructor(page: Page);
39
+ isActive(name: string): Promise<boolean>;
40
+ openPanel(name: string): Promise<void>;
41
+ private getLinkLabel;
42
+ isSidenavExpanded(): Promise<boolean>;
43
+ expandSideNav(): Promise<void>;
44
+ collapseSideNav(): Promise<void>;
45
+ }
@@ -0,0 +1,37 @@
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 SnackBarComponent extends BaseComponent {
27
+ private static rootElement;
28
+ message: import("playwright-core").Locator;
29
+ actionButton: import("playwright-core").Locator;
30
+ closeIcon: import("playwright-core").Locator;
31
+ getByMessageLocator: (message: string) => import("playwright-core").Locator;
32
+ constructor(page: Page, rootElement?: string);
33
+ getSnackBarMessage(): Promise<string>;
34
+ getSnackBarActionText(): Promise<string>;
35
+ verifySnackBarActionText(text: string): Promise<void>;
36
+ clickSnackBarAction(): Promise<void>;
37
+ }
@@ -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 SpinnerComponent extends BaseComponent {
27
+ private static rootElement;
28
+ constructor(page: Page, rootElement?: string);
29
+ waitForReload(): Promise<void>;
30
+ }
@@ -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
+ import { Page } from '@playwright/test';
25
+ import { BaseComponent } from './base.component';
26
+ import { AcaHeader } from './aca-header.component';
27
+ export declare class ViewerComponent extends BaseComponent {
28
+ private static rootElement;
29
+ viewerLocator: import("playwright-core").Locator;
30
+ closeButtonLocator: import("playwright-core").Locator;
31
+ fileTitleButtonLocator: import("playwright-core").Locator;
32
+ pdfViewerContentPages: import("playwright-core").Locator;
33
+ shareButton: import("playwright-core").Locator;
34
+ downloadButton: import("playwright-core").Locator;
35
+ allButtons: import("playwright-core").Locator;
36
+ unknownFormat: import("playwright-core").Locator;
37
+ toolbar: AcaHeader;
38
+ constructor(page: Page);
39
+ isPdfViewerContentDisplayed(): Promise<boolean>;
40
+ waitForViewerToOpen(waitForViewerContent?: 'wait for viewer content'): Promise<void>;
41
+ isViewerOpened(): Promise<boolean>;
42
+ isCloseButtonDisplayed(): Promise<boolean>;
43
+ isFileTitleDisplayed(): Promise<boolean>;
44
+ getFileTitle(): Promise<string>;
45
+ getCloseButtonTooltip(): Promise<string>;
46
+ verifyViewerPrimaryActions(expectedToolbarPrimary: string[]): Promise<void>;
47
+ checkUnknownFormatIsDisplayed(): Promise<void>;
48
+ getUnknownFormatMessage(): Promise<string>;
49
+ }
@@ -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 './components';
25
+ export * from './pages';
@@ -0,0 +1,52 @@
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 { PlaywrightBase } from '../playwright-base';
26
+ import { SnackBarComponent, SpinnerComponent } from '../components';
27
+ export interface NavigateOptions {
28
+ query?: string;
29
+ waitForRequest?: boolean;
30
+ waitUntil?: 'networkidle' | 'commit' | 'load' | 'domcontentloaded';
31
+ remoteUrl?: string;
32
+ }
33
+ export declare abstract class BasePage extends PlaywrightBase {
34
+ private readonly pageUrl;
35
+ private readonly urlRequest;
36
+ snackBar: SnackBarComponent;
37
+ spinner: SpinnerComponent;
38
+ protected constructor(page: Page, pageUrl: string, urlRequest?: RegExp);
39
+ /**
40
+ * Method which navigate to appropriate page or remoteURL
41
+ *
42
+ * @param options object with configurable options
43
+ * @property {string} query if you would like to navigate to page which support query,
44
+ * then pass it in this option - e.g. '?appName=content'
45
+ * @property {boolean} waitForRequest if you would like to NOT wait for request (which need to be passed
46
+ * in the constructor of the page), then pass false. By default it'll wait for request to be fulfilled.
47
+ * @property {'networkidle' | 'commit' | 'load' | 'domcontentloaded'} waitUntil by default will wait until 'networkidle' but you can change it if needed
48
+ * @property {string} remoteUrl if you need to navigate to third part site, then you need to pass all of the URL in this option
49
+ */
50
+ navigate(options?: Partial<NavigateOptions>): Promise<void>;
51
+ reload(options?: Pick<NavigateOptions, 'waitUntil'>): Promise<void>;
52
+ }