Commit Graph

425 Commits

Author SHA1 Message Date
Aayush Rohila
c6e54e20d0 [APPS-2170] Replace moment.js to date-fns in file-folder-properties.test.ts (#3417)
* [APPS-2170] replace moment.js to date-fns in file-folder-preoperties.ts

* [APPS-2170] date change

* [APPS-2170] Commit to run e2e

* [APPS-2170] e2e fix
2023-09-20 04:43:11 -04:00
Aayush Rohila
df8b08fd41 [APPS-2171][APPS-2172] Replace from moment.js to date-fns in search-filter.test and search-results-file-folders.test (#3421)
* [APPS-2171][APPS-2172] Replace from moment.js to date-fns in search-filter.test and search-results-file-folders.test

* [APPS-2171][APPS-2172] Update date

* [APPS-2171] test update

* [APPS-2171] test changes
2023-09-20 04:41:42 -04:00
Adam Zakrzewski
8f0e4dfc87 [ACS-5992] refactor api wrappers (#3425)
* [ACS-5992] refactor api wrappers

* code review fixes

* review siteVisibility fix

* deleting configs from index

* updating breadcrumb preconditions
2023-09-11 04:55:44 -04:00
Denys Vuika
9106608398 ESLint fixes and unified lint targets (#3424)
* optimise lint targets

* fix eslint config files

* fix app coverage settings

* tune eslint to warn about optional chains
2023-09-08 09:00:00 +01:00
Akash Rathod
e2ddd81cbc [ACS-5923] navigation breadcrumb playwright test (#3410)
* ACS-5870-playwright test for application

* fix for failing test

* fix for failing test

* fix for login secario test

* fix for login test with newuser login

* [ACS-5923] playwright breadcrumb test

* Update breadcrumb.spec.ts

* test fix

* test fix admin

* test fix admin

* test fix user folder

* test fix user test remove
2023-09-01 15:36:13 +01:00
Akash Rathod
ad36ed891b ACS-5870-playwright test for application (#3398)
* ACS-5870-playwright test for application

* fix for failing test

* fix for failing test

* fix for login secario test

* fix for login test with newuser login

* Update test username general.spec.ts
2023-08-28 11:26:13 -04:00
AleksanderSklorz
aec6852672 [ACS-5281] Changed editable state of metadata content based on change o… (#3400)
* ACS-5281 Changed editable state of metadata content based on change of file lock state

* ACS-5281 Updated versions

* ACS-5281 Reverted change

* ACS-5281 Upgrade version

* ACS-5281 Small correction

* ACS-5281 Fixed e2e
2023-08-27 10:00:35 +02:00
Akash Rathod
f8a30f3706 [ACS-5866] authentication playwright tests (#3391)
* viewer action files e2e migration

* viewer action files e2e remove comment

* review code fix

* [ci:force]

* [ACS-5650]viewer test with new user

* remove commented code

* login and logout playwright test

* Update error message login.spec.ts
2023-08-18 12:49:46 -04:00
Akash Rathod
9f1b8a0ac6 [ACS-5650] viewer user actions test (#3373)
* viewer action files e2e migration

* viewer action files e2e remove comment

* review code fix

* [ci:force]

* [ACS-5650]viewer test with new user

* remove commented code
2023-08-18 09:09:04 -04:00
Denys Vuika
b3aeca7bfd [ACS-5845] remove deprecated js-api compat mode (#3387) 2023-08-16 14:38:26 +01:00
Denys Vuika
27eddf3596 Code cleanup and optimisations (#3383)
* cleanup unused css

* remove unused store/reducer blocks

* fix typo in toolbar ("tool-bar")

* toolbar action: break dependency on adf-core

* unified toolbar component

* break dependency on adf toolbar module

* update e2e

* update e2e

* update e2e

* update e2e

* update e2e

* fix search results toolbar spacing

* cleanup unused app state

* cleanup unused code

* fix toolbar divider color

* fix missing buttons in the info drawer

* fix css nesting

* fix search results css
2023-08-14 19:43:33 +01:00
Akash Rathod
a1f0f0d38e [ACS-5786] info drawer comments test cleanup (#3378)
* cleamup changes

* remove cleanup tests
2023-08-09 09:13:31 -04:00
Akash Rathod
4cee6563f5 [ACS-5650] viewer action files e2e migration (#3367)
* viewer action files e2e migration

* viewer action files e2e remove comment

* review code fix

* [ci:force]
2023-08-03 17:29:10 +01:00
MichalKinas
26cd95ccbd ADF and JS-API version update (#3371)
* ADF and JS-API version update

* Update Creator and Modifier E2Es

* ACS-5632 Fixed rest e2e

* ACS-5632 Added missing spaces

---------

Co-authored-by: Aleksander Sklorz <Aleksander.Sklorz@hyland.com>
2023-07-28 12:01:05 +02:00
swapnil-verma-gl
174d7b61ee [ACS-4985] Added configuration to merge created and modified date filters into a single date filter (#3324)
* ACS-4985 Prepared configuration for created and modified dates in search

* [ACS-4985] Updated search filter configuration for ACA to include the new SearchDateRangeAdvancedTabbed component

* [ACS-4985] Added date-fns adapter to alfresco content app

* [ACS-4985] Added failing e2e test cases to protractor.excludes.json

* [ACS-4985] Removed unused Created Date/Modified Date entries from i18n files after rebase

* [ACS-4985] Removed .env-original (file not required)

* [ACS-4985] Updated protractor.excludes.json

* [ACS-4794][link-adf:feature/dev-mkinas-es-migration] Fix missed test case

* Revert "[ACS-4794][link-adf:feature/dev-mkinas-es-migration] Fix missed test case"

This reverts commit d1cd0ee3de.

* [ACS-4985] Empty commit to trigger finalise job

* Revert "[ACS-4794] Fix missed test case"

This reverts commit d1cd0ee3de.

---------

Co-authored-by: Aleksander Sklorz <Aleksander.Sklorz@hyland.com>
2023-07-28 13:11:11 +05:30
Grzegorz Jaśkowski
4019508f0f [ACS-5638] hide checkboxes in file lists (#3357)
* ACS-5638 hide checkboxes in file lists

* ACS-5838 change C279270 test not to use multiselect related function
2023-07-26 09:15:06 +02:00
Adam Zakrzewski
6d7287d668 refactoring for create folder tests (#3360)
* refactoring for create folder tests

* adding spinnerWaitForReload

* update optional
2023-07-24 14:19:17 +02:00
Denys Vuika
9204194e53 [ACS-5675] replace breadcrumbs with H1 tags (#3358)
* rename tabs css class to match the ACA app

* fix incorrect tooltip for close button

* fix close button layout and a11y

* lazy loading for details component

* replace breadcrumbs with H1 tag

* replace breadcrumbs with H1 tag

* cleanup unused playwright pages

* remove breadcrumbs from e2e

* remove line height
2023-07-21 10:42:23 +01:00
AleksanderSklorz
d3be553fd6 [ACS-5183] properties facet file size and file type (#3347)
* ACS-5183 Started updating configuration for file type and size

* ACS-5183 Corrected file extensions

* ACS-5183 Added more file extensions

* ACS-5183 Corrected configuration

* ACS-5183 Fix e2e

* ACS-5183 Added translation key

* ACS-5183 Changed jira for excluded e2es

* ACS-5183 Corrected import

* ACS-5183 Added license header
2023-07-20 08:38:34 +02:00
Akash Rathod
9a585c1642 [ACS-5604] viewer protected file test playwright (#3354)
* re-enable protracotr test

* viewer protected file tests

* remove navigate though pages
2023-07-19 16:56:03 -04:00
Adam Zakrzewski
4ded3b200d [ACS-5511] create library playwright tests (#3318)
* [ACS-511]-adding-library-tests

* updating tests and adding before and after all

* spinner timeouts update

* updating import statement

* update error locator

* adding random method in general utils

* [ACA-4715] break dependency on envsubst (#3325)

* remove BPM host

* break dependency on envsubst

* remove prebuild script

* cleanup package.json

* [ACS-511]-adding-library-tests

* adding lost MyLibrariesPage import

* rebase page initialization merge

* [ACS-511]-adding-library-tests

* comma deleted

* fix readability and indentation

* adding id to info drawer

* adding index and updating import

* updating after wrong rebase

* after rebase

* updating tests and adding before and after all

* updating import statement

* update error locator

* adding random method in general utils

* [ACS-511]-adding-library-tests

* comma deleted

* fix readability and indentation

* adding id to info drawer

* adding index and updating import

* next after rebase

* update delete in folder tests

* providing string as parameter

* after rebase

* updating tests and adding before and after all

* adding random method in general utils

* [ACS-511]-adding-library-tests

* comma deleted

* [ACS-511]-adding-library-tests

* adding index and updating import

* providing string as parameter

* delete protractor create-library tests

* update for calls in expect method

* bump to 4.2.0 (#3334)

* adding random method in general utils

* adding index and updating import

* providing string as parameter

* after rebase

* providing string as parameter

* update for tests C280026 and C280027

* raising time for visibility check

* quotes change in error strings

* adding waitFor method

* raising timeout in isErrorMessageDisplayed method

* updating mat-error locator

* adding press tab after fill

* update general-utils to utils for random

* updating label typo

---------

Co-authored-by: Denys Vuika <denys.vuika@gmail.com>
2023-07-18 09:28:54 +02:00
Akash Rathod
5abbda78a3 [ACS-5519] viewer-general tests Playwright (#3327)
* [ACS-5519] view general tests Playwright

* [ACS-5519] remove same function call
2023-07-11 18:54:58 +01:00
Adam Zakrzewski
f54ba92f77 [ACS-5585] add direct api-client-factory call in tests (#3323) 2023-07-10 10:12:51 -04:00
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