Commit Graph

67 Commits

Author SHA1 Message Date
tomson
dd8f97afc1 [MNT-24034] Display updated properties after edit folder in dialog (#3671) 2024-04-11 09:38:42 +02:00
Adam Świderski
d9391bef51 [ACS-7453] updated license header to 2024 (#3747)
* [ACS-7453] updated license header to 2024

* [ACS-7453] Updated the rest of licenses manually to 2024

* [ACS-7453] review changes
2024-03-29 12:35:49 +01:00
Adam Świderski
96a5542fe4 [ACS-7267] The rest of list-views tests migrated to Playwright (#3711) 2024-03-19 09:40:44 +01:00
Akash Rathod
227f3fb996 [ACS-6437] viewer e2e test migrate to playwright (#3704)
* rebase

* [ACS-6437] view protractor migrate to playwright

* [ACS-6437] review changes

* [ACS-6437] review changes
2024-03-15 14:17:20 +01:00
Adam Świderski
8512e42ece [ACS-6799] Search sorting tests migrated to Playwright (#3705)
* [ACS-6799] search sorting migrated to Playwright

* [ACS-6799] review fixes 1

* [ACS-6799] cloudflare fix 1

* [ACS-6799] cloudflare fix 2

* [ACS-6799] review fixed 2

* [ACS-6799] sonarcloud fix 3
2024-03-14 12:13:03 +01:00
Akash Rathod
c883e16d2b [ACS-6907] enable exclude test (#3676)
* [ACS-6907] enable exclude test

* [ACS-6907] test fix

* [ACS-6907] test fix

* remove hruser dependancy

* remove protractor duplicate tests

* review fix
2024-03-04 17:06:06 +05:30
Mykyta Maliarchuk
3f182a5a68 [ACS-5994] Remove redundant deleteNodes method from e2e (#3587)
* [ACS-5994] remove redundant deleteNodes method [ci:force]

* [link-adf:dev-mmaliarchuk/ACS-5994-fix-jsApi-deleteNodes][affected:*][ci:force]

* rebase
2024-02-20 13:01:52 +01:00
MichalKinas
4766bfe707 [ACS-6427] Add search highlighting (#3637)
* [ACS-6427] Initial commit for search highlights

* [ACS-6427] Add correct highlighting config, handle highlights in search results

* [ACS-6427] CR fixes

* [ACS-6427] CR fix

* [ACS-6427] Locator fix

* [ACS-6427] E2E fix

---------

Co-authored-by: swapnil.verma <swapnil.verma@globallogic.com>
2024-02-15 16:26:09 +01:00
Adam Świderski
16839a87f5 [ACS-6680] Deleted protractor tests (#3635) 2024-02-09 13:08:33 +01:00
Adam Świderski
c968c1cb7f [ACS-6688] excluding & fixing failing tests (#3624)
* [ACS-6688] excluding excluded tests

* [ACS-6688] Shortened notes for excluded tests

* [ACS-6688] New patch of excluded tests

* [ACS-6688] few more excluded + one test fixed + timeout longer for library actions

* [ACS-6688] added longer timeout for github actions failing test

* exclude user test fix in ACS-6699

* [ACS-6688] Next patch of fixed tests

* [ACS-6688] last batch of excludes and one test fix

* [ACS-6688] Trash Admin fix

* [ACS-6688] .only deleted from trash admin test

* [ACS-6688] Reverted the global-variables.ts file changes

* [ACS-6688] small fixes

* [ACS-6688] spaces changed

* [ACS-6688] trash admin test excluded

---------

Co-authored-by: akash.rathod@hyland.com <akash.rathod@hyland.com>
2024-02-02 13:22:32 +01:00
MichalKinas
d0484edd58 Post ES migration fixes (#3611)
* Post ES migration fixes

* Restore failing check

* searcg test fix

* Exclude flaky test case

* Exclude another test case as sorting by relevance doesn't seem to work with ES

---------

Co-authored-by: akash.rathod@hyland.com <akash.rathod@hyland.com>
2024-01-25 22:14:48 +01:00
Denys Vuika
dbe724552f [ACS-6572] break dependency on adf-testing (#3594)
* remove Logger dependency

* remove BrowserVisibility dependency

* remove BrowserActions dependency

* remove ViewerPage dependency

* remove ApiUtil dependency

* remove StringUtil dependency

* remove adf-testing dependency

* bug fixes
2024-01-11 14:02:58 +00:00
Denys Vuika
09aba59b06 [ACS-6563] cleanup protractor configs and e2e for extensibility (#3591)
* cleanup extensibility configs and protractor e2e

* cleanup

* cleanup
2024-01-10 09:09:11 -05:00
Akash Rathod
bc83c78b68 [ACS-6437] added new test migration (#3581) 2024-01-03 11:54:42 -05:00
Kritagya Jaiswal
6b18b631ae [ACS-6457] Migrated unshare-file e2es to playwright (#3575)
* [ACS-6457] Migrated unshare-file e2es to playwright

* Removed only

* [ACS-6457] Removed protractor file

* Updated timeout

* Updated timeout

* Removed clickClose method

* Addressed review comments

* Addressed review comments

* Created a separate test suit for share-actions

* Remove only
2023-12-28 11:54:32 +05:30
Anukriti Singh
90c69b207c [ACS-5645] Property Panel Feature (#3477)
* [ACS-5540] changes for edit aspect button

* added aspect edit button

* [ACS-5540]fixed unit test cases and added unit test cases

* [ACS-5540] Modified changes

* [ACS-5540] fixed file lock issue

* [ACS-5645]Implemented changes as per review comments

* [ACS-5540]Modified the test case title

* [ACS-5645] changes for aspect icon

* [ACS-5645] fixed aspect lock issue in small screen

* [ACS-5540] modified the aspect button changes

* [ACS-5540] modified the changes

* [ACS-5645] added unit test cases

* [ACS-5540] removed unwanted code

* [ACS-5540] fixed lock-file bug

* [ACS-5540] revert the unwanted changes

* [ACS-5540] modified changes

* [ACS-5540]Implemented the changes as per the review comments

* [ACS-5540] added group lock changes

* [ACS-5540] added tooltip

* [ACS-5540] Implemented the review comments

* [ACS-5540] added tooltips

* [ACS-5540] Added styles

* [ACS-5540]Added focus

* [ACS-5551]updated property panel design

* [ACS-5551]added null checks

* [ACS-5551] update style

* [ACS-5540] changes for edit aspect button

* added aspect edit button

* [ACS-5540]fixed unit test cases and added unit test cases

* [ACS-5540] Modified changes

* [ACS-5645]Implemented changes as per review comments

* [ACS-5645] changes for aspect icon

* [ACS-5540] modified the aspect button changes

* [ACS-5540] modified the changes

* [ACS-5540] revert the unwanted changes

* [ACS-5540] added group lock changes

* [ACS-5551]updated property panel design

* [ACS-5551]added null checks

* [ACS-5551] update style

* [ACS-5551] name updated

* [ACS-5551] unit test fix

* [ACS-5551] header issue fixed

* [ACS-5645] style updated

* [ACS-5645] border updated

* [ACS-6117] fixed aspect dispaly issue

* [ACS-5645] different node open issu fixed

* [ACS-5645] unit test issue fix

* [ACS-5645] unit test fix

* [ACS-5645] tabs design modify

* [ACS-5645] dependency updated

* [link-adf:ACS-564
5-property-panel-feature] test linking

* "[link-adf:ACS-5645-property-panel-feature]"

* [ACS-5645] revert adf linking changes

* add adf configs to libs

* fix issue with empty paths

* try using adf target

* [link-adf:ACS-5645-property-panel-feature] fix core mapping

* [link-adf:ACS-5645-property-panel-feature] revert target changes

* remove useless styles

* remove css hacks

* cleanup useless properties

* remove useless properties

* remove useless code

* [ACS-5645] added missing code

* [ACS-5654] add icon for full screen

* [ACS-5654] nodei con methods moved to thumbnail

* [ACS-5654] unit test added and code refactor

* [ACS-5645] unit test added

* [ACS-5645] panel issue fix

* [ACS-5645] removed unit test for editable property

* [ACS-5645] removed unused unit test

* [ACS-5645] unit test updated

* [ACS-5645] updated the unit test

* Modified the unit test cases for getNodeIcon

* Upsteam ADF-6.6.0-7287333895, Js-api-7.5.0-7287333895 version

* Fix failing test cases

* Fix failing e2e

---------

Co-authored-by: Yasa-Nataliya <yasa.nataliya@globallogic.com>
Co-authored-by: pkundu <priyanka.kundu@hyland.com>
Co-authored-by: Denys Vuika <denys.vuika@gmail.com>
Co-authored-by: rbahirsheth <raviraj.bahirsheth@globallogic.com>
2023-12-27 10:26:11 +05:30
swapnil-verma-gl
339dc60d6d [ACS-6107] Updated default configuration for date-range component to be compatible with the new advanced search date range component (#3532)
* [ACS-6107] Updated default configuraiton for date-range component in extensions to match the required config for the new date range component

* [ACS-6107] Updated E2Es to remove references to old date-range component

* [ACS-6107] Restored missing column key
2023-12-26 11:14:33 +05:30
SheenaMalhotra182
373a41bd16 [ACS-6456] Migrated Share File e2es to Playwright (#3565)
* [AACS-6456] migrated share-file e2es to playwright

* [ACS-6456] fixed code smells and removed duplication

* [ACS-6456] cleanup, addressed review comments

* [ACS-6456] addressed review comments

* [ACS-6456] added return types, fixed typos
2023-12-23 01:07:48 +05:30
Akash Rathod
7465bbbf6d [ACS-6510] playwright List View e2e test (#3566)
* [ACS-6435] playwright e2e for list views personal files

* e2e test for trash page

* e2e test for trash page

* e2e test for file-libraries page

* e2e test for file-libraries page fix

* e2e test for file-libraries page fix

* e2e test shared recent  page

* e2e test shared recent  page fix

* e2e test review comment fix

* e2e test review fix flaky test fix

* e2e test fail test fix

* e2e test fail  fix

* test code fix

* protractor list-view test enable

* [ACS-6510] listview playwright e2e test

* code fix

* code fix

* code fix

* code fix

* code fix

* code fix

* code fix for review

* code fix for review
2023-12-22 09:36:32 +01:00
Akash Rathod
8b412b28f9 [ACS-6435] playwright e2e for list views personal files (#3551)
* [ACS-6435] playwright e2e for list views personal files

* e2e test for trash page

* e2e test for trash page

* e2e test for file-libraries page

* e2e test for file-libraries page fix

* e2e test for file-libraries page fix

* e2e test shared recent  page

* e2e test shared recent  page fix

* e2e test review comment fix

* e2e test review fix flaky test fix

* e2e test fail test fix

* e2e test fail  fix

* test code fix

* protractor list-view test enable
2023-12-11 11:07:13 -05:00
swapnil-verma-gl
f917a663b7 [ACS-5014] Migrated Copy Move actions E2Es from protractor to playwright (#3531)
* [ACS-5014] Added Playwright E2E tests for copy-move actions

* [ACS-5014] Fixed missing import in tsconfig.e2e.json

* [ACS-5014] Removed unneeded method from utils.ts

* [ACS-5014] Updated playwright.config.ts

* [ACS-5014] Copy and Move tests are now working

* [ACS-5014] Removed unneeded test.only

* [ACS-5014] Added test case IDs to E2E tests

* [ACS-6211] Removed TODO note. Removed protractor test case files

* [ACS-5014] Added E2E tests for Destination Picker in copy-move actions

* [ACS-5014] Removed unneded only from test suite

* [ACS-5014] Updated import of logger from @alfresco/adf-cli to @alfresco/adf-testing

* [ACS-5014] Addressed code review findings. Moved objects to beforeAll/beforeEach wherever applicable. Added missing await.

* [ACS-5014] Addressed code review findings. Removed unused methods/objects from content-node-selector-dialog.ts

* [ACS-5014] Addressed code review findings. Removed unused methods/objects from content-node-selector-dialog.ts

* [ACS-5014] SonarLint fix

* [ACS-5014] Fixed breaking change for other E2Es

* [ACS-5014] Updated E2Es to use correct locator for more actions button
2023-12-06 16:01:48 +05:30
SheenaMalhotra182
78b1e3e460 [ACS-6443] cleanup for redundant e2es and unused methods (#3547)
* [ACS-6443] removed redundant e2es and unused methods

* [ACS-6443] cleanup

* [ACS-6443] cleanup

* [ACS-6443] undo cleanup

* [ACS-6443] linting fix

* [ACS-6443] cleanup

* [ACS-6443] cleanup

* [ACS-6443] addressed review comments
2023-12-01 13:33:23 +05:30
Adam Zakrzewski
1b55de018b [ACS-5018] library actions protractor tests (#3545)
* [ACS-5018] library actions protractor tests

* updating type and timeout

* implementing reviews comments
2023-11-29 19:09:07 +01:00
SheenaMalhotra182
509ab55508 [ACS-6235] Migrated E2Es in favorites.ts file to Playwright (#3539)
* [ACS-6235] migrated e2es to playwright

* [ACS-6235] migrated e2es to playwright

* [ACS-6235] addressed review comments
2023-11-28 04:40:14 -05:00
Akash Rathod
fef55a3f73 [ACS-5923] remove navigation protractor e2e test (#3541) 2023-11-28 04:36:18 -05:00
Akash Rathod
c086bf2023 [ACS-6367] action available e2e remove (#3540)
* [ACS-6367] action available e2e remove

* [ci:force]

* Revert "[ACS-6367] action available e2e remove"

This reverts commit 0a92a383459797f970ea397c30bfb3350ba1ebeb.

* [ACS-6367] action available e2e remove
2023-11-27 09:43:55 -05:00
Akash Rathod
b988874df1 [ACS-6398] folder action-available e2e test (#3537)
* [ACS-6398] folder action-avilable test

* review changes

* review changes

* review changes
2023-11-27 12:04:55 +01:00
Akash Rathod
7468111d19 [ACS-6368] remove special permissions e2e test (#3536) 2023-11-24 11:04:54 +00:00
Kritagya Jaiswal
f705c462be [ACS-6239] Migrated personal files of pagination suit to playwright (#3528)
* [ACS-6239] Migrated personal files of pagination suit to playwright

* [ACS-6239] Remove only

* Added path in json file

* [ACS-6239] Addressed review comments

* [ACS-6239] Addressed review comments

* [ACS-6239] Removed material classes and used roles for test cases

* Addressed review comments
2023-11-23 13:37:03 +00:00
Akash Rathod
4877a0549b [ACS-6066 ] playwright e2e other permissions (#3510)
* ACS-6066 other permissions test

* ACS-6066 other permissions test remove protractor

* ACS-6066 other permissions test remove protracto

* ACS-6066 other permissions remove code Duplicate

* ACS-6066 other permissions rebase

* ACS-6066 other permissions code cleanup

* code fix and remove protractor test

* review code fix

* review code fix

* fail test code fix
2023-11-14 12:32:24 +01:00
MichalKinas
c9e0f7abe6 [ACS-4794] ES migration PR (#3359)
* [ACS-4794] Change migration affected queries

* [ACS-4794] Use acadev-es for PR workflow

* [ACS-4974] Remove * from path as it causes exception

* [ACS-4794] Fix search input

* [ACS-4794] Correct search term, correct Playwright url

* [ACS-4794][link-adf:feature/dev-mkinas-es-migration] Fix pagination and sorting search terms

* [ACS-4794][link-adf:feature/dev-mkinas-es-migration] Fix actionsAvailableFilesFolders and actionsAvailableSpecialPermissions

* [ACS-4794][link-adf:feature/dev-mkinas-es-migration] Empty commit

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

* [ACS-4974] Reverted searchFor calls in single-file-actions.test.ts back to original state without *

* [ACS-4974] Fix card view item import

* [ACS-4974] Add PATH as a workaround for PNAME and QNAME

* [ACS-4974] [link-adf:feature/dev-mkinas-es-migration] Temporary exclude ADF linking from unit tests

* [ACS-4974] [link-adf:feature/dev-mkinas-es-migration] Test on acadev

* [ACS-4974] [link-adf:feature/dev-mkinas-es-migration] Bring acadev-es back

* [ACS-4974] [link-adf:feature/dev-mkinas-es-migration] E2E fix

* [ACS-4974] Add workaround for repository site option

* [ACS-4974] Exclude failing case which works manually

* [ACS-4974] Check changes on regular acadev

* [ACS-4974] Exclude flaky test case

* [ACS-4974] E2E fix

---------

Co-authored-by: swapnil-verma-gl <92505353+swapnil-verma-gl@users.noreply.github.com>
2023-11-14 08:26:08 +01:00
Adam Zakrzewski
779e4e4b05 [ACS-6269] create file from template tests (#3509)
* [ACS-6269] create file from template tests

* applying shorten expression
2023-11-07 17:35:04 +01:00
Adam Zakrzewski
ed4d2cfc26 [ACS-5678] delete protractor tests create folder from template (#3507)
* [ACS-5688] delete protractor create folder tests

* [ACS-5678] delete protractor excluded tests

* delete from excluded list
2023-11-06 10:25:03 -05:00
Adam Zakrzewski
76c7239e45 [ACS-5688] delete protractor create folder tests (#3506) 2023-11-06 10:24:25 -05:00
MichalKinas
69c00fc403 Sonarcloud issues fixes (#3499)
* Sonarcloud issues fixes

* Code smell fixes

* Refactoring to remove new code duplications

* Sonarcloud code smell fixes part I

* Sonarcloud code smell fixes part II

* Missing code smell fix

* Add new ESLint rules to cover fixed SonarCloud issues

* Add missing command

* Add missing is existing check
2023-11-03 06:43:06 -04:00
Akash Rathod
ddb2638220 [ACS-6191] remove e2e test on search filter (#3493) 2023-10-25 06:54:06 -04:00
Akash Rathod
9b2cf2bbf1 [ACS-6185 ] infoDriver test fix. (#3490)
* infoDriver test fix

* infoDriver test excluded

* infoDriver test delete
2023-10-24 08:29:18 +02:00
Akash Rathod
f50dfe9dca [ACS-6106] fix delete in after all (#3489)
* fix delete in after all

* fix delete in after all
2023-10-23 14:47:14 +02:00
pkunduGL
102b62207f [APPS-2170] Replace moment.js to date-fns in file-folder-properties.test.ts (#3463) 2023-10-11 12:04:53 -04:00
Denys Vuika
18542ebf8b migrate to nx 16 (#3465)
* migrate to nx 16

* lock file
2023-10-05 12:12:54 -04:00
Akash Rathod
f2d09e8b1a [ACS-6066] viewer special permissions playwright (#3453)
* [ACS-5923] sidenav and singleclick test

* [ACS-5923] remove protractor test and fix flaky test

* [ACS-5923] test fix

* [ACS-5639] fix exclude test  in viewer

* [ACS-5923] remove exclude test and fix test

* [ACS-6066] viewer special permissions playwright test

* [ACS-6066] viewer protractor test remove

* [ACS-6066] viewer failed test fix

* [ACS-5923] review changes added

* [ACS-5923] fix error in script
2023-10-05 12:19:57 +02:00
Aayush Rohila
72c6ad0f86 [APPS-2171][APPS-2172] Migration from moment to date-fns (#3459) 2023-10-04 09:44:24 -04:00
Adam Zakrzewski
33c50bdd68 [ACS-5678] create folder from template tests (#3456)
* [ACS-5678] create folder from template tests

* taking out only flag

* fixes for linter, import, method name and locator

* fix import and utils strings
2023-10-02 11:03:29 -04:00
Akash Rathod
be761bae7d [ACS-5639] fix viewer exclude test from protractor and playwright (#3443)
* [ACS-5923] sidenav and singleclick test

* remove protractor test and fix flaky test

* test fix

* [ACS-5639] fix exclude test  in viewer

* remove exclude test and fix test
2023-09-25 17:39:16 +01:00
Akash Rathod
97f01386f8 [ACS-5923] playwright sidenav and single click test (#3442)
* [ACS-5923] sidenav and singleclick test

* remove protractor test and fix flaky test

* test fix

* Update error message for expect
2023-09-25 12:00:22 +01:00
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
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