100 Commits

Author SHA1 Message Date
Adam Świderski
489a84735a
[ACS-5882] infoDrawer comments tests migrated to Playwright (#3615)
* [ACS-5882] infoDrawer comments tests migrated to Playwright

* [ACS-5882] Update string names

* [ACS-5882] fixed issues from pull request comments

* [ACS-5882] 2nd part of fixed issues from pull request comments

* [ACS-5882] added Promise void functions without return

* [ACS-5882] Small naming fixes

* [ACS-5882] excluding 2 tests - BE issue

* [ACS-5882] Fixed one test
2024-02-02 16:43:40 +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
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
487c5ef62d
cleanup env variables (#3583) 2024-01-08 17:05:10 +00:00
Akash Rathod
bc83c78b68
[ACS-6437] added new test migration (#3581) 2024-01-03 11:54:42 -05:00
Akash Rathod
5bb7c210a5
[ACS-6535]add e2e test suite for copy-move-actions (#3576)
* add e2e test suite for copy-action

* code fix

* [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

* rebase

* code fix

* code fix

---------
2024-01-02 15:11:22 +05:30
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
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
DominikIwanek
683138ced1
[ACS-6369] - ACA on multi select file/folder permisstion menu should not be shown (#3571) 2023-12-22 15:53:23 +01:00
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
Adam Zakrzewski
6bcca76646
[ACS-5678] update create folder from template tests (#3564) 2023-12-18 17:29:20 +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
swapnil-verma-gl
34c8976af6
[ACS-6211] Resolved UI alignment issue in create rule dialog (#3505)
* [ACS-6211] Resolved UI alignment issue in create rule dialog

* [ACS-6211] Changed appearance of mat-select form field to standard to match with other action form fields

* [ACS-6211] Fixed unit tests

* [ACS-6138] Updating ADW Styling after ACA changes for angular material - Expansion panel items

* [ACS-6211] Fixed failing E2E
2023-12-06 13:36:00 +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
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
Mykyta Maliarchuk
7c95b53c8b
[ACS-6081] Reduce references to internal Angular material CSS classes (#3534)
* [ACS-6081] Reduce references to internal Angular material CSS classes

* [ACS-6081] rollback default scrollable value [ci:force]

* [ACS-6081] linting

* [ACS-6081] fix e2es

* [ACS-6081] cr fix

* [ACS-6081] remove adf-cli logger from e2es
2023-11-24 14:59:57 +01: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
Adam Zakrzewski
7a0d21cfd2
[ACS-5688] create folder tests update (#3519)
* [ACS-5688] create folder tests update

* fixes for comments

* short expression
2023-11-14 15:44:08 +01: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
Adam Zakrzewski
336047318a
[ACS-5511] create library tests update (#3516)
* [ACS-5511] create library tests update

* updates from commands
2023-11-13 14:10:34 +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
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
AleksanderSklorz
7ae335c3d2
[ACS-5647] rework template of library metadata form component (#3487)
* ACS-5647 Removed template for view mode and used template for edit mode instead

* ACS-5647 Fixed auto focus for name field

* ACS-5647 Reverted data automation id

* ACS-5647 Corrected unit tests

* e2e fix for library details

---------

Co-authored-by: akash.rathod@hyland.com <akash.rathod@hyland.com>
2023-10-24 22:29:59 +02:00
AleksanderSklorz
bc98af0968
[ACS-6078] Fixed layout for create from template component (#3467)
* ACS-6078 Fixed layout for create from template component

* ACS-6078 Added selector

* ACS-6078 Custom class instead of mat class

* ACS-6078 Used component selector

* ACS-6078 Removed unused styles

* ACS-6078 Fixed e2e

* ACS-6078 Empty commit
2023-10-12 08:19:22 +02: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
MichalKinas
6edbb57dc4
[ACS-5601] Add badges to custom name column (#3450)
* [ACS-5601] Add badges to name column component

* [ACS-5601] Add on click handler to column badges

* [ACS-5601] Fix badge hover color

* [ACS-5601] Restore modal configuration, prettier fixes

* [ACS-5601] Add missing tooltip translation

* [ACS-5601] Add process content services to extension service

* [ACS-5601] Add adf dynamic component to custom name column

* [ACS-5601]  Add missing dosc and unit tests

* [ACS-5601] Post rebase package lock update

* [ACS-5601] CR fixes

* [ACS-5601] Unit test fix

* [ACS-5601] CR fix

* [ACS-5601] Fix unit test, add contrast gray to badges

* [ACS-5601] fix fail test and exclude one test

* [ACS-5601] fix fail test and exclude one test

---------

Co-authored-by: akash.rathod@hyland.com <akash.rathod@hyland.com>
2023-10-04 09:12:52 +02: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
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
MichalKinas
b086093c2f
Use latest JS-API and ADF (#3423)
* Update JS-API and ADF versions to latest

* Fix missing types

* Fix incorrect types

* Use correct method to get membership requests
2023-09-08 04:10:00 -04: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
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
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
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
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
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
Denys Vuika
7ab4cc5e53
[ACA-4715] break dependency on envsubst (#3325)
* remove BPM host

* break dependency on envsubst

* remove prebuild script

* cleanup package.json
2023-07-11 08:39:17 +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
6b003eff1f
[ACA-4715] upgrade to latest ADF alphas and cleanup env vars (#3312)
* use latest ADF alphas

* use latest ADF alphas

* use ECM provider by default

* use BASIC auth by default

* defaults for oauth host

* remove unused vars
2023-07-05 19:46:50 +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 651070040bcbd8eade64586239274a76bb618582.

* 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
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