Commit Graph

80 Commits

Author SHA1 Message Date
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
Akash Rathod
a98c81bbbe [ACS-8045] update chrome driver settings (#3862)
* [ACS-8045]update ACA chrome driver

* [ACS-8045]update ACA chrome driver to stable

* [ACS-8045]update ACA chrome driver script

* [ACS-8045]revert chrome driver script

* update webdriver tesst

* Update action.yml

* update webdriver command

* update webdriver new script

* remove chrome install step

* remove chrome webdriver update twice

* add chrome webdriver update step

* e2e run command update

* e2e run command update

* e2e run command update

* remove temp e2e
2024-05-31 10:11:43 +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
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
Akash Rathod
7ce9e302de [ACS-7494] add report portal for ACA (#3794)
* [ACS-7494] dev-reportportal-aca

* [ACS-7494] add reportportal-aca

* [ACS-7494] add reportportal variable

* [ACS-7494] change year

* [ACS-7494] review changes

* [ACS-7494] review changes

* [ACS-7494] review changes
2024-04-17 11:05:11 +02:00
MichalKinas
5adaf35e79 [ACS-6956] Add GHA workflow to release ACA libs from branch (#3702)
* [ACS-6956] Add GHA workflow to release ACA libs from branch

* [ACS-6956] Add lint and unit-tests step
2024-03-20 12:21:27 +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
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
d33912b39a [ACA-4732] Update JS-API version first (#3613) 2024-01-25 15:00:07 -05:00
Akash Rathod
608e6c5eb4 [ACS-6575] code fix and split action suite (#3604)
* 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
09aba59b06 [ACS-6563] cleanup protractor configs and e2e for extensibility (#3591)
* cleanup extensibility configs and protractor e2e

* cleanup

* cleanup
2024-01-10 09:09:11 -05:00
Denys Vuika
487c5ef62d cleanup env variables (#3583) 2024-01-08 17:05:10 +00:00
Denys Vuika
33c3d6f5d4 [ACS-6543] switch from aws to gha cache (#3582)
* switch to gha cache

* save cache

* use exact path

* improve cache key

* cleanup

* cleanup

* remove npm registry var

* remove codeowners
2024-01-04 15:25:26 +00: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
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
SheenaMalhotra182
78b1e3e460 [ACS-6443] cleanup for redundant e2es and unused methods (#3547)
* [ACS-6443] removed redundant e2es and unused methods

* [ACS-6443] cleanup

* [ACS-6443] cleanup

* [ACS-6443] undo cleanup

* [ACS-6443] linting fix

* [ACS-6443] cleanup

* [ACS-6443] cleanup

* [ACS-6443] addressed review comments
2023-12-01 13:33:23 +05:30
Adam Zakrzewski
1b55de018b [ACS-5018] library actions protractor tests (#3545)
* [ACS-5018] library actions protractor tests

* updating type and timeout

* implementing reviews comments
2023-11-29 19:09:07 +01:00
Akash Rathod
fef55a3f73 [ACS-5923] remove navigation protractor e2e test (#3541) 2023-11-28 04:36:18 -05:00
Akash Rathod
c086bf2023 [ACS-6367] action available e2e remove (#3540)
* [ACS-6367] action available e2e remove

* [ci:force]

* Revert "[ACS-6367] action available e2e remove"

This reverts commit 0a92a383459797f970ea397c30bfb3350ba1ebeb.

* [ACS-6367] action available e2e remove
2023-11-27 09:43:55 -05:00
Akash Rathod
7468111d19 [ACS-6368] remove special permissions e2e test (#3536) 2023-11-24 11:04:54 +00:00
Kritagya Jaiswal
f705c462be [ACS-6239] Migrated personal files of pagination suit to playwright (#3528)
* [ACS-6239] Migrated personal files of pagination suit to playwright

* [ACS-6239] Remove only

* Added path in json file

* [ACS-6239] Addressed review comments

* [ACS-6239] Addressed review comments

* [ACS-6239] Removed material classes and used roles for test cases

* Addressed review comments
2023-11-23 13:37:03 +00:00
Adam Zakrzewski
336047318a [ACS-5511] create library tests update (#3516)
* [ACS-5511] create library tests update

* updates from commands
2023-11-13 14:10:34 +01:00
DominikIwanek
ee562da66d [ACA-4722] - fix publish image script (#3511) 2023-11-08 15:44:00 +01:00
Akash Rathod
f2d09e8b1a [ACS-6066] viewer special permissions playwright (#3453)
* [ACS-5923] sidenav and singleclick test

* [ACS-5923] remove protractor test and fix flaky test

* [ACS-5923] test fix

* [ACS-5639] fix exclude test  in viewer

* [ACS-5923] remove exclude test and fix test

* [ACS-6066] viewer special permissions playwright test

* [ACS-6066] viewer protractor test remove

* [ACS-6066] viewer failed test fix

* [ACS-5923] review changes added

* [ACS-5923] fix error in script
2023-10-05 12:19:57 +02:00
Akash Rathod
e2ddd81cbc [ACS-5923] navigation breadcrumb playwright test (#3410)
* ACS-5870-playwright test for application

* fix for failing test

* fix for failing test

* fix for login secario test

* fix for login test with newuser login

* [ACS-5923] playwright breadcrumb test

* Update breadcrumb.spec.ts

* test fix

* test fix admin

* test fix admin

* test fix user folder

* test fix user test remove
2023-09-01 15:36:13 +01:00
DominikIwanek
b3ed9bedb5 [ACS-5107] - Add 'affected' to GHA (#3399)
* [ACS-5107] - Add 'affected' to GHA
2023-08-30 16:25:25 +02:00
Akash Rathod
ad36ed891b ACS-5870-playwright test for application (#3398)
* ACS-5870-playwright test for application

* fix for failing test

* fix for failing test

* fix for login secario test

* fix for login test with newuser login

* Update test username general.spec.ts
2023-08-28 11:26:13 -04:00
Akash Rathod
f8a30f3706 [ACS-5866] authentication playwright tests (#3391)
* viewer action files e2e migration

* viewer action files e2e remove comment

* review code fix

* [ci:force]

* [ACS-5650]viewer test with new user

* remove commented code

* login and logout playwright test

* Update error message login.spec.ts
2023-08-18 12:49:46 -04: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
Denys Vuika
7ab4cc5e53 [ACA-4715] break dependency on envsubst (#3325)
* remove BPM host

* break dependency on envsubst

* remove prebuild script

* cleanup package.json
2023-07-11 08:39:17 +01:00
Denys Vuika
6b003eff1f [ACA-4715] upgrade to latest ADF alphas and cleanup env vars (#3312)
* use latest ADF alphas

* use latest ADF alphas

* use ECM provider by default

* use BASIC auth by default

* defaults for oauth host

* remove unused vars
2023-07-05 19:46:50 +01:00
Denys Vuika
46ed7a8360 [ACA-4715] reduce env variables and provide defaults (#3311)
* use default "sessionTimeForOpenAppDialogDisplay"

* improve iPhone prefix url api

* improve android prefix url api

* session timeout

* app store url defaults

* enable mobile redirect by default

* enable AOS by default

* enable content plugins by default

* enable folder rules by default

* remove obsolete AI flag

* remove obsolete APA flag

* auto download defaults

* cleanup auth vars
2023-07-05 15:21:45 +01:00
Denys Vuika
caff4a3800 [ACS-5523] move viewer and preview to aca-content (#3303)
* move aca-viewer to secondary entry

* move aca-preview to aca-content
2023-06-28 09:01:21 +01:00
Denys Vuika
dd0590f655 try to increase e2e instances (#3281)
* try to increase e2e instances

* try to make protractor vars global

* switch to browser run

* remove browser run
2023-06-19 08:50:25 -04: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
MichalKinas
e0a74d7fb9 [ACS-4538] Make folder-rules secondary entry point of aca-content (#3181)
* [ACS-4538] Make folder-rules secondary entry point of aca-content

* [ACA-4538] Fix folder rules imports

* [ACS-4538] Fix folder-rules unit tests

* [ACS-4538] Fix package.json after folder rules transition

* [ACS-4538] Remove duplicated peerDependency

* [ACS-4538] Import fix
2023-06-16 14:55:04 +02:00
MichalKinas
16e14421cd [ACS-5287] Remove rebase workflow (#3217) 2023-05-22 12:21:15 +02:00
MichalKinas
19e31adbb9 [ACS-5186] Stop upstream workflow from failing when there are no new versions (#3206) 2023-05-19 12:56:08 +02:00
MichalKinas
38a6d8698b [ACS-5186] Use update version script for ADF upstream (#3197)
* [ACS-5186] Use update version script for ADF upstream

* [ACS-5186] Bump ADF and JS-API version

* [ACS-5186] Correct version

* [ACS-5186] Correct migration logic
2023-05-17 15:02:22 +02:00
MichalKinas
b04d0f226a [ACS-5188] Remove old ACA upstream (#3193) 2023-05-16 12:06:22 -04:00
MichalKinas
9603c0a36b [ACS-5186] Add new GH workflow for ADF upstream (#3191) 2023-05-15 10:05:40 -04:00
MichalKinas
3ca4a91389 [ACS-4539] Make ms-office as secondary point of aca-content (#3180)
* [ACS-4539] Make ms-office as secondary point of aca-content

* [ACA-4539] Fix tsconfig path

* [ACS-4539] Run ms-office unit tests as part of aca-content
2023-05-10 09:43:51 +01:00
Denys Vuika
efda5d1461 [ACA-4646] Upgrade to Node 18 (#3163)
* regenerate lock file

* switch gha to node 18

* fix dependencies for Node 18

* fix the ci/cd command invokation

* update readme

* fix run-e2e command

* fix artifact name for e2e test results
2023-05-05 16:37:51 +01:00
MichalKinas
5fa5ac4117 [ACA-4695] Fix saving screenshots for E2Es, add nx eslint plugin (#3148)
* [ACA-4695] Fix saving screenshots for E2Es, add nx eslint plugin

* [ACA-4695] Improve eslint rules
2023-04-26 12:25:36 +02:00
swapnil-verma-gl
9148ccc6a9 [ACA-4679] Added code changes and env variables to enable DownloadPrompt and FileAutoDownload features on ACA (#3127)
* [ACA-4679] Added docker variables, app.config.json.tpl config and additional code for enabling non-responsive file preview download and file auto download features in ACA

* [ACA-4679] Added defaults for downloadPrompt for viewer and fileAutoDownload features. Updated variable names from 'nonResponsiveDialog' to 'downloadPrompt'

* [ACA-4679] Added unit test cases for FileAutoDownloadService

* [ACA-4679] Updated env variable references from NonResponsiveDialog to DownloadPrompt

* [ACA-4679] Added missing licence header on new files

* [ACA-4679] Added env variable configuration for GithubActions jobs

* [ACA-4679] Added env variable configuration for GithubActions jobs

* [ACA-4679] Removed unneeded env variable configuration for GithubActions jobs

* [ACA-4679] Updated .env file configuration in README.md
2023-04-20 18:14:13 -04:00
Denys Vuika
3f805b0e25 release workflow fixes for docker tags 2023-04-11 09:39:41 +01:00
MichalKinas
5f05499224 [ACA-4651] Fix build config in GHA (#3088) 2023-03-26 06:23:08 -04:00
Denys Vuika
c3b9886edf cleanup GitHub actions (#3071)
* cleanup GHA

* remove unused parameters

* consolidate actions, improve readability

* remove unused files

* restore fetch depth
2023-03-22 12:48:53 -04:00