Commit Graph

402 Commits

Author SHA1 Message Date
Denys Vuika
d54f97995b use latest ADF (#3292)
* use latest ADF

* exclude failing test
2023-06-20 21:05:25 +01:00
Jatin Chugh
4b549f159d e2e tests fix for new google calendar implemented (#3289)
* e2e fix for mat-datepicker component added instead of old mat-datetimepicker component present in ADF

* unused code removed

* excluded test enabled
2023-06-20 14:25:43 +01:00
Adam Zakrzewski
6046ee3098 [ACS-5328] initial-create-folder-test (#3243)
* [ACS-5328] initial-create-folder-test

* ACS-5328-adding-more-tests-to-create-folder

* try to increase e2e instances

* try to make protractor vars global

* removing playwright if statement

* Revert "removing playwright if statement"

This reverts commit 651070040b.

* delete unused file playwright old

* remove browser run

---------

Co-authored-by: Denys Vuika <denys.vuika@gmail.com>
Co-authored-by: akash.rathod@hyland.com <akash.rathod@hyland.com>
2023-06-19 18:45:01 +01:00
Mykyta Maliarchuk
464ac7f450 [ACS-5455] fixed excluded e2e tests (#3282) 2023-06-19 17:36:38 +02:00
Michał Fidor
c843a8dbaa [ACS-5343] refactor Playwright framework in ACA (#3261)
* [ACS-5343] refactor Playwright framework in ACA

* Add the tests for Actions, from the Adam PR [ACS-5328]

* Small fixes

* Improve logs

* [ACS-5343] adding-goThroughPages-and-delete

* [ACS-5343] added git changes

* [ACS-5343] added git changes for playwright

* [ACS-5343] fix for e2e

* [ACS-5343] e2e protractor path fix

* remove import

* [ACS-5343] e2e playwright user fix

* [ACS-5343] e2e playwright user ids fix

* [ACS-5343] e2e playwright users ids fix

* changes for git

* fix playwright test run

* tsconfig path fix

* playwright action yml added

* retrigger checks

* add test id from testrail

* merge conflits

* fix gha

* fix credentials

---------

Co-authored-by: adam.zakrzewski <adam.zakrzewski@hyland.com>
Co-authored-by: akash.rathod@hyland.com <akash.rathod@hyland.com>
Co-authored-by: Denys Vuika <denys.vuika@gmail.com>
2023-06-16 13:07:09 -04:00
Alfresco Build
9916ecb98b GH Auto: Upstream dependencies ADF:6.2.0-5276452186 JS-API:6.2.0-983 using Tag:6.2.0-5276452186 (#3273)
* [ci:force][auto-commit] Update dependencies ADF:6.2.0-5276452186  JS:6.2.0-983

* fix js-api version

* add date-fns dep

* exclude tests

---------

Co-authored-by: DenysVuika <DenysVuika@users.noreply.github.com>
Co-authored-by: Denys Vuika <denys.vuika@gmail.com>
2023-06-15 08:11:55 -04:00
MichalKinas
3b8c9afe78 [ACS-5170] Change some facets to filters (#3256)
* [ACS-5170] Change some facets to filters

* [ACS-5170] Remove unused translations

* [ACS-5170] Exclude e2es that will be fixed along with advanced search changes
2023-06-07 14:04:31 +02:00
swapnil-verma-gl
ac49a4acb5 [ACS-5330] Added clearSelection() in afterEach so that tests unslect rows after they have completed their execution (#3244) 2023-06-01 10:41:28 -04:00
Akash Rathod
84c22176af [ACS-4887] e2e added test step for action tests (#3208)
* [ACS-4887] e2e added test step for action tests

* e2e test remove commented code

* missing spell check added
2023-05-30 06:56:41 -04:00
vijayanssettu
638d2f776c [ACS-5156] Bug fixes for search Input (#3182)
* Serach Input Visible

* Serach Input Visible

* cleanup library file

* Search input visible

---------

Co-authored-by: vijayanssettu <vijayan.settu@hyland.com>
2023-05-26 12:19:16 +01:00
Denys Vuika
def6ddeaa7 eliminate dead code in e2e tests (#3220)
* reduce shared testing dependency

* dead code cleanup

* eliminate dead code

* fix export
2023-05-23 09:27:08 +01:00
Nikita Maliarchuk
51a8908ecc [ACA-4708] enable e2e - C290020 (#3218) 2023-05-22 09:48:08 -04:00
Denys Vuika
fd495f6e95 code cleanup (#3210)
* code cleanup

* rollback changes

* remove dead code

* remove debug app config

* cleanup unused locales

* no-unused-vars rule

* test fixes and cleanup

* remove unnecessary translate modules
2023-05-22 08:23:35 +01:00
Denys Vuika
fbe3a7917a [ACS-5189] enable multiselect for Files and Trashcan (#3196)
* enable multiselect for Files and Trashcan

* disable e2e
2023-05-17 17:31:50 +01:00
Yasa-Nataliya
adbbc1c152 [ACS-4708] Implemented user initials (#3184)
* added user initials

* modified spec file

* changes for config files

* class name renamed

* implemented the review comments
2023-05-16 14:25:43 +05:30
Amedeo Lepore
ec37bf0ec2 Update adf dependencies version to 6.1.0-4944969415 (#3183)
* [ci:force][auto-commit] Update @alfresco/js-api to 6.1.0-912 for branch: update-alfresco-dependencies originated from @alfresco/js-api PR: 4945048596

* Update adf deps versions, update js-api version to solve dependency conflict

* Exclude e2e [C290020]

* Update adf peerDependencies version

---------

Co-authored-by: alfresco-build <alfresco-build@hyland.com>
2023-05-12 16:56:02 +02:00
MichalKinas
5fa5ac4117 [ACA-4695] Fix saving screenshots for E2Es, add nx eslint plugin (#3148)
* [ACA-4695] Fix saving screenshots for E2Es, add nx eslint plugin

* [ACA-4695] Improve eslint rules
2023-04-26 12:25:36 +02:00
AleksanderSklorz
e9bc42df10 [ACS-4534] nx workspace support for aca (#3143)
* ACS-4534 Added nx workspace support

* ACS-4534 Updated package-lock.json file

* ACS-4534 Configured cache directory and affected command

* ACS-4534 Updated README

* ACS-4534 Updated more README files

* ACS-4534 Fixed lint

* ACS-4534 Address comment for readme

* ACS-4534 Removed redundant build-libs script

* ACS-4534 Fixed start script

* ACS-4534 Updated some left documentation

* ACS-4534 Added more helper scripts, addressed PR comments

* ACS-4534 Updated package-lock.json after rebasing

* ACS-4534 Fix stylelint issue
2023-04-25 15:34:34 +02:00
Yasa-Nataliya
6fac964d94 [ACS-3742] Layout changes for workspace (#2980)
* Layout changes for workspace sidemenu

* added header and search layout changes

* implemented review comments and removed process related code

* Added expand and collapse functionality

* Modified the paths

* linting fixes

* use standard material settings icon

* use only specific modules needed for page layout

* use standard "menu" icon for now

* use standard avatar icon for now

* cleanup user profile menu item

* cleanup About component layout

* remove hardcoded settings route

* deprecate "headerImagePath"

* deprecate "headerTextColor" customisation

* deprecate "headerColor" customisation

* proper toggle of the side menu

* proper sidebar header implementation

* user profile basic cleanup

* minor fixes

* cleanup buttons

* remove old app layout and use ADF one

* remove old header component

* cleanup old layout module

* fix unit tests

* cleanup unit tests

* cleanup header actions module

* deprecate unused main-action component

* cleanup styles

* restore removed method

* cleanup search results toolbar

* restore expand menu functionality

* cleanup code, back buttons for about and profile

* restore original code

* proper collapse button

* remove unused i18n key

* styles cleanup

* cleanup sidebar

* cleanup user profile

* add safety checks for focus after close

* layout fixes

* update view profile unit tests

* code cleanup after reviews

* cleanup header actions

* fix menu population, user info

* improved upload and create actions

* remove useless tests

* fix folder rules tests

* search button workaround

* e2e: remove wait

* add create/upload tooltips

* e2e fix

* e2e fix

* e2e fix

* e2e fix

* e2e fix

* e2e fix

* e2e fix

* e2e fix

* e2e fix

* e2e fix

* e2e fix

* e2e fix

* try fix e2e

* update e2e extension configs

* try fix e2e

* try fix e2e

* fix eslint config

* try fix e2e

* move search button to extensions

* move upload and create to extensions

* remove header actions as no longer needed

* cleanup

* e2e fixes and cleanup for unwanted files

* linting fixes

* linting fixes

* added button type to support text buttons

* linting fixes

* added more unit tests to achieve code coverage requirement

* fixing code covergae for aca-content

* fixed code coverage for aca-shared

* linting fixes

* linting fixes

* cleanup

* version fix

---------

Co-authored-by: SheenaMalhotra182 <sheena.malhotra@globallogic.com>
Co-authored-by: Denys Vuika <denys.vuika@gmail.com>
Co-authored-by: SheenaMalhotra182 <sheena.malhotra@contractors.onbase.com>
2023-04-20 07:18:24 -04:00
MichalKinas
d042b80386 [ACS-4425] Improved share file with expiration date test (#3133) 2023-04-19 09:37:55 -04:00
Nikita Maliarchuk
7245e994c5 [ACS-4959] Update license headers to reflect Hyland Copyright Guidelines (#3115)
* [ACS-4959] install eslint-plugin-license-header plugin

* [ACS-4959] configure new license

* [ACS-4959] aca-folder-rules license update

* [ACS-4959] content-ce license update

* [ACS-4959] app-e2e license update

* [ACS-4959] adf-office-services-ext license update

* [ACS-4959] aca-shared update license

* [ACS-4959] aca-about license update

* [ACS-4959] aca-content license update

* [ACS-4959] aca-viewer & aca-preview license update

* [ACS-4959] other files license update

* [ACS-4959] patern fix

* [ACS-4959] vendors updated

* [ACS-4959] path fix

* [ACS-4959] some more vendors update

* [ACS-4959] license update
2023-04-13 04:32:30 -04:00
Akash Rathod
1ce80f3189 [ACS-4922] folder rule e2e fail timeout (#3116) 2023-04-12 07:15:41 -04:00
AleksanderSklorz
1553142364 [ACS-4126] Removed tags from libraries (#3093)
* ACS-4126 Removed tags from libraries

* ACS-4126 Fixed e2e
2023-03-28 13:34:23 -04:00
Denys Vuika
86c0bbb998 [ACS-4837] eslint spellcheck support (#3072)
* eslint spellcheck support

* restore node memory settings for linting
2023-03-17 05:31:23 -04:00
Denys Vuika
25f9a03110 [ACS-4535] cleanup unused dependencies (#3064)
* cleanup unused dependencies

* more cleanup
2023-03-16 05:52:26 -04:00
Denys Vuika
eba0f9aef8 remove travis remains (#3051) 2023-03-14 17:01:56 -04:00
MichalKinas
b8594899c1 [ACS-4741] User random user instead of admin in e2e (#3022) 2023-03-01 20:09:20 +01:00
Denys Vuika
c10aae6084 Remove duplicated e2e (#3006)
* cleanup download tests

* clean copy test

* clean move tests

* create folder tests

* delete tests

* edit tests

* mark favorite tests

* clean the rest of tests

* move page titles closer to the test

* remove unused steps

* restore upload new version suite
2023-02-28 14:08:12 -05:00
Kristian Dimitrov
baa9f2f98c [ACS-4697] Fix Playwright Paginations (#3012) 2023-02-24 16:42:19 +00:00
Kristian Dimitrov
d68deab2bd [ACS-4586] Implemented Playwright Framework and add it to CI/CD (#2985) 2023-02-16 17:23:08 +00:00
MichalKinas
a6e6f08df0 [ACS-4124] Display tags applied to file in files list (#2974)
* [ACS-4124] Display tags applied to file in files list

* [ACS-4124] CR fixes

* [ACS-4124] Hide tags for smaller displays

* [ACS-4124] E2e fixes

* [ACS-4124] E2e fixes
2023-02-15 17:29:25 +01:00
Denys Vuika
479e25d7bc fix project mapping for testing shared lib (#2977)
* fix project mapping for testing shared lib

* fix path mappings
2023-02-11 00:47:16 +00:00
Alfresco Build
704f0a8b65 Update branch for ADF 6.0.0-A.2-7992 and JS-API 5.4.0-561 [ci:force] (#2952)
* [ci:force][auto-commit] Update @alfresco/adf-extensions to 6.0.0-A.2-8156 for branch: update-alfresco-dependencies originated from @alfresco/adf-extensions PR: 37793

* [ci:force][auto-commit] Update @alfresco/adf-core to 6.0.0-A.2-7992 for branch: update-alfresco-dependencies originated from @alfresco/adf-core PR: 37793

* [ci:force][auto-commit] Update @alfresco/adf-content-services to 6.0.0-A.2-8156 for branch: update-alfresco-dependencies originated from @alfresco/adf-content-services PR: 37793

* [ci:force][auto-commit] Update @alfresco/adf-cli to 6.0.0-A.2-7992 for branch: update-alfresco-dependencies originated from @alfresco/adf-cli PR: 37793

* [ci:force][auto-commit] Update @alfresco/adf-testing to 6.0.0-A.2-7992 for branch: update-alfresco-dependencies originated from @alfresco/adf-testing PR: 37793

* [AAE-10778] Fix viewer BC: replace adf-viewer with adf-alfresco-viewer

* Update @alfresco/adf-extensions and @alfresco/adf-content-services to 6.0.0-A.2-7992

* [AAE-10778] Fix viewer BC: fix Unit node effects unit tests, replace ViewUtilService with RenditionViewerService since method 'printFileGeneric' has been moved from ViewUtilService to RenditionViewerService

* Fix comments-tab unit test: provide a mock onLogout value

---------

Co-authored-by: Amedeo Lepore <amedeo.lepore@hyland.com>
2023-02-02 11:07:02 +01:00
Denys Vuika
567882e864 e2e cleanup (#2951)
* reduce the code

* reduce code

* reduce code

* reduce code

* cleanup tests

* more readable code

* cleanup code

* fix code

* even more cleanup

* remove some deprecated apis

* code fixes

* cleanup files

* more files switching to user actions
2023-02-01 23:22:37 +00:00
Denys Vuika
4dbb2a730c [ACS-4417] fix the shared link datetime picker defaults (#2913)
* fix the shared link datetime picker defaults

* exclude incorrect e2e
2023-01-17 22:44:19 +00:00
Thomas Hunter
28d9475ecd [ACA-4645] Fix for shareActions e2es (#2890)
* Fixed expiry date

* Remove tests from protractor.excludes.json

* Remove unnecessary coment

* Fixed test case C286329
2023-01-06 16:58:33 +00:00
Thomas Hunter
547e17bee8 Capitalised the 'r' in 'Manage rules' (#2891) 2023-01-06 15:56:05 +00:00
MichalKinas
cb84a06e25 [ACA-4625] Add ADF linking to unit tests and e2es (#2853) 2022-12-20 09:40:33 +00:00
Kasia Biernat
49f0cc3b61 [AAE-11695] update adf version (#2845)
* [AAE-11695] update adf version

* Fix excluded

Co-authored-by: Maurizio Vitale <maurizio.vitale@alfresco.com>
2022-12-12 18:42:13 +00:00
AleksanderSklorz
ae551f03fc [ACS-3640] Reverting reverted changes for a 11 y aca 881740 snackbar messages disappear without option to adjust timing (#2785)
* ACS-3640 Increasing time of autoclosing snackbar and adding X icon to close snackbar

* ACS-3640 Fix lint issues

* ACS-3640 Addressing PR comments

* ACS-3640 Fix lint issue

* ACS-3640 Added aria label for action icon

* ACS-3640 Fixed one left file

* ACS-3640 Fixed lint issues

* ACS-3640 Correction for e2e

* ACS-3640 Reverting reverted corrections for e2e

* ACS-3640 Use data automation id

* ACS-3640 Update ADF version
2022-11-21 10:48:22 +01:00
Denys Vuika
cc41a575ac Revert snackbar changes (#2778)
* Revert "[AAE-10766] upgrade to new About component (#2769)"

This reverts commit 5ce4835e4c.

* restore about dialog changes

* latest ADF alpha
2022-11-15 17:01:04 +00:00
Denys Vuika
5ce4835e4c [AAE-10766] upgrade to new About component (#2769)
* [AAE-10766] upgrade to new About component

* upgrade to latest ADF alpha

* update e2e to reflect snackbar changes

* Revert "update e2e to reflect snackbar changes"

This reverts commit 6164804bab.

* ACS-3640 a 11 y aca 881740 snackbar messages disappear without option to adjust timing (#2734)

* ACS-3640 Increasing time of autoclosing snackbar and adding X icon to close snackbar

* ACS-3640 Fix lint issues

* ACS-3640 Addressing PR comments

* ACS-3640 Fix lint issue

* ACS-3640 Added aria label for action icon

* ACS-3640 Fixed one left file

* ACS-3640 Fixed lint issues

* use latest adf

* ACS-3640 Correction for e2e

Co-authored-by: Denys Vuika <denys.vuika@gmail.com>

* remove the action check from the snackbar

* update e2e

* update e2e

* update e2e

* Update e2e

Co-authored-by: AleksanderSklorz <115619721+AleksanderSklorz@users.noreply.github.com>
Co-authored-by: Aleksander Sklorz <Aleksander.Sklorz@hyland.com>
2022-11-14 23:55:06 +00:00
Denys Vuika
d0ffbb6297 exclude C306959 (#2725) 2022-10-18 12:44:13 +01:00
Michał Fidor
49b68f6a87 [AAE-10264] Rework the shareActions spec files (#2584) 2022-08-11 15:53:10 +01:00
Denys Vuika
fa68c6fcf4 Angular 13 upgrade (#2493)
* upgrade to Angular 13

* upgrade datetime picker libs

* upgrade to eslint 13

* fix eslint issues

* downgrade datetime picker

* fix scss builds

* use proper node version on travis

* fix e2e check

* fix test run

* upgrade ngrx to 13

* use latest ADF 5.x

* add missing ban plugin for eslint

* use latest ADF 5.x branch

* use latest ADF 5.x

* use latest ADF

* sync libs with adf and apps

* Updating to the right version of mat-datetime-picker

* Fix Test Suites: Search - AAE-10222

* Satisfy linter

* upgrade to adf 5.0.0-angular.13

* upgrade adf to 5.0.0-angular.13.1

Co-authored-by: Andras Popovics <popovics@ndras.hu>
Co-authored-by: MichalFidor <michal.fidor@hyland.com>
2022-08-09 18:39:25 +01:00
Thomas Hunter
30eebfa1e2 [ACA-3379] Routing & skeleton for manage rules screen (#2575)
* [ACA-3379] Routing & skeleton for manage rules screen

* Linting

* Update routing so it's no longer lazy loaded

* Reverted to using lazy-loaded routes

* Remove action visibility from favourites, update e2e test data
2022-08-02 12:46:47 +01:00
Michał Fidor
8d27b7773a Remove useless duplicated flaky e2es (#2531) 2022-06-06 14:09:08 +02:00
Bartosz Sekuła
9689131520 [ACA-4578] Fix for datatable e2e-s (#2511) 2022-04-19 16:56:51 +02:00
Bartosz Sekuła
7d43200823 [ACA-4578] Exclude e2e connected to datatable sorting (#2507) 2022-04-15 13:06:53 +02:00
rafalszmit
9f0f4cc61f [AAE-8147] e2e jasmine callbacks removal (#2490)
* [AAE-8147] e2e jasmine callbacks removal

* trigger travis
2022-03-30 16:20:13 +02:00