Commit Graph
27 Commits
Author SHA1 Message Date
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
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
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 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
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 09636b377d [ACS-9211] Update license headers (#4372) 2025-02-04 12:11:48 +01:00
8931a295c6 [ACS-9102] Local ACS deployment for E2Es (#4324)
* [ACS-9102] Local ACS deployment draft

* [ACS-9102] Move ACS deployment to composite action

* [ACS-9102] Remove obsolete checks

* [ACS-9102] Proper secrets for ACS deployment

* [ACS-9102] Add required shell property

* [ACS-9102] Use fixed acs deployment version

* [ACS-9102] Proper acs deployment tag

* [ACS-9102] Add required shell property

* [ACS-9102] Fix helm install params

* [ACS-9102] Remove obsolete checkout

* [ACS-9102] Use more powerful runner for E2Es

* [ACS-9102] Introduce temp secrets

* test curl localhost

* skip n-1 matrix jobs

* test ipv4 first

* [ACS-9102] Adjust Playwright E2E host

* [ACS-9102] Bring back matrix job

* disable unnecessary acs components

* debug ingress after tests run

* [ACS-9102] Fix folder-rules test suite

* [ACS-9102] Fix part of viewer test suite

* [ACS-9102] Additional E2E fixes

* [ACS-9102] fixes for e2es -> empty-list and search

* [ACS-9102] more fixes for e2es and github actions artifacts added for easier debugging

* [ACS-9102] removed artifacts from GHA

* print all logs

* [ACS-9102] Remove outdated secrets

* [ACS-9102] Remove after-e2e action

* do not wait for reindexing

* test on latest runner

* Always debug ingress logs

* avoid sleep waiting for app startup

* cleanup unnecessary action input type

* fixup indent

* test with latest acs alpha

* Revert "do not wait for reindexing"

This reverts commit 86ca54de33a6b5bf1da65202caac5798b5f88d51.

* [ACS-9102] Exclude unstable test cases

* [ACS-9102] Exclude unstable test cases

* [ACS-9102] Exclude unstable test cases

---------

Co-authored-by: Giovanni Toraldo <giovanni.toraldo@hyland.com>
Co-authored-by: Adam Świderski <adam.tomasz.swiderski@gmail.com>
2025-01-15 11:34:03 +01:00
Akash Rathod 2f507323ac [ACS-8886] enable excluded test from ACA (#4170)
* [ACS-8886] enable excluded test

* [ACS-8886] enable excluded test

* [ACS-8886] test fix and added ticket to resovle

* [ACS-8886] test reexcluded as valid fail

* [ACS-8886] test enalbe

* [ACS-8886] test fix for admin
2024-10-08 17:25:13 +02:00
Adam Świderski de8f48cff0 [ACS-8866] [E2E] Added UI, Debug and Headed modes to NX console (#4160) 2024-10-03 12:30:19 +02:00
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
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 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
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
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
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 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
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
Denys Vuika 18542ebf8b migrate to nx 16 (#3465)
* migrate to nx 16

* lock file
2023-10-05 12:12:54 -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 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
Adam Zakrzewski f54ba92f77 [ACS-5585] add direct api-client-factory call in tests (#3323) 2023-07-10 10:12:51 -04:00
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