19 Commits

Author SHA1 Message Date
Adam Świderski
93cf1b9198
[ACS-6798] protractor to playwright e2e test suites search results libraries (#3690)
* [ACS-6798] seach results libraries migrated

* [ACS-6798] added infoDrawer and search to PW tests in PRs

* [ACS-6798] excluded tests + sonar fix

* [ACS-6798] sonar fix 2

* [ACS-6798] sonar fix 3

* [ACS-6798] sonar fix 3

* [ACS-6798] login and delete methods added to Utils for sonar cloud duplication code

* [ACS-6798] review fixes

* Revert "[ci:force][auto-commit] Update dependencies ADF:6.8.0-8186121470  JS:7.7.0-8186121470 (#3693)"

This reverts commit 29b1bf99d4ff8734342b94907d6bb2676a407e2e.

* Revert "Release 4.4.1 (#3688)"

This reverts commit 6dd3ad66d0d96054beb4f70fee5b2b550cc23efc.

* [ACS-6798] review fixes pt2

* [ACS-6798] review fixes pt 3

* [ACS-6798] review fixes pt4

* [ACS-6798] review fixes pt4.1
2024-03-08 10:58:19 +01:00
Adam Świderski
89f12dc731
[ACS-6797] search general migrated from Protractor to Playwright (#3674)
* ACS-6797 search general migrated v1

* [ACS-6797] SonarCloud fix + test name update

* [ACS-6797] Tests fixed and passing

* [ACS-6797] Old protractor tests deleted from yml file
2024-02-29 14:21:32 +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
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
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
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
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
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
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
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
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
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
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