140 Commits

Author SHA1 Message Date
Katarzyna Kita
7982c1e7e7
ACS-7335 Migrated e2e search filters - location () 2024-04-16 10:52:23 +02:00
Adam Świderski
1b98bed18f
[ACS-7334] [E2E] Search filters - date - tests migrated to Playwright ()
* [ACS-7334] [E2E] Search filters - date - tests migrated to Playwright

* [ACS-7334] sonar cloud fix 1

* [ACS-7334] review fix 1

* [ACS-7334] review fix 2
2024-04-15 13:44:11 +02:00
Adam Świderski
0cac392bdc
[ACS-7304] [E2E] beforeEach and afterAll hooks updated for special permissions tests ()
* [ACS-7304] beforeEach and afterAll hooks updated for special permissions tests

* [ACS-7304] readded hruser and admin to config
2024-04-09 14:59:16 +02:00
Adam Świderski
ab88987e06
[ACS-7362] Search general tests migrated to Playwright () 2024-04-08 08:29:05 +02:00
Grzegorz Jaśkowski
4408eb4489
[ACS-7311] add no-angular-material-selectors eslint rule ()
* [ACS-7311] add no-angular-material-selectors rule, fix errors

* [ACS-7311] fix faulty unit tests
2024-04-04 16:45:06 +02:00
Adam Świderski
2f9cc8075f
[ACS-7333] [E2E] search filters - properties tests migrated to Playwright ()
* [ACS-7333] [E2E] search filters - properties tests migrated to Playwright

* [ACS-7333] review fix 1

* [ACS-7333] review fix 2

* [ACS-7333] review fix 3

* [ACS-7333] [E2E] search filters - properties tests migrated to Playwright
2024-04-04 11:57:45 +02:00
Katarzyna Kita
e2979410b3
[ACS-7364] Changed getRowsCount&getNthRow method not to count header row ()
* Changed getRowsCount method not to count header row

* Removed commented code

* Fixed missing empty line

* Fixed getNthRow method usage
2024-04-02 08:34:13 -04:00
Adam Świderski
38050d1081
[ACS-7303] beforeEach and afterAll updated for share-action tests ()
* [ACS-7303] beforeEach and afterAll updated for share-action tests

* [ACS-7303] deleted .only
2024-03-29 12:44:43 +01:00
Adam Świderski
d9391bef51
[ACS-7453] updated license header to 2024 ()
* [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
132ce1f75e
[ACS-7451] playwright eslint plugin introduced () 2024-03-29 11:42:58 +01:00
Katarzyna Kita
f30fcbf693
[ACS-7332] Added Playwright tests for Search - Filters - Logic ()
* Added PW tests - Search - Filters - Logic
2024-03-29 08:52:30 +01:00
Adam Świderski
a20f8d9ac8
[ACS-7360] aca playwright e2e file name rename with .e2e.ts extension ()
* [ACS-7360] authentication updated to e2e.ts

* [ACS-7360] copy-move-actions tests updated to e2e.ts

* [ACS-7360] create-actions tests updated to e2e.ts

* [ACS-7360] folder-rules tests updated to e2e.ts

* [ACS-7360] info-drawer tests updates to e2e.ts

* [ACS-7360] library-actions tests updated to e2e.ts

* [ACS_7360] list-views tests updated to e2e.ts

* [ACS-7360] navigation tests updated to e2e.ts

* [ACS-7360] pagination tests updated to e2e.ts

* [ACS-7360] search tests updated to e2e.ts

* [ACS-7360] share-actions tests updated to e2e.ts

* [ACS-7360] special-permissions tests updated to e2e.ts

* [ACS-7360] viewer tests updated to e2e.ts

* [ACS-7360] replaced every .spec.ts and .test.ts with .e2e.ts

* [ACS-7360] undo .spec.ts chages for non test files

* [ACS-7360] hardcoded credentials sonarcloud fix 1

* [ACS-7360] hardcoded credentials sonarcloud fix 2
2024-03-27 15:27:56 +01:00
Adam Świderski
dd17437fce
[ACS-7301] beforeEach and afterAll refactored for pagination tests () 2024-03-27 11:09:50 +01:00
Adam Świderski
3bec4abe4f
[ACS-7300] beforeEach and afterAll refactored for navigation tests () 2024-03-27 10:39:44 +01:00
Adam Świderski
d6e6c41a2e
[ACS-7298] beforeEach and afterAll updated for list-views ()
* [ACS-7298] beforeEach and afterAll updated for list-views

* [ACS-7298] 'only' deleted
2024-03-27 10:18:08 +01:00
Adam Świderski
2046630f58
[ACS-7295] create actions - beforeEach and afterAll refactored ()
* [ACS-7295] create actions beforeEach and afterAll refactored

* [ACS-7295] review fix 1

* [ACS-7295] review fix 2
2024-03-25 16:07:01 +01:00
Katarzyna Kita
b44beeb877
Changed beforeEach, small 'random' cleanup () 2024-03-25 11:51:38 +01:00
Adam Świderski
184f521e7b
[ACS-7294] Updated hooks - copy-move-actions ()
* [ACS-7294] Updated hooks - copy-move-actions

* [ACS-7294] fixed one comments test
2024-03-22 10:19:05 +01:00
dependabot[bot]
76f83da505
Build(deps-dev): Bump @playwright/test from 1.37.1 to 1.42.1 ()
* Build(deps-dev): Bump @playwright/test from 1.37.1 to 1.42.1

Bumps [@playwright/test](https://github.com/microsoft/playwright) from 1.37.1 to 1.42.1.
- [Release notes](https://github.com/microsoft/playwright/releases)
- [Commits](https://github.com/microsoft/playwright/compare/v1.37.1...v1.42.1)

---
updated-dependencies:
- dependency-name: "@playwright/test"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* Playwright 1.42.1 upstream - fixed info-drawer tests

* Playwright 1.42.1 upstream - fixed copy-move-actions tests

* @datguychen
Playwright 1.42.1 upstream - fixed library-actions tests

* Playwright 1.42.1 upstream - SonarCloud fix 1

* Playwright 1.42.1 upstream - review fix 1

* Playwright 1.42.1 upstream - review fix 2

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: datguychen <adam.swiderski@hyland.com>
2024-03-21 11:26:52 +01:00
Adam Świderski
96a5542fe4
[ACS-7267] The rest of list-views tests migrated to Playwright () 2024-03-19 09:40:44 +01:00
Akash Rathod
227f3fb996
[ACS-6437] viewer e2e test migrate to playwright ()
* 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 ()
* [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
Katarzyna Kita
c572dde261
[ACS-6954] Refactor Search Playwright tests - move search actions to searchOverlay component ()
* Refactored search playwright tests moved search actions to search overlay component
2024-03-12 12:55:02 +01:00
Katarzyna Kita
f63d5073f4
[ACS-6954] Refactored search playwright tests ()
* Refactored search playwright tests
2024-03-12 10:15:17 +01:00
Katarzyna Kita
b5d2193416
ACS-6796 Search results files&folders tests migration to Playwright ()
* Migrated tests for Search - files & folders
2024-03-11 11:16:44 +01:00
Adam Świderski
93cf1b9198
[ACS-6798] protractor to playwright e2e test suites search results libraries ()
* [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 ()"

This reverts commit 29b1bf99d4ff8734342b94907d6bb2676a407e2e.

* Revert "Release 4.4.1 ()"

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
Akash Rathod
c883e16d2b
[ACS-6907] enable exclude test ()
* [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
Katarzyna Kita
73726a8d39
[ACS-6795] Search Input tests migrated to Playwright ()
* Added Playwright tests for search - input
2024-03-04 08:50:22 +01:00
Adam Świderski
89f12dc731
[ACS-6797] search general migrated from Protractor to Playwright ()
* 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
Katarzyna Kita
799ff8b74b
[ACS-6791] Restore&fix excluded tests ()
* Removed tests from excluded, small fixes
2024-02-21 13:57:06 +01:00
Katarzyna Kita
1400545c2d
[ACS-6668] [ACS-6669] e2e migration - Info Drawer general and library properties tests ()
*[ACS-6668] [ACS-6669] e2e migration - Info Drawer general and library properties tests 
---------
Co-authored-by: datguycheb <adam.swiderski@hyland.com>
2024-02-13 09:58:45 +01:00
Adam Świderski
1a30b4bd6b
[ACS-6667] file preview test migrated from Protractor to Playwright ()
* [ACS-6667] file preview test migrated

* [ACS-6667] SonarCloud fix 1

* [ACS-6667] Pull Request fixes
2024-02-08 11:26:27 +01:00
Akash Rathod
13566d4f28
[ACS-6732] Manual upstream changes ()
* upstream changes

* upstream changes

* upstream changes

* ACS-6710 failing e2e on gha
2024-02-07 20:41:17 +05:30
Adam Świderski
382486463b
[ACS-6666] e2e migration for info drawer file folder properties tests ()
* [ACS-5882] infoDrawer comments tests migrated to Playwright

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

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

* [ACS-6666] E2E test migration - infoDrawer - File Folder Properties

* [ACS-6666] Few changes + small test fixes

* [ACS-6666] Deleted unused method

* [ACS-5882] infoDrawer comments tests migrated to Playwright

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

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

* [ACS-6666] Sonar fix

* [ACS-6666] Small locators change + timeout increased
2024-02-06 11:43:35 +01:00
Adam Świderski
489a84735a
[ACS-5882] infoDrawer comments tests migrated to Playwright ()
* [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 ()
* [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
Akash Rathod
608e6c5eb4
[ACS-6575] code fix and split action suite ()
* code split and fix

* code split and fix

* code split and fix

* [ACS-6575]code fix in workflow
2024-01-19 13:09:07 +05:30
Denys Vuika
dbe724552f
[ACS-6572] break dependency on adf-testing ()
* 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
Akash Rathod
bc83c78b68
[ACS-6437] added new test migration () 2024-01-03 11:54:42 -05:00
Kritagya Jaiswal
6b18b631ae
[ACS-6457] Migrated unshare-file e2es to playwright ()
* [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 ()
* [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 ()
* [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
e001069bfa
[ACS-6269] update create file from template tests ()
* [ACS-6269] update create file from template tests

* update error messages

* update beforeAll of personal files

* move nodesApi initialize and delete

* removing unnecessary try catch blocks
2023-12-20 11:28:32 +01:00
Adam Zakrzewski
6bcca76646
[ACS-5678] update create folder from template tests () 2023-12-18 17:29:20 +01:00
Akash Rathod
8b412b28f9
[ACS-6435] playwright e2e for list views personal files ()
* [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
Adam Zakrzewski
c4da70e52c
[ACS-6471] move create tests () 2023-12-07 14:54:40 +01:00
swapnil-verma-gl
f917a663b7
[ACS-5014] Migrated Copy Move actions E2Es from protractor to playwright ()
* [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
Adam Zakrzewski
1b55de018b
[ACS-5018] library actions protractor tests ()
* [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 ()
* [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 ()
* [ACS-6398] folder action-avilable test

* review changes

* review changes

* review changes
2023-11-27 12:04:55 +01:00