Commit Graph
609 Commits
Author SHA1 Message Date
Adam Świderski 1218c0fb64 [ACS-11051] getChild usage refactored (#5056)
* [ACS-11051] getChild usage refactored

* [ACS-11051] sonar fix 1

* [ACS-11051] test fixes 1

* [ACS-11051] test fixes 2

* [ACS-11051] review fixes 1

* [ACS-11051] review fixes 2
2026-02-20 15:06:37 +01:00
Michal KinasandAdam Świderski 4204745227 [MNT-25478] Add Information dialog for nodes and dialog for additional location references (#5041)
* [MNT-25478] Add Information dialog for nodes and dialog for additional location references

* [MNT-25478] CR fixes

* [MNT-25478] CR fixes

* [MNT-25478] Unit test fix

* [MNT-25478] E2E locator fixes

* [MNT-25478] E2E locator fixes

* [MMNT-25478] Add cm:contains to secondary parents API call

* [MMNT-25478] Small fix

* [MNT-25478] First e2e fixes

* more fixes for e2es

* last e2e fixes

---------

Co-authored-by: Adam Świderski <adam.tomasz.swiderski@gmail.com>
2026-02-18 12:27:32 +01:00
Adam Świderski 19270e256c [ACS-10956] Update eslint configuration for all automated tests related files (#4991)
* [ACS-10956] ACS-10956 updates eslint for more files

* [ACS-10956] eslint update

* Revert package-lock.json changes

* Revert package-lock.json to develop version

* testing eslint changes 1

* [ACS-10956] updated eslint for e2e folder

* [ACS-10956] added eslint for aca-playwright-shared file

* Sync package-lock.json with develop

* [ACS-10956] eslint e2e now uses playwright and angular plugin.

* [ACS-10956] changed error to warn for no-angular-material-selectors

* [ACS-10956] two rules turned off for aca-playwright-shared

* [ACS-10956] reverted changes for spec files

* [ACS-10956] changed back to error

* [ACS-10956] first eslint fixes

* [ACS-10956] more eslint fixes

* [ACS-10956] more eslint fixes pt 23

* [ACS-10956] last lintfix fixes

* [ACS-10956] sonar fixes 1

* [ACS-10956] reverted package-lock.json

* [ACS-10956] test fixes after the eslint changes 1

* [ACS-10956] sonar fix2

* [ACS-10956] test fixes after eslint update 24
2026-01-30 15:23:48 +01:00
Akash Rathod 8fe74b7e00 [ACS-10960] fix workflow (run-e2e-with-env) localhost (#4989)
* [ACS-10960] fix workflow localhost

* [ACS-10960] remove pr run part

* [ACS-10960] url check

* [ACS-10960] remove pull request run for this workflow
2026-01-16 08:52:45 +00:00
Alfresco Build 7c8e9cbcdb GH Auto: Upstream dependencies ADF:8.4.0-20960843160 JS-API:9.4.0-20960843160 using Tag:8.4.0-20960843160 (#4986) 2026-01-14 09:13:07 +00:00
Akash Rathod 53f19f7935 [ACS-10876] ACA e2e playwright automated test for Firefox Edge and Safari (#4952)
* [ACS-10876] playwright config changes to support multi browser

* [ACS-10876]workflow temp changes to enable all browser run

* [ACS-10876]workflow issue fix

* [ACS-10876]workflow issue fix

* [ACS-10876]workflow issue fix

* [ACS-10876]workflow issue fix

* [ACS-10876]fix report issue and webkit dep issue

* [ACS-10876]fix report issue and exclude test logic

* [ACS-10876]playwright browser setup change

* [ACS-10876]small fixes

* [ACS-10876]restore only run on pull request schedule job

* [ACS-10876]sonar cloud issue fix

* [ACS-10876]make chromium for pr run and chrome browser for scheduled run

* [ACS-10876]sonar cloud issue fix

* [ACS-10876]sonar cloud issue fix and small improvement
2025-12-23 12:48:17 +01:00
Rakesh Ghosal 44b8ec53d8 ACS 9871 - add additional transformation rule tests (#4927)
* ACS-9871: Add transformation rule tests and supporting methods

* ACS-9871: Add transformation rule tests and supporting methods (Addressed PR Comments)

* ACS-9871: Fix async expect pattern in transformation tests

* ACS-9871: Add readonly modifiers and clean up code formatting

* ACS-9871: Simplify expect statements and reorder assertions

* ACS-9871: Refactor transformation tests with helper function

- Add testTransformation helper function to reduce code duplication
- Refactor PDF, BMP, and JPG transformation tests to use helper
- Improve test maintainability and readability
- Add comprehensive JSDoc documentation

* ACS-9871: Replace any types with proper Page Object types

- Replace 'any' with PersonalFilesPage, NodesPage, and LoginPage
- Add proper imports for page object types
- Improve type safety in testTransformation helper function

* ACS-9871: Add image transformation tests for GIF, TIFF, and PNG - Add new test cases for GIF, TIFF, and PNG transformations - Add MimeType enums for GIFImage, TIFFImage, and PNGImage - Add TIFF_FILE and BMP_FILE to test-files registry - Add physical test files (file-tif.tif, file-bmp.bmp) - Test multiple image format conversions (JPG, PNG, BMP, GIF, TIFF)

* Fix parallel test execution by removing logout/login cycle in transformation tests

* Refactor transformation tests to reduce code duplication for SonarQube

* Refactor transformation tests following Single Responsibility Principle and extract TestFileConfig interface to shared models

* Replace any type with Page type in triggerTransformation function
2025-12-17 15:03:11 +05:30
Rakesh Ghosal 35f662bee9 ACS-9871: Add transformation rule tests and supporting methods (#4921)
https://hyland.atlassian.net/browse/ACS-9871

This pull request introduces a new end-to-end test for folder rules that transform supported file types to PDF, and enhances the shared Playwright testing utilities to support MIME type selection and destination folder specification for transformation actions. The changes primarily add test coverage for the "Transform and Copy Content" rule and extend the reusable test components to support these scenarios.

Enhancements to Playwright shared utilities:

Added a new MimeType enum to actions-dropdown.component.ts to standardize MIME type selection for transformation actions.
Introduced the selectMimeType method in ActionsDropdownComponent for selecting a target MIME type (e.g., PDF) in rule configuration.
Added the selectDestinationFolderTransformAndCopyContent method in ActionsDropdownComponent to automate picking a destination folder for transformed files.
Declared new locators in ActionsDropdownComponent to support MIME type dropdown and destination folder selection.
New end-to-end test:

Created transform-rules.e2e.ts to verify that DOCX, XLSX, and PPTX files are correctly transformed to PDF and copied to the specified folder when a folder rule is configured.
2025-12-03 13:01:51 +05:30
e504d2a8cd GH Auto: Upstream dependencies ADF:8.4.0-19431959127 JS-API:9.4.0-19431959127 using Tag:8.4.0-19431959127 (#4896)
* [ci:force][auto-commit] Update dependencies ADF:8.4.0-19431959127  JS:9.4.0-19431959127

* fix search e2e

---------

Co-authored-by: akashrathod28 <41251473+akashrathod28@users.noreply.github.com>
Co-authored-by: akashrathod28 <akash.rathod@hyland.com>
2025-11-18 07:13:46 +01:00
AleksanderSklorzandAdam Świderski 9d3c80ffee [MNT-25411] Fix clearing filters when search input is empty (#4878)
* [MNT-25411] Fix clearing filters when search input is empty

* [MNT-25411] Fixed unit test

* [MNT-25411] Fixed unit test

* [MNT-25411] XAT-5589 fix

* [MNT-24511] fixes for XAT-5581 and XAT-5546 excluded

---------

Co-authored-by: Adam Świderski <adam.tomasz.swiderski@gmail.com>
2025-11-04 10:51:02 +01:00
Adam Świderski 4da73ff6e9 [ACS-10383] [E2E] fixed XAT-5603 and XAT-5604 (#4864)
* [ACS-10383] [E2E] fixed XAT-5603 and XAT-5604

* [ACS-10383] review fixes 1
2025-10-24 15:32:23 +02:00
MichalKinasandAdam Świderski 199d31f1cd [ACS-10286] Add label and aria expanded to the rule set header (#4834)
* [ACS-10286] Add proper role and aria attributes to rule section header

* [ACS-10286] Add unit tests and main rule set coverage

* [ACS-10286] Rework component to use material expansion panel

* [ACS-10286] CR changes

* [ACS-10286] excluded XAT-907

---------

Co-authored-by: Adam Świderski <adam.tomasz.swiderski@gmail.com>
2025-10-08 13:18:16 +02:00
eeee902095 GH Auto: Upstream dependencies ADF:8.4.0-17917598952 JS-API:9.4.0-17917598952 using Tag:8.4.0-17917598952 (#4803)
* [ci:force][auto-commit] Update dependencies ADF:8.4.0-17917598952  JS:9.4.0-17917598952

* exclude failing e2es

---------

Co-authored-by: MichalKinas <113341662+MichalKinas@users.noreply.github.com>
Co-authored-by: g-jaskowski <grzegorz.jaskowski@hyland.com>
2025-09-23 13:39:47 +02:00
dominikiwanekhyland 3c26475767 Fix 'deploy local acs' pipeline step (#4804) 2025-09-18 14:06:31 +02:00
dominikiwanekhyland 66720be7c0 [ACS-10100][Security] Remove npx usage from CI/CD and shell scripts to mitigate supply chain risks (#4795) 2025-09-16 10:12:28 +02:00
Akash Rathod 1187c886b6 [ACS-10136]enable e2e aca (#4790)
* [ACS-10136]enable e2e aca

* [ACS-10136]enable e2e aca
2025-09-12 10:34:51 +02:00
Akash Rathod 142c9083a2 Revert "[ACS-10091] exclude test (#4757)" (#4758)
This reverts commit ec621cd799.
2025-08-26 16:12:21 +02:00
Akash Rathod ec621cd799 [ACS-10091] exclude test (#4757) 2025-08-26 08:46:57 +02:00
dominikiwanekhyland 49ed11b7d4 [ACS-9911] Upgrade NgRx API (#4702) 2025-07-28 14:36:38 +02:00
Adam Świderski bcc9780491 [ACS-9795] [E2E] Fixing tests from ACS-9795 (#4676)
* [ACS-9795] [E2E] Included tests for verification

* [ACS-9795] [E2E] fixes for e2es pt.1

* [ACS-9795] e2e fixes pt.2

* [ACS-9795] e2e fixes pt.3

* [ACS-9795] deleted dist for testing

* [ACS-9795] tests excluded - local ACS issues

* [ACS-9795] sonar fixes

* [ACS-9795] excluded XAT-17182

* [ACS-9795] updated exclude URLs

* [ACS-9795] review fixes 1
2025-07-17 13:15:59 +02:00
rmnvch 4b750f8b7d MNT-25070: ADW - Search request is altered when using quote marks (#4666)
* [MNT-25070] adjust helper functions to handle special characters in queries

* [MNT-25070] fixes doubled requests on imperative navigation

* [MNT-25070] introduces unit tests for added search utility features

* [MNT-25070] clean-up

* [MNT-25070] adjusts [XAT-5579] e2e

* [MNT-25070] exclude failed e2e

* [MNT-25070] readebility improvements; memory leaks handling

* [MNT-25070] migrate from nested subscription to switchMap

* [MNT-25070] adds unit tests for changes

* [MNT-25070] removes any type from test setup

* [MNT-25070] fixes same custom query reapply parsing issue
2025-07-16 12:23:08 +02:00
Adam Świderski 569115968c [ACS-9756] Tests 5571, 17700, 17120, 5567 fixed and included (#4648) 2025-07-04 09:57:49 +02:00
dominikiwanekhyland 5f5c238ccd Ng19 migration (#4520) 2025-07-03 13:33:05 +02:00
AleksanderSklorz fa31a2d1a5 [AAE-36173] fix upstream (#4645)
* [AAE-36173] fix upstream

* [AAE-36173] Exclude test

* [AAE-36173] Exclude test
2025-07-01 11:21:52 +02:00
AleksanderSklorz 8e243db88d [MNT-25175] Display script name for folder rule (#4637)
* [MNT-25175] Display script name for folder rule

* [MNT-25175] Fixed e2e

* [MNT-25175] Exclude e2e tests

* [MNT-25175] Exclude e2e tests
2025-07-01 08:01:36 +02:00
Mykyta Maliarchuk 29212b3cb3 [ACS-9249] Add number of files to Folder Information (#4626)
* [ACS-9249] Add number of files to Folder Information

* [ACS-9249] cr fix

* [ACS-9249] fix e2e's
2025-06-26 14:32:52 +02:00
Adam Świderski 7dc507c867 [ACS-9777] [E2E] Added e2es for 5522 and 5523 (#4632)
* [ACS-9777] [E2E] Added e2es for 5522 and 5523

* [ACS-9777] excluded XAT-5523

* [ACS-9777] 5523 can add comments

* [ACS-9777] added wait for comments list
2025-06-24 12:36:38 +02:00
Adam Świderski 305c840beb [ACS-9760] [E2E] Automated edit properties in info drawer (#4614)
* [ACS-9760] [E2E] Automated edit properties in info drawer

* [ACS-9760] added back nameField

* [ACS-9760] Added timeouts
2025-06-11 14:12:22 +02:00
Adam Świderski b910576b82 [ACS-9749] [E2E] Automated 5513 and 5516 (#4604)
* [ACS-9749] [E2E] Automated 5513 and 5516

* [ACS-9749] fixed setGranularPermission

* [ACS-9749] review fixes 1

* [ACS-9749] Excluded flaky tests

* [ACS-9749] Test upload npm logs

* [ACS-9749] Test upload npm logs v2

* [ACS-9749] updated package-lock.json
2025-06-09 16:09:39 +02:00
Akash Rathod a94866afb0 [ACS-9743] enable fix e2e (#4603)
* [ACS-9743] enable fix e2e

* revert changes to delete-undo-delete.e2e.ts
2025-06-06 09:39:58 +02:00
Adam Świderski f847231204 [ACS-8888] [E2E] Include XAT-5017 (#4602) 2025-06-05 12:22:31 +02:00
Alfresco BuildandAleksanderSklorz 2023e188e9 GH Auto: Upstream dependencies ADF:8.1.0-15154809688 JS-API:9.1.0-15154809688 using Tag:8.1.0-15154809688 (#4576)
* [ci:force][auto-commit] Update dependencies ADF:8.1.0-15154809688  JS:9.1.0-15154809688

* [ACS-7706] Fixed e2e (#4567)

---------

Co-authored-by: AleksanderSklorz <115619721+AleksanderSklorz@users.noreply.github.com>
2025-05-21 08:52:59 +02:00
Akash Rathod 09907e1328 [ACS-9666] fix-info-drawer-test (#4568) 2025-05-16 15:40:32 +02:00
Adam Świderski 8e019a1295 [ACS-9482] [E2E] included XAT-17700 and XAT-17702 (#4543) 2025-04-28 14:42:11 +02:00
680b11ba2e GH Auto: Upstream dependencies ADF:8.1.0-14660630465 JS-API:9.1.0-14660630465 using Tag:8.1.0-14660630465 (#4533)
* [ci:force][auto-commit] Update dependencies ADF:8.1.0-14660630465  JS:9.1.0-14660630465

* [ACS-9564] Fix rendering of Knowledge Retrieval answer after change in answer structure

* incease viewer load time waiting

* exclude test XAT-5470 ACS-9580

---------

Co-authored-by: DenysVuika <503991+DenysVuika@users.noreply.github.com>
Co-authored-by: Aleksander Sklorz <Aleksander.Sklorz@hyland.com>
Co-authored-by: akashrathod28 <akash.rathod@hyland.com>
2025-04-25 15:19:38 +02:00
Adam Świderski ebbc868aa1 [ACS-9065] [E2E] Added folder information tests in ACA (#4478)
* [ACS-9065] Added folder information tests in ACA

* [ACS-9065] fixed sonar issues

* [ACS-9065] Changed test describe name

* [ACS-9065] debugging dialog errors 1

* [ACS-9065] removed debugging reload

* [ACS-9065] renamed e2e file
2025-04-03 10:02:43 +02:00
MichalKinasandAdam Świderski e01f0389d4 [MNT-24848] Include properties in search header calls (#4496)
* [MNT-24848] Include properties in search header calls

* [MNT-24848] [E2E] Excluded XAT-17700 and XAT-17702

---------

Co-authored-by: Adam Świderski <adam.tomasz.swiderski@gmail.com>
2025-04-01 14:42:22 +02:00
Adam Świderski ec3d88829f [ACS-9301] Updated IDs with the new test cases (#4483) 2025-03-31 09:52:56 +02:00
Adam Świderski 436127edb2 [ACS-9294] [E2E] XAT-4526 stable and included (#4482) 2025-03-27 12:11:34 +01:00
Adam Świderski f879958781 [ACS-9255] Automated XAT-17591 (#4480) 2025-03-26 13:43:02 +01:00
Adam Świderski d2b6e6d6b4 [ACS-9372] [E2E] Fixed eslint errors (#4479)
* [ACS-9372] Fixed eslint errors

* [ACS-9372] Review fixes 1
2025-03-26 09:09:52 +01:00
Akash Rathod 3575974609 [ACS-6412] remove excluded test for template issue (#4461)
* ACS-6412 remove excluded test for template issue

* ACS-6412 fix locator

* ACS-6412 fix locator

* ACS-6412 fix locator

* ACS-6412 test case fix

* ACS-6412 locator mat selector fix

* ACS-6412 locator mat selector fix
2025-03-19 12:03:24 +01:00
Adam Świderski 9d22bf0efe [ACS-9297] [ACA] [E2E] Update test IDs to match the XRAY test cases IDs (#4429)
* [ACS-9297] [E2E] Authentication and List Views updated

* [ACS-9297] navigation tests IDs updated

* [ACS-9297] updated pagination IDs

* [ACS-9297] updated download actions ids

* [ACS-9297] Updated upload-download actions IDs & changed the location of viewer-version-actions tests to match XRAY

* [ACS-9297] updated copy-move-actions IDs

* [ACS-9297] Updated delete-actions IDs

* [ACS-9297] updated create-actions IDs

* [ACS-9297] Updated library-actions IDs

* [ACS_9297] Updated share IDs

* [ACS-9297] Special Permissions Updated IDs

* [ACS-9297] Updated viewer IDs

* [ACS-9297] Updated comments IDs

* [ACS-9297] Updated Search IDs

* [ACS-9297] Updated the remaning IDs

* [ACS-9297] one tests excluded one duplicated deleted

* [ACS-9297] fixing rebase mistakes 1
2025-03-19 10:20:24 +01:00
Akash Rathod d3df91d15e [ACS-9426] [e2e] fix smoke test sonar issue (#4459)
* ACS-9426 rewrite smoke test

* ACS-9426 rewrite smoke test add to xray

* ACS-9426 check for smoke test run
2025-03-19 09:13:57 +01:00
Adam Świderski 7995718ffc [ACS-9424] [E2E] updated C595967 (#4458) 2025-03-17 13:43:49 +01:00
Swarnajit3004 2a509abebb [ACS-9364] Update upload.e2e.ts tests to have proper expects (#4427) 2025-03-11 16:32:38 +05:30
Swarnajit3004 03b5ac83cc [ACS-9291] [ACA] [E2E] Automate XAT-5488, XAT-5490 (#4405)
* [XAT-5488] [XAT-5490] Percentage of the zoom when an image is opened in viewer mode

* [XAT-5488] [XAT-5490] Percentage of the zoom when an image is opened in viewer mode_2

* [XAT-5488] [XAT-5490] Percentage of the zoom when an image is opened in viewer mode_3

* Zoom activity on different files in viewer_Committed on 022125_1

* Committed on 022525_1

* Committed on 022725_1

* Committed on 02282025_1
2025-02-28 16:49:53 +05:30
Akash Rathod a99ca755ea ACS-9201 create smoke test suite (#4361)
* ACS-9201 create smote suite

* [ACS-9201] add smoke test workflow

* [ACS-9201] add smoke test workflow

* [ACS-9201] fix smoke test workflow

* [ACS-9201] fix smoke test workflow

* [ACS-9201] fix smoke test workflow

* [ACS-9201] fix smoke test workflow

* [ACS-9201] fix smoke test workflow

* [ACS-9201] fix smoke test workflow

* [ACS-9201] revert playwright pr smoke test run

* [ACS-9201]smoke test suite tests

* [ACS-9201]smoke test suite tests

* [ACS-9201] remove workflow changes as not needed

* [ACS-9201] fix lint
2025-02-18 12:32:29 +01:00
a75ddc4cfb GH Auto: Upstream dependencies ADF:7.0.0-alpha.9-13367447514 JS-API:8.0.0-alpha.9-13367447514 using Tag:7.0.0-alpha.9-13367447514 (#4402)
* [ci:force][auto-commit] Update dependencies ADF:7.0.0-alpha.9-13367447514  JS:8.0.0-alpha.9-13367447514

* C589205 - excluded a failing test for future investigation

---------

Co-authored-by: nikita-web-ua <84377976+nikita-web-ua@users.noreply.github.com>
Co-authored-by: Adam Świderski <adam.tomasz.swiderski@gmail.com>
2025-02-17 13:30:25 +01:00
dominikiwanekhyland a70378bffc [ACS-6849][ACA] Upgrade to Angular 17 (#4275) 2025-02-12 14:42:09 +01:00