Commit Graph

48 Commits

Author SHA1 Message Date
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
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
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
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
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
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