Commit Graph

166 Commits

Author SHA1 Message Date
MichalKinas
96df46a32a Make aca-playwright-shared buildable and publishable (#4098)
* Make aca-playwright-shared buildable and publishable

* Small PR workflow fix
2024-09-04 18:24:46 +02:00
Akash Rathod
56c2c55daf [ACS-8688] export playwright shared lib (#4068)
* [ACS-8688] export playwright shared lib

* [ACS-8688] changes name

* [ACS-8688] changes name

* [ACS-8688] add lint file and fix lint issue

* [ACS-8688] test fix

* added ng package file
2024-09-03 14:16:02 +02:00
MichalKinas
d8d57cdc2a [ACS-7732] Add missing badges styling (#4040)
* [ACS-7732] Badges spacing and hover fixes

* [ACS-7732] Proper badge styling

* [ACS-7732] Add missing display

* search page test fix

* test fix

---------

Co-authored-by: akash.rathod@hyland.com <akash.rathod@hyland.com>
2024-08-20 12:59:25 +02:00
Denys Vuika
2edc48bc80 ACS-8584: Fix for Search Input and icons (#4035) 2024-08-19 12:00:19 -04:00
Alfresco Build
85a682ed1a GH Auto: Upstream dependencies ADF:6.10.0-10394914720 JS-API:7.9.0-10394914720 using Tag:6.10.0-10394914720 (#4031)
* [ci:force][auto-commit] Update dependencies ADF:6.10.0-10394914720  JS:7.9.0-10394914720

* fix e2e error text

---------

Co-authored-by: DenysVuika <DenysVuika@users.noreply.github.com>
Co-authored-by: akash.rathod@hyland.com <akash.rathod@hyland.com>
2024-08-16 13:04:36 +02:00
Adam Świderski
2bc4e158f2 [ACS-8561] [E2E] Merge-selectItem-and-selectMultiItem-into-one-method (#4011)
* [ACS-8561] [E2E] Merge-selectItem-and-selectMultiItem-into-one-method

* [ACS-8561] method fixes 1

* [ACS-8561] review fixes 1
2024-08-08 10:06:43 +02:00
Adam Świderski
70de07f3f1 [ACS-8548] [E2E] deleted unused users from configs (#4004) 2024-08-06 10:55:51 -04:00
Katarzyna Kita
d9a0ce7964 [ACS-8063] Migrate editActions e2e from Protractor to Playwright (#3900)
* ACS-8063 Migrate editActions

* Removed protractor edit folder tests and protractor e2e run from github
2024-07-24 00:57:02 +02:00
Adam Świderski
9eba5829c0 [ACS-8185] [E2E] updated type to fill (#3966) 2024-07-23 09:18:32 +02:00
MichalKinas
02b6757ea3 [ACS-6693] Migration to NG15 (#3959)
* [ACS-6693] Angular 15 migration initial point

* [ACS-6693] Angular 15 - update ADF dependencies from the ng15-start branch (#3712)

* [ACS-6693] Angular 15 - adding mat core (#3715)

* Stylelint fix

* Migration - added stylePrepocessor for material selectors

* Skip unit tests from branch release until errors are fixed

* [ACS-7285] - [ACA] Angular 15 - Left sidebar + table (#3719)

* [ACS-7286] Fix topbar user info issues (#3720)

* [ACS-6693] Bump peerDependencies in ACA libs

* [ACS-7330] edit rules dialog fixes (#3723)

* [ACS-6693] Fix peer dependencies in ACA packages

* [ACS-7328] Fix searchbar display (#3729)

* [ACS-7631] Fix broken filters (#3735)

* [ACS-7331] - Angular 15 - Edit aspects modal [ACA]

* [ACS-7449] Fix broken filter labels styling (#3745)

* [ACS-7351] ng15 Manage rules fixes (#3751)

* [ACS-7351] ng15 manage rules fixes

* [ACS-7351] cr fix

* [ACS-7351] cr fix

* [ACS-7370] - [ACA] Leave library dialog misses some padding (#3749)

* [ACS-6693] Bump ADF version

* [ACS-7372] - user profile page issues (#3757)

* [ACS-7372] - [ACA] User profile page issues

* [ACS-7415] - Move file dialog (#3755)

* [ACS-7452] - Small screen notification banner [ACS-7418] About page (#3760)

* [ACS-7452] - Small screen notification banner

* [ACS-7452] - Small screen notification banner [ACS-7418] About page

* [ACS-7511] Subfont for dialogs, make darker (#3765)

* [ACS-7448] Fix wrong notifications colors (#3761)

* [ACS-7448] Fix notifications colors, move them from adf to aca (#3771)

* [ACS-7375] - Share link dialog issues (#3774)

* [ACS-7517] - Notifications box (#3775)

* [ACS-7373] ng15 permission tab fixes (#3762)

* [ACS-7368] Fix unit tests for aca-content (#3779)

* [ACS-7410] - Locked files overflow issues (#3780)

* [ACS-7528] - Notification and user icons are a bit different (#3782)

* [ACS-7529] - Columns visibility dropdown has broken styles (#3783)

* [ACS-7537] - Share dialog (#3789)

* Use latest ADF alpha

* Post rebase unit test fix

* Disable stylelint

* Calendar button fix

* [ACS-7369] ng15 migration - fix e2es (#3796)

* [ACS-7369] e2e fixes

* [ACS-7369] cr fix

* [ACS-7331] - Angular 15 - View details sidebar (#3731)

* [ACS-7542] - Upload new version dialog (#3800)

* [ACS-7575] create library dialog e2e fix (#3803)

* [ACS-7534] folder dialog e2e fixes (#3804)

* [ACS-7574] Rules dialog edit (#3801)

* [ACS-7571] Comments (#3810)

* [ACS-7555] Added blue outline to focused checkboxes (#3813)

* [ACS-7582] File upload dialog, fix button weight label globally (#3814)

* [ACS-7531] - Search page (#3816)

* [ACS-7559] Conext menus icons (#3818)

* [ACS-6693] Bump ADF

* Temporary lint disable

* [ACS-7572] link rules dialog (#3817)

* [ACS-7533] - Advanced search chips dropdowns (#3821)

* [ACS-7560] Corrected background color for info snackbar (#3824)

* [ACS-7558] - Toolbar and buttons (#3833)

* [ACS-7573] folder rules fixes (#3836)

* [ACS-7573] folder rules fixes

* [ACS-7573] cr fix

* [ACS-7561] - Permissions page (#3840)

* [ACS-7768] unify inputs and selects across the app (#3845)

* ACS-7768 Style inputs in create from template dialog

* ACS-7768 Used globally configured outline appearance for inputs

* ACS-7768 Style inputs for profile page

* ACS-7768 Style inputs for library metadata form

* ACS-7768 Style inputs for folder rules dialog

* ACS-7768 Style inputs for manage rules page

* ACS-7768 Set outline appearance for input, fix small issue

* ACS-7768 Addressed comment

* Revert "[ACS-7768] unify inputs and selects across the app (#3845)" (#3850)

This reverts commit 6a5ef73283.

* [ACS-8043] fix js api dependencies (#3855)

* [ACS-8020] Fixed inputs for create from template dialog (#3857)

* [ACS-8027] Inputs for create rules (#3860)

* [ACS-8052] inputs for general info for libraries (#3863)

* [ACS-8052] Inputs for general info for libraries

* Fix after CR

* [ACS-8059] Inputs for view rules (#3865)

* [ACS-8026] Fixed Task form rendering (#3864)

* Updating to the latest package of 6.10 from ADF

* Updating to the latest ADF/JS-API - updating dependency rule

* Regenerated package lock

* [ACS-8082] fix search e2e (#3876)

* Using latest ADF with BC of ConfirmDialogComponent

* [ACS-8099] [ACA] Testing Angular 15 - Accessibility for search text area (#3883)

* [ACS-8100] [ACA] Testing Angular 15 - Accessibility for search facet and filter (#3887)

* [ACS-8158] Resolved issue where long tag names were not getting word wrapped in ACA. Fixed alignment issue with tag chip cross button (#3890)

* [ACS-8101] [ACA] Testing Angular 15 - Manage rule popup visual changes (#3891)

* [ACS-8191] Updated codebase to use variables from mat-selectors.scss file (#3889)

* [ACS-8191] Updated ACA codebase to use selectors from mat-selectors.scss file instead of hardcoded selectors

* [ACS-8191] Resolved configuration issue where running unit test on aca-shared failed due to not finding adf-core styles

* Update ADF dependencies (#3897)

* Upgrading ADF packages

* Use latest ADF

* Updated packages version

* Updated packages version

* Updated packages version

* Updated packages version

* Updated packages version

* Updated packages version

* Updated packages version

* [ACS-8253] viewer file name change position on navigation (#3914)

* Updated ADF version

* Use latest ADF

* Package lock fix

* Build fix

* Restore release branch build and unit tests

* E2Es fix

* Fix SonarCloud issues

* Stylelint fix

* Stylelint fix

* [ACS-8442] Remove additional checkbox label

* First batch of E2E fixes

* Bump ADF

* Second round of E2E locators fixes

* Locator fix

* [ACS-8443] Fix incorrect focus style for checkboxes

* E2Es locators fixes

* E2E locator fixes

* [ACS-6693] locator fix upload new version title

* E2E locator fix

* E2E locator fix

* [ACS-6693] locator fix upload new version file

---------

Co-authored-by: jacekpluta <73617938+jacekpluta@users.noreply.github.com>
Co-authored-by: Vito Albano <vito.albano@hyland.com>
Co-authored-by: tomson <nastalytomasz@gmail.com>
Co-authored-by: Mykyta Maliarchuk <84377976+nikita-web-ua@users.noreply.github.com>
Co-authored-by: Jacek Pluta <jacek.pluta@hyland.com>
Co-authored-by: dominikiwanekhyland <141320833+dominikiwanekhyland@users.noreply.github.com>
Co-authored-by: tomson <tomasz.nastaly@hyland.com>
Co-authored-by: AleksanderSklorz <115619721+AleksanderSklorz@users.noreply.github.com>
Co-authored-by: swapnil-verma-gl <92505353+swapnil-verma-gl@users.noreply.github.com>
Co-authored-by: VitoAlbano <vito.albano.123@gmail.com>
Co-authored-by: Akash Rathod <41251473+akashrathod28@users.noreply.github.com>
Co-authored-by: Ehsan Rezaei <ehsan.rezaei@hyland.com>
Co-authored-by: akash.rathod@hyland.com <akash.rathod@hyland.com>
2024-07-22 07:08:01 +02:00
Adam Świderski
66f3b5a7d5 [ACS-4896] [E2E] delete view folder rules tests added (#3955) 2024-07-19 09:04:15 +02:00
Adam Świderski
cbbb733551 [ACS-4894] [E2E] Added new e2e for update folder rules (#3929)
* [ACS-4892] [E2E] Created new tests for adding folder rules

* [ACS-4892] deleted the unused if enum

* [ACS-4894] Added update folder rules tests

* [ACS-4894] sonar fix 1

* [ACS-4894] sonar fix 2

* [ACS-4894] sonar fix 3

* [ACS-4894] review fixes 1

* [ACS-4894] review fixes 2

* [ACS-4894] review fixes 3

* [ACS-4894] comments deleted

* [ACS-4894] eslint fix
2024-07-16 13:21:05 +02:00
Adam Świderski
e7cd5741d2 [ACS-4892] [E2E] Created new tests for adding folder rules (#3895)
* [ACS-4892] [E2E] Created new tests for adding folder rules

* [ACS-4892] excluded one test for now

* [ACS-4892] [E2E] The rest of test cases automated

* [ACS-4892] deleted the unused if enum

* [ACS-4892] review fixes 1

* [ACS-4892] review fixes 2

* [ACS-4892] review fixes 3
2024-07-11 10:53:04 +02:00
Katarzyna Kita
a6c929a958 [ACS-8064] Migrate actions-favorites tests to Playwright (#3871)
* ACS-8064 Migrate actions-favorites tests to Playwright
2024-06-13 11:16:25 +02:00
Adam Świderski
5a87c277f0 [ACS-8058] [E2E] Updated selectMultiItem method (#3874)
* [ACS-8058] [E2E] Updated selectMultiItem method

* [ACS-8058] review fixes 1
2024-06-07 14:05:03 +02:00
MichalKinas
a5343fd627 [ACS-8080] Enable multiselection in lists (#3873)
* [ACS-8080] Enable multiselection in lists

* [ACS-8080] Fix selected row in E2Es

* [ACS-8080] E2Es fix

* [ACS-8080] E2Es fix

---------

Co-authored-by: akash.rathod@hyland.com <akash.rathod@hyland.com>
2024-06-06 08:15:34 +02:00
Akash Rathod
157451841c [ACS-7765] playwright Migration for upload new action e2e test (#3866)
* [ACS-7764] Migrated e2e tests Actions - upload

* [ACS-7764] Protractor2Playwright - Actions - Upload

* [ACS-7764] upload file fix

* [ACS-7765] playwright upload new action e2e test

* [ACS-7765] fix locator

* [ACS-7765] added fix and new test

* suggested fix for locator text

Co-authored-by: MichalKinas <113341662+MichalKinas@users.noreply.github.com>

* Update viewer.component.ts

---------

Co-authored-by: Katarzyna Kita <katarzyna.kita@hyland.com>
Co-authored-by: MichalKinas <113341662+MichalKinas@users.noreply.github.com>
2024-06-04 15:27:48 +02:00
Adam Świderski
7c92f39127 [ACS-5016] [E2E] delete actions migrated to playwright (#3868)
* [ACS-5016] [E2E] delete actions migrated to playwright

* [ACS-5016] sonar fix 1

* [ACS-5016] sonar fix 2

* [ACS-5016] upload.effects.spec.ts reverted

* [ACS-5016] upload-file.test.ts reverted

* [ACS-5016] review fix 1
2024-06-04 10:54:30 +02:00
Adam Świderski
cd610b6d7d [ACS-7766] [E2E] protractor to playwright e2e test suites actions version (#3839)
* [ACS-7766] [E2E] Actions-version tests migrated from Protractor to Playwright

* [ACS-7766] [E2E] Test ids updated

* [ACS-7766] review comments fixes

* 'only' deleted
2024-05-28 09:24:17 +02:00
Katarzyna Kita
9141424f3a [ACS-7764] Migrate tests protractor2playwright Actions - Upload (#3842)
* [ACS-7764] Migrated e2e tests Actions - upload

---------

Co-authored-by: akash.rathod@hyland.com <akash.rathod@hyland.com>
2024-05-13 15:08:48 +02:00
Adam Świderski
9c671b4ed1 [ACS-7767] [E2E] ACA e2e folders' renaming for easier debugging in the future (#3834)
* [ACS-7767] [E2E] viewer-actions folder deletion test push

* [ACS-7767] folder renaming for easier debugging in the future

* [ACS-7767] deleted the extended timeout as its not needed
2024-05-09 10:52:24 +02:00
Katarzyna Kita
12742b3b90 [ACS-5019] Migrated e2e tests - Actions - download (#3829)
* [ACS-5019] Migrated Tests Protractor2Playwright Actions - download
---------

Co-authored-by: akash.rathod@hyland.com <akash.rathod@hyland.com>
2024-05-07 11:00:27 +02:00
Adam Świderski
995305fc13 [ACS-7305] beforeEach and afterAll updated for viewer tests (#3830) 2024-05-07 09:18:58 +02:00
Akash Rathod
4e0f7017bb ACS-7709 fix workflow name and e2e (#3815)
* [ACS-7709] fix workflow name and e2e

* [ACS-7709] fix workflow name and e2e
2024-04-25 11:04:26 +02:00
Katarzyna Kita
e670441499 [ACS-7336] Added Playwright e2e Search - Tags & Deleted Protractor Search tests (#3812)
* ACS-7336 [Added] playwright e2e Search - Tags
[Deleted] Protractor Search tests
2024-04-24 15:49:00 +02:00
Adam Świderski
8fbc22b9d6 [ACS-7337] [E2E] protractor to playwright e2e test suites search filters categories filter (#3798)
* [ACS-7337] [E2E] Search filters - categories - tests migrated in Playwright

* [ACS-7737] only deleted

* [ACS-7337] review fix 1

* [ACS-7337] review fix 2

* [ACS-7337] excluded test again

* [ACS-7337] review fix 3

* [ACS-7337] review fix 5

* [ACS-7337] review fix 6
2024-04-17 15:22:26 +02:00
Katarzyna Kita
7982c1e7e7 ACS-7335 Migrated e2e search filters - location (#3793) 2024-04-16 10:52:23 +02:00
Adam Świderski
1b98bed18f [ACS-7334] [E2E] Search filters - date - tests migrated to Playwright (#3770)
* [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 (#3753)
* [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 (#3764) 2024-04-08 08:29:05 +02:00
Grzegorz Jaśkowski
4408eb4489 [ACS-7311] add no-angular-material-selectors eslint rule (#3732)
* [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 (#3756)
* [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 (#3752)
* 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 (#3742)
* [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 (#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
132ce1f75e [ACS-7451] playwright eslint plugin introduced (#3746) 2024-03-29 11:42:58 +01:00
Katarzyna Kita
f30fcbf693 [ACS-7332] Added Playwright tests for Search - Filters - Logic (#3733)
* 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 (#3738)
* [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 (#3737) 2024-03-27 11:09:50 +01:00
Adam Świderski
3bec4abe4f [ACS-7300] beforeEach and afterAll refactored for navigation tests (#3736) 2024-03-27 10:39:44 +01:00
Adam Świderski
d6e6c41a2e [ACS-7298] beforeEach and afterAll updated for list-views (#3734)
* [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 (#3730)
* [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 (#3728) 2024-03-25 11:51:38 +01:00
Adam Świderski
184f521e7b [ACS-7294] Updated hooks - copy-move-actions (#3721)
* [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 (#3682)
* 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 (#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
Katarzyna Kita
c572dde261 [ACS-6954] Refactor Search Playwright tests - move search actions to searchOverlay component (#3703)
* 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 (#3700)
* Refactored search playwright tests
2024-03-12 10:15:17 +01:00