Commit Graph

588 Commits

Author SHA1 Message Date
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
Vito
31d677c12d Removing eslint react weird plugin (#2483)
Co-authored-by: Denys Vuika <denys.vuika@gmail.com>
2022-03-29 15:05:07 +01:00
Antonio Felix
e976ad277f ACA-4565 - Re-enable tests after the ADF fix regarding the new Chrome version (#2468) 2022-03-17 17:27:14 +00:00
rafalszmit
803f59b57c [AAE-7660] file preview from info drawer (#2463)
* [AAE-7660] file preview from info drawer

* condition update

* wait for node to be searchable
2022-03-01 15:46:42 +01:00
rafalszmit
2f1a908fd5 [AAE-7448] Automate remember sorting (#2460)
* [AAE-7448] Automated C261136

* [AAE-7448] Revert unused changes

* [AAE-7448] Automated C261137

* [AAE-7448] Automate C261138

* [AAE-7448] Automate C261139

* [AAE-7448] Automate C261150

* [AAE-7448] Automate C589205

* [AAAE-7448] Automate C261153 TBC

* [AAE-7448] Automate C261147

* [AAE-7448] refactor

* [AAE-7448] - remove unused method

* remove randomness

* sort wait in case spinner's missing + small fixes

* adding types
2022-02-25 10:49:29 +00:00
Ketevani Kvirikashvili
22d65f006d [AAE-7154] Automate upload file dialog (#2418)
* [AAE-7154] Automate upload files dialog

* [ACA-71546] Fix for sigout

* update test

* delete comment

* fix lint

* fix

* fix after CR

* CR

Co-authored-by: Bartosz Sekula <Bartosz.Sekula@hyland.com>
2022-02-15 22:57:23 +00:00
rafalszmit
3afc4f4859 [AAE-7355] automate manual C599174 (#2451)
* [AAE-7355] automate manual C599174

* C306959 ci flakiness - click insead of Enter
2022-02-14 22:20:14 +00:00
Vito
23262d0949 [AAE-7101] - Introduced Eslint to ACA and added some fix to avoid errors (#2424)
* Conversion to ESlint

* Fixed ESLINT for ACA

* [AAE-6638] - typo in eslint file

* [AAE-6638] - attempt to fix problem on linting

* Check caching to improve lint speed

* Improved eslint for content-app

* Added new cache

* Remove cache file

* Removed eslintcache

* Attempt to make eslint run on travis

* Slow ng lint on travis

* Fixed eslint error
2022-02-09 08:40:04 +00:00
Antonio Felix
9b8ae32aad ACA-4565 - Temporary disabled failing tests (#2427)
* ACA-4565 - Temporary disabled failing tests

* ACA-4565 - Temporary disabled failing tests (added codes on the protractor.excludes.json

* ACA-4565 - Temporary disabled failing tests (added missing codes on the protractor.excludes.json)

* ACA-4565 - Temporary disabled failing tests (added missing codes on the protractor.excludes.json)

* ACA-4565 - Corrected Jira URL
2022-02-08 11:08:11 +00:00
Bartosz Sekuła
60e1d13bb7 [ACA-4546] Flaky ACA Library actions test (#2417)
* [ACA-4546] Flaky ACA Library actions test

* [ACA-4546] Flaky ACA Library actions test

* [ACA-4546] Update

* [ACA-4546] Update

* [ACA-4546] Update
2022-02-02 11:53:28 +01:00
Maurizio Vitale
056ff4b011 [AAE-6455] use tpl format instead of json and replace values (#2374)
* Use the tpl instead of json and replace values for build start and e2e

* Use different license file name to avoid conflicts

* use the travis value

* Use the general ng build and add doc
2021-12-07 15:38:01 +00:00
Dharan
5212a40278 [ACA-4511] search layout update (#2272)
* [ACA-4511] search layout update

* * separate description column

* * enable path and fix e2e

* * revert lock  changes
2021-08-26 11:34:26 +02:00
Vito
7d66579423 [ACA-4492] - Start restyling of search sorting (#2190)
* Started adding search sorting refactoring

* [ACA-4492] - attempt to fix e2e with new sorting menu

* [ACA-4436] - fixed linting

* [ACA-4436] - fixed linting

* fixed lint

* [ACA-4492] - fixed e2e with new sorting

* [ACA-4492] - fixed e2e with new sorting
2021-07-12 11:27:30 +02:00
Dharan
35289a95f2 [ACA-4507] Fix folder tests (#2227)
* [ACA-4507] Fix folder tests

* * wait for recent files

* * increase timeouts

* * fix comments

* * search untill found

* Revert: * wait for recent files (7be52b12)

* * update timeout

* * upload fixed and improve recent files
2021-07-08 17:25:47 +01:00
Maurizio Vitale
ab68f4f07e [search-2897] test new search (#2207)
* test new search

* run tests

* tslint fix - clean run

* rerun the e2e

* Remove '=' for Search 2.0 compatibility

* Use a travis setting to override the value

* use the default env updated by singlepipeline

Co-authored-by: iuliaib <iulia.burca@ness.com>
2021-07-02 10:12:44 +03:00