334 Commits

Author SHA1 Message Date
Eugenio Romano
609ae3a3ff
fix content service document list action test (#5027)
* fix content service document list action test

* restore build.sh

* perform twice movement mosue for right click for avoid bug in non headless chrome

* change sso ref element present

* change sso ref element present
2019-08-28 23:25:06 +01:00
maurizio vitale
09d3710bcf Get the latest alpha before the install 2019-08-28 16:52:53 +01:00
Eugenio Romano
151fef16f4
Check remote env if is full before to start the e2e CS (#5024)
* add check remote env full

* Update check-cs-env.js
2019-08-28 15:58:07 +02:00
davidcanonieto
8a48738b99 [ADF-4825] Use ADF-CLI in ADF for versions and latest commit (#4994)
* [ADF-4825] Use ADF-CLI in ADF for versions and latest commit

* Add documentation

* Update update-version.ts

* Update release.sh

* Update update-project.sh

* Update release.sh

* Update update-project.sh

* Update release.sh

* Update update-project.sh

* Update README.md

* Rebase branch

* Update package.json

* Update build.sh

* Update package.json
2019-08-28 11:01:00 +01:00
Maurizio Vitale
d8961ea904
[ADF-4850] Travis add check bundle size and docker publish (#5023)
* Add a check bundle job after the release

* Add a docker push step and update rancher

* Split update rancher in a different job

* Split update rancher in a different job

* Install the adf-cli

* Run docker publish and rancher update only on push

* Use the adf-cli local code
2019-08-27 16:09:00 +01:00
Eugenio Romano
30d03cf540 fix clean script 2019-08-27 10:30:35 +01:00
maurizio vitale
8875113a4a Run the clean before building 2019-08-21 10:02:08 +01:00
maurizio vitale
3b4f3ae7b7 Revert change on update version 2019-08-20 23:22:25 +01:00
maurizio vitale
89b832ff18 Rollback mistake on update-version.sh 2019-08-20 22:37:52 +01:00
maurizio vitale
9bd08f4968 Change the version before building 2019-08-20 17:47:22 +01:00
maurizio vitale
711a461f8b Enable the npm install on push branch 2019-08-20 15:12:32 +01:00
Eugenio Romano
0650502b8a remove obsolete option from test-e2e 2019-08-19 22:35:16 +01:00
Eugenio Romano
83412bb9b6
Disable control flow e2e ADF (#4954)
* update project script possible different JS-API

* first commit no controll flow

* second commit no controll flow

* third commit no controll flow

* 4 commit no controll flow

* 5 commit no controll flow

* 6 commit no controll flow

* 7 commit no controll flow

* 8 commit no controll flow

* 9 commit no controll flow

* 10 commit no controll flow

* 11 commit no controll flow

* 12 commit no controll flow

* 13 commit no controll flow

* 14 commit no controll flow

* 15 commit no controll flow

* 16 commit no controll flow

* 17 commit no controll flow

* 18 commit no controll flow

* 19 commit no controll flow

* 20 commit no controll flow

* remove wdpromise, protractor promise and deferred promises

* - fixed some incorrect “expect” calls
- fixed some matchers
- removed “return this;” when not needed
- added a few more await-s

* forgot a file

* fix some failing tests

* replaced driver calls with browser calls and enabled back waitForAngular

* fix rightClick methods and hopefully some tests

* fix settings-component

* some more fixes for core and content tests

* try to fix some more issues

* linting

* revert some changes, allowing download on headless chrome won’t work with multiple browser instances

* fixes for Search tests

* try to remove some wait calls

* fix build

* increase allScriptsTimeout and try another protractor and web driver version

* improve navigation methods

* some fixes for notification history and login sso

* forgot a space

* fix packages and enable some screenshots

* navigation bar fixes

* fix some test

* some fixes for notification history and navigation bar
use correct visibility method in attachFileWidget test

* fix searching and another fix for navigation

* try solve sso login

* some more fixes

* refactor async forEach into for..of

* try fix for search tests

* resolve rebabse problems

* remove install

* fix lint

* fix core e2e

* fix core e2e

* fix core e2e

* fix ps tests

* fix some tests

* fix core e2e

* fix core e2e

* fix core

* fix some issues PS

* fix core

* fix core

* fix some ps test

* fix rebase issues

* remove save

* fix url regressed after rebase

* fix url regressed after rebase

* fix ps and core

* fix lint

* more parallel e2e ps

* fix some ps cloud test

* some cloud fix

* fix lint

* fix some test

* remove files to be ignored

* out-tsc

* improve one cs test

* fix candidate base app

* fix ps test

* remove click function

* clean methods alrady present in browser action

* try ugly wait

* move wait

* remove duplicate call

* remove underscore

* fix after review

* fix imports

* minor cosmetic fixes

* fix comments test
2019-08-17 14:32:02 +02:00
Eugenio Romano
4d5ab95c15 fix pipeline day release 2019-08-09 15:06:33 +01:00
Eugenio Romano
f04c135377
Fix e2e test (#4981)
* fix core viewer

* increase rendition retry

* sso refresh before test

* general fix test

* try use last proxy

* avoid use proxy

* remove proxy

* fix setting tests

* fix share and sso test

* fix lint exclude

* fix sso

* fix some process services cloud e2e

* fix sso download

* exclude sso test

* fix cloud

* add logout content service test

* add logout core

* add logout search

* redefine global before all

* separate protracotr method

* try

* try multiple attempt before all

* add prefix group and users

* add prefix group and users

* add prefix group and users

* rexecute sso test

* fix process service visibility e2e

* split SSO login test

* fix SSO download

* fix SSO download

* fix some cloud issues

* fix some cloud issues

* fix some cloud issues

* share file fix cs

* fix cloud test
2019-08-08 17:52:45 +02:00
Denys Vuika
4c73b8266d Revert "update build cli script"
This reverts commit 08c96b3ff8d2a05b0ac9b8f8685921d2c16ab973.
2019-08-07 16:00:32 +01:00
Denys Vuika
08c96b3ff8 update build cli script 2019-08-07 15:28:04 +01:00
Eugenio Romano
6ca04ee929 fix script update 2019-08-02 11:52:47 +01:00
Eugenio Romano
c9cf51a1f6
update project script possible different JS-API (#4949) 2019-07-20 20:47:16 +02:00
Eugenio Romano
e2311ab045 fix simpleapp and check-activiti script 2019-07-16 15:47:57 +01:00
Maurizio Vitale
34aafa918c AdfCli - Add the kubectl-image to the adf-cli (#4932)
* Add the kubectl-image to the adf-cli

* fix ts lint

* remove the " from the image name
2019-07-15 11:16:35 +01:00
Eugenio Romano
123e9b2c77 fix smart build script 2019-07-13 11:49:16 +01:00
Eugenio Romano
d0d1154f84 add workspace in automatic update 2019-07-12 12:55:56 +01:00
Eugenio Romano
10587dd842
Refactor e2e PS-Cloud and add sleep before query (#4919)
* add sleep before query process service and refactor resources process name

* fix spell problem and increase size build check core
2019-07-11 16:25:26 +01:00
Maurizio Vitale
a6e18e6c1b [ADF-4733] Create an adf-cli dispatcher to run the docker-publish (#4914)
* Create an adf-cli dispatcher to run the docker-publish

* not needed

* fix typo comma

* Create the adf-cli dist folder that contains
-bin
-script
-package.json

Build the dist folder during the ADF CI/CI pipeline
2019-07-10 15:06:35 +01:00
Eugenio Romano
72eab9e84d fix script 2019-06-25 13:00:05 +01:00
Eugenio Romano
fac04a9707 add logs 2019-06-18 18:35:20 +01:00
Eugenio Romano
73b871a233 fix deploy pr script 2019-06-17 14:15:55 +01:00
Eugenio Romano
f47cebc0a4
[ADF-4665] [ADF] - Application is refreshed when you have two instances of application opened (#4849)
* refactoring getValueFromToken and fix user token refresh

* refactoring getValueFromToken and fix user token refresh

* refactoring getValueFromToken and fix user token refres

* fix unit test
2019-06-14 16:02:12 +01:00
Eugenio Romano
ecb8410d1b fix pr deploy script 2019-06-12 18:01:13 +01:00
Eugenio Romano
1c412ab15f
new translation files (#4840) 2019-06-11 19:44:17 +01:00
Eugenio Romano
cb37254cae
[ADF-4637] logout cross tabs event (#4823)
* logout cross tabs event

* fix remove listner

* fix remove listner

* Update auth-guard.service.ts
2019-06-10 19:37:28 +01:00
Eugenio Romano
8a2a71d60b fix build cli 2019-06-07 10:46:27 +01:00
Eugenio Romano
5e54cd4d43
Increase timeout and modify login async (#4795)
* increase timeout and modify login async

* run e2e if testing is changed

* improve cdk fix

* fix travis update projects

* disable ghostMode lite server

* lint fix

* fix timeout

* multiple try

* Update content-services-e2e.sh

* Update search-e2e.sh

* Update process-services-e2e.sh

* Update core-e2e.sh

* Update protractor.conf.ts

* fix unit

* remove async

* increqase notification time

* 3 parallel

* dix path issue in save

* small refactor protractor ts

* fix save

* create license check first script adf cli

* modify regex check

* refactor notification history component

* decrease notification

* fix notification message problem

* fix test

* update packages wit high risk

* revert cahnge login sso e2e

* fix dep

* fix documentation duplication and issue

* fix after review

* fix after review

* try 6 parallel test

* back to 3 parallel test no real time improve with 6
2019-06-06 16:47:50 +01:00
Geeta Mandakini Ayyalasomayajula
e65e32e0cf Enable tests and add a newly created user to run the tests. (#4796)
* enabled tests and added the new user to run the tests.

* lint fix

* adding a new user and add the user to hr group which will be used when deploying the apps.

* Test commit

* adding a new user and add the user to hr group which will be used when deploying the apps.

* linting fixes

* crc's moved the roles constants to identityService.

* crc's moved the roles constants to identityService.

* wrapped the createIdentityUser and assign Role calls into 1 method and used in the tests.

* wrapped the createIdentityUser and assign Role calls into 1 method and used in the tests.

* Added a method in identityService to pass the required roles to be added in a string array.

* linting fixes

* added the command line arguments to run the e2e tests -identity_admin_email and -identity_admin_password

* added the command line arguments to run the e2e tests -identity_admin_email and -identity_admin_password

* crc's, removed the step to add user to the hr group, as not needed in this test.

* renamed the E2E travis variable to end with identity.

* replaced the candidateuserapp with candidatebaseapp

* replaced candidateuserapp with candidatebaseapp

* replaced candidateuserapp with candidatebaseapp

* replaced candidateuserapp with candidatebaseapp

* timeout wait for the test to pass.

* crc's
2019-06-06 11:12:05 +01:00
Eugenio Romano
ce60915fd9
Reorg script moving in folders (#4791)
* organize script in folder part 1

* improve test e2e

* fix smart build script

* fix relative path
2019-05-30 17:59:22 +01:00
Eugenio Romano
b91a942aa1
Multiple option env file (#4788)
* multi configuration file enabling

* improve ignore

* update i18n tool dep

* update webbpack bundle analyzer version

* fix ps cloud test wait setting

* fix script content

* remove use of testconfig for browser options

* convert protractor to ts

* download browser util fix
2019-05-30 11:15:15 +01:00
Cilibiu Bogdan
9aafb80483 [ADF-4601] DemoShell - Side navigation RTL support (#4768)
* rtl support

* fix lint

* Run e2e in case demoshell has been changed

* Skip file

* Skip file

* remove demoshell directive

* refactor side navigation

* remove env.cloud file

* class name selectors

* side navigation selectors

* fix clickMenuButton selector

* nested menu element context

* fix notification navigation selector
2019-05-29 20:02:15 +01:00
Maurizio Vitale
f6d8bd4130 CI - Ability to run only e2e cloud in case is the only affected folder (#4783)
* Remove skiplint option in favour of lint
Refactor protractor config

* Move rebase check

* Remove the skiplint and run only e2e cloud

* Remove the skip lint

* Change e2e cloud and check the CI runs only that one

* Enable the smart e2e on content

* Delegate the e2e run on the specific project

* Fix typo on specs option

* Add basic readme and fix process service name problem

* Fix bash else if
2019-05-28 11:04:40 +01:00
davidcanonieto
894a9599a9 Fix e2e tests dist issue (#4779)
* Fix e2e tests dist issue

* Fix linting

* Add await to asyncronous function

* fix lintint
2019-05-24 15:32:09 +01:00
Denys Vuika
7f4e301ec0 run lint after npm install 2019-05-24 13:00:58 +01:00
Suzana Dirla
215f8106ca [ADF-4612] fix linting on npm-build-all script (#4778) 2019-05-24 12:39:03 +01:00
Maurizio Vitale
abb76d956b e2e cloud (#4767)
* Change strategy with process cloud e2e and fixes

* Change strategy with process cloud e2e and fixes

* Fix path and host

* improve the config and run the replace for cloud

* Use the same name of other scripts

* Fix lint

* Run the replace in case of cloud

* typo

* Export variables if needed
Fix the check env passing the oauth
2019-05-23 10:24:32 +01:00
Marouan Bentaleb
5e7aabfaea [ADF-4547] Fixing flaky tests in Content Services and Core (#4743) 2019-05-22 14:57:20 +01:00
cristinaj
339a6e7a18 [ADF-4587] Fix e2e tests (#4757)
* Fix user_info test

* Removing duplication and hardcoded protocol

* Fix linting and update script

* Removing hardcoded protocol

* Add protocol to scripts

* Fix C260117

* Enable screenshots for cloud tests

* Update process-services-cloud-e2e.sh
2019-05-22 10:15:12 +01:00
Marouan Bentaleb
0bba08539e Adding debug option to test script (#4753) 2019-05-21 11:50:51 +01:00
Maurizio Vitale
1141511a07 Remove the dependency with TestConfig (#4752)
* Remove the dependency with TestConfig

* Change protocol to https

* Trigger the cloud change

* Trigger the cloud change
2019-05-20 18:11:01 +01:00
davidcanonieto
2f44c45903 Fix concurrently command use (#4748)
* Fix concurrently command use

* Command missing parameter

* Remove parallel linting

* fix script

* Fix build

* Run lint concurrently
2019-05-20 12:25:42 +01:00
davidcanonieto
514b31d975 Improve Rebase branch script (#4742)
* Improve Rebase branch script

* Improve Rebase branch script

* add comment
2019-05-17 16:46:29 +01:00
davidcanonieto
80da3e9932 [ADF-4569] Fix affected-libs.sh script (#4734)
* [ADF-4569] Fix affected-libs.sh script

* [ADF-4569] Create new script to check if branch is updated
2019-05-17 15:03:22 +01:00