Commit Graph

107 Commits

Author SHA1 Message Date
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
Kristian Dimitrov
509bb5ee93 [ACS-4922] Fix Playwright e2es
* [ACS-4922] Fix Playwright e2es

* [ACS-4922] Try pointing to acadev instead of localhost

* [ACS-4922] Set Playwright env vars to secrets.PLAYWRIGHT_E2E_HOST
2023-03-22 11:56:00 -04:00
Denys Vuika
36c5c39311 [ACS-4535] rework docker publishing actions (#3068)
* rework docker publishing actions

* simplify steps

* rollback AWS credentials
2023-03-16 13:26:45 -04:00
Denys Vuika
eba0f9aef8 remove travis remains (#3051) 2023-03-14 17:01:56 -04:00
Maurizio Cacace
680319596a ACS-4814 - Use PR id for library publishing (#3061)
* ACS-4814 Use PR id for library publishing

* ACS-4814 Use PR id for library publishing
2023-03-14 04:25:48 -04:00
Denys Vuika
b939d1c582 [ACS-4792] provide support for style linting (#3055)
* [ACS-4792] provide support for style linting

* style fixes

* style fixes

* style fixes

* disable yarn licenses until the issue is fixed

* fix package lock

* fix after rebase
2023-03-14 04:16:36 -04:00
Denys Vuika
c996d7d7d1 fix publishing upon PR merge (#3056)
* fix publishing upon PR merge

* release alphas on push to develop

* do not run PR workflow on merges

* add pull request types
2023-03-13 06:18:28 -04:00
Denys Vuika
2ccf6cb238 [ACA-4668] cancel previous jobs in the workflow (#3052) 2023-03-10 04:25:00 -05:00
Denys Vuika
2a32fadb52 Revert "try fetch all branches"
This reverts commit fc985c91d1.
2023-03-08 16:13:47 +00:00
Denys Vuika
fc985c91d1 try fetch all branches 2023-03-08 16:07:07 +00:00
Denys Vuika
4933b1db42 [ACA-4649] release workflow enhancements (#3043)
* move update versions of libs to shell script

* unify packaging script

* update package.json repository

* change github token
2023-03-07 11:12:57 -05:00
Denys Vuika
0b55af2c32 [ACA-4649] fix NPM registry address 2023-03-07 14:26:28 +00:00
Denys Vuika
c0e01fc6ab Revert "[ACA-4649] fix token propagation"
This reverts commit d939caa5d9.
2023-03-07 14:25:49 +00:00
Denys Vuika
d939caa5d9 [ACA-4649] fix token propagation 2023-03-07 14:04:45 +00:00
Denys Vuika
ab900f9c41 [ACA-4649] fetch all tags for tagging check 2023-03-07 13:24:31 +00:00
Denys Vuika
4a681f331d [ACA-4649] set write permissions for gha 2023-03-07 13:18:46 +00:00
Denys Vuika
cf7118cedc [ACA-4649 load all tags for git publishing 2023-03-07 13:14:57 +00:00
Denys Vuika
b67a73d832 [ACA-4649] release workflow fixes (#3041)
* release workflow fixes

* fix release triggering on push to master

* cleanup
2023-03-07 06:06:34 -05:00
Denys Vuika
b937e23281 [ACA-4649] GitHub Actions workflow fixes (#3039)
* use commit message only where needed

* remove merge checks

* remove merge checks
2023-03-06 16:13:14 -05:00
Denys Vuika
3fb91eeafc [ACA-4653] fix release actions (#3029)
* fix publish libs action

* push tags only for master

* fix publishing only for master

* fix leaking sensitive info in the echo

* fix publish script and passing branch name to action

* fix incorrect travis branch

* consistent input naming

* npm tag as input

* Update .github/workflows/release.yml

Co-authored-by: Giovanni Toraldo <me@gionn.net>

* Update .github/workflows/release.yml

Co-authored-by: Giovanni Toraldo <me@gionn.net>

* remove not really necessary workflow_call triggers

* fixup job conditionals with ref_name

* setup job is not really doing anything useful

* add setup node to npm publish step

* add missing npm install to publish libs

* Update scripts/travis/deploy/publish.sh

Co-authored-by: Alex Chapellon <alxgomz@gmail.com>

* Update scripts/travis/deploy/publish.sh

Co-authored-by: Alex Chapellon <alxgomz@gmail.com>

* Update .github/actions/git-tag/action.yml

Co-authored-by: Alex Chapellon <alxgomz@gmail.com>

---------

Co-authored-by: Giovanni Toraldo <me@gionn.net>
Co-authored-by: Giovanni Toraldo <giovanni.toraldo@hyland.com>
Co-authored-by: Alex Chapellon <alxgomz@gmail.com>
2023-03-06 08:05:14 -05:00
MichalKinas
e38e72a8e0 [ACA-4653] Migrate release workflow to GHA (#3027)
* [ACA-4653] Run ACA upstream on schedule

* [ACA-4653] Migrate release workflow to GHA

* [ACA-4653] Consistency in naming

* [ACA-4653] Use GH action to configure GH author

* [ACA-4653] Dedicated sh for publish Docker image job

* [ACA-4653] Add missing variables

* [ACA-4653] Delete Travis.yml

* [ACA-4653] CR fixes

* [ACA-4653] Add branch name as action input

* [ACA-4653] Proper env var usage in workflow
2023-03-03 12:40:37 -05:00
MichalKinas
7bf6c8f137 [ACA-4666] Make finalize fail if any previous check fails (#3024) 2023-03-02 14:02:46 +01:00
MichalKinas
01f7e3c287 [ACA-4652] Run unit tests as one GH job, add e2es as GH job (#2997)
* [ACA-4652] Run unit tests as one GH job, add e2es as GH job

* [ACA-4652] Fix yaml syntax

* [ACA-4652] Fix if syntax

* [ACA-4652] Correct syntax

* [ACA-4652] Correct syntax

* [ACA-4652] Each job must contain uses or run

* [ACA-4652] Migrate uploading/downloading build artifacts, migrate before install

* [ACA-4652] Fix bad substitution

* [ACA-4652] Fix string merging in bash

* [ACA-4652] Bash fix

* [ACA-4652] Install aws before downloading/uploading artifacts

* [ACA-4652] Add setup with aws config action

* [ACA-4652] Add aws-region

* [ACA-4652] Use aws default region

* [ACA-4652] Log github event

* [ACA-4652] Log workflow run

* [ACA-4652] Fix commit logging

* [ACA-4652] Use action to get current commit msg

* [ACA-4652] Add correct version of build tools

* [ACA-4652] Get commit msg from env

* [ACA-4652] Get commit msg in the same job

* [ACA-4652] Final commit msg test

* [ACA-4652] Fix logging

* [ACA-4652] Cleanup commit msg, correct s3 bucket

* [link-adf:AAE-12767] Test adf linking

* [link-adf:AAE-12767] Test adf linking finalize

* [link-adf:AAE-12767] Tweak finalize job

* [link-adf:AAE-12767] Get commit msg in before install

* [link-adf:AAE-12767] Add missing adfprod configs

* [ACA-4652] Migrate before and after e2e scripts to GHA

* [ACA-4652] Add before e2e logging

* [ACA-4652] Use new GH secrets

* [ACA-4652] Remove logs, add envsub

* [ACA-4652] Install envsub globally

* [ACA-4652] Log replaced config

* [ACA-4652] Add missing env variable

* [ACA-4652] Add e2e run as GH action

* [ACA-4652] Remove logging, fix download path

* [ACA-4652] Disable protractor smartrunner artifact

* [ACA-4652] Install webdriver-manager

* [ACA-4652] Disable failing download on Travis, npm ci in before e2e

* [ACA-4652] Missing shell

* [ACA-4652] Restore artifact download

* [ACA-4652] Download smartrunner artifact only when present

* [ACA-4652] Check run attempt

* [ACA-4652] Correct attempt check

* [ACA-4652] Stop running e2es in Travis for now

* [ACA-4652] Run Travis e2es again, add test suite id

* [ACA-4652] Add test suite id to after e2e action

* [ACA-4652] Remove additional install

* [ACA-4652] CR fixes, remove some Travis config that is already migrated

* [ACA-4652] Cleanup setup leftover

* [ACA-4652] Propagate aws credentials

* [ACA-4652] Fix aws default region

* [ACA-4652] Misspelled variable fix

* [ACA-4652] Propagate aws region

* [ACA-4652] Rename PR workflow

* [ACA-4652] Download artifact only if bucket exists

* [ACA-4652] Run test even is aws bucket doesn't exist

* [ACA-4652] Fix aws download error

* [ACA-4652] Check if file exists before downloading

* [ACA-4652] Remove uploading/downloading e2e artifact after successful run

* [ACA-4652] Add missing check to finalize stage
2023-03-02 03:35:13 -05:00
MichalKinas
801969c518 [ACS-4632] Downgrade node version, small script fix (#2993) 2023-02-15 19:45:28 +01:00