6627 Commits

Author SHA1 Message Date
loictrichaud
6c08231f33 fix adf-delete directive NodeResult (#4827) 2019-06-10 14:26:49 +01:00
arditdomi
117050decf [ADF-4421] Fix excluded tests (#4829) 2019-06-10 12:47:46 +01:00
arditdomi
4ea656e537 [ADF-4441] Save button should be disabled when form fields are invalid (#4817)
* [ADF-4441] Save button should be disabled when form inputs are invalid, Refactored disable custom outcome buttons unit tests

* [ADF-4441] add missing space

* [ADF-4441] Refactor failing unit tests

* [ADF-4441] Added documentation for disableSaveButton property
2019-06-10 12:01:58 +01:00
Eugenio Romano
3e1092d7bf
Update process-custom-filters.e2e.ts 2019-06-10 10:27:50 +01:00
Eugenio Romano
da5258edcd
Revert "[ADF-4421] Fix excluded tests in task filters (#4721)" (#4824)
This reverts commit 51f0a2da472d19aa21d8bfab776a7a9700f0de20.
2019-06-07 18:48:41 +01:00
arditdomi
51f0a2da47 [ADF-4421] Fix excluded tests in task filters (#4721) 2019-06-07 16:27:48 +01:00
Eugenio Romano
8a2a71d60b fix build cli 2019-06-07 10:46:27 +01:00
Geeta Mandakini Ayyalasomayajula
7a3e2932bb [ADF-4462] - Should be possible to restore an old version of your file and the document list updated (#4708)
* ADF-4462 automated
2019-06-06 18:20:15 +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
Denys Vuika
99f4b07878 [ADF-4496] Share dialog enhancements (#4705)
* raise snackbars on unshare errors

* remove time from datepicker

* update tests

* Update en.json

* code updates as per review

* update docs

* bind datetimepicker type attribute

* set datetimepicker type by configuration or default

* tests

* e2e test

* update docs

* e2e set sharedLinkDateTimePickerType config
2019-06-06 16:32:36 +01:00
cristinaj
c3b1300d86 Add test for delete standalone task and cancelled process. (#4809) 2019-06-06 11:26:08 +01:00
Cilibiu Bogdan
f18d534f9e update documentation (#4814) 2019-06-06 11:17:22 +01:00
Cilibiu Bogdan
cb25979a00 mirror mat icon when direction is rtl (#4815) 2019-06-06 11:13:07 +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
Suzana Dirla
3d73e94b5d [ADF-4402] Move component related styles from demo-shell to ADF components (#4808)
* [ADF-4402] remove styling of non-existent items

* [ADF-4402] remove not needed style - bcs overwritten by style from core

* [ADF-4559] remove demo-shell only class from core styling

- use class name from core component for styling

* [ADF-4402] remove not used styling code

- .adf-app-layout-toolbar no longer exists, so no need keep its style

* [ADF-4402] move style from demo-shell to core

- same style was needed in ACA, so probably should be best in core ADF

* [ADF-4402] remove not used styling code

* [ADF-4402] move adf-toolbar-title style from demo-shell to core

* [ADF-4402] remove not used styling code

* [ADF-4402] use existing css class

* [ADF-4402] remove style already set from pagination component

* [ADF-4402] remove not used styling code

* [ADF-4402] viewer toolbar width
2019-06-05 16:01:38 +01:00
Maurizio Vitale
67485daece [ADF-4550] Form Cloud - Be able to upload a file on the content taken from the process-storage (#4807)
* * Process-storage

* * Used jsapiServcie

* Be able to upload a file on the content with the createNode api

* Fix lint

* Refactor

* * Removed needless method.

* Remove useless method

* Add properties type
2019-06-05 15:46:28 +01:00
Cilibiu Bogdan
0684098f60 [ADF-4626] Breadcrumb - directionality styling (#4810)
* direction styling

* remove text align
2019-06-05 15:01:05 +01:00
Cilibiu Bogdan
0cfc5bc1b7 [ADF-4625] Search Input does not respect RTL mode (#4806)
* configurable animation

* bind state attribute to value

* configure animation state based on direction

* update tests

* lint

* direction style
2019-06-04 09:15:44 +01:00
mcchrys
656eeaf017 [ADF-4034] Task list cloud - The Deleted task is changing the Status from "Deleted" in "Canceled" (#4803)
Removed DELETED status
Modified unit test to check recent changes
2019-06-04 09:08:39 +01:00
Geeta Mandakini Ayyalasomayajula
2b05f72a2f [ADF-4577] - Should display the processId when Process Definition has process name missing (#4802)
* updated the Test case in TestRail, basically if there is no process name in the process definition, then in the dropdown the processId is displayed and allows the user to start a process using that.

* updated the simpleapp to have a few more processes definitions which will enable to add new e2e tests.

* linting fixes
2019-06-03 17:19:54 +01:00
Cilibiu Bogdan
148f9830aa fix textOrientation value (#4805) 2019-06-03 17:15:37 +01:00
arditdomi
5392f3d229 [ADF-4527] Fix buttons duplication error in taskFormCloudComponent (#4804) 2019-06-03 17:01:05 +01:00
arditdomi
3d67d9dc75 [ADF-4552][ADF-4482] Social component refactoring, add ability to unRate, added e2e automation (#4749)
* [ADF-4552] Rating component refactoring, add ability to unRate

* [ADF-4552] RTL support added

* [ADF-4552] Improve behaviour and styling structure in RTL languages

* [ADF-4552] Improve behaviour and styling structure in RTL languages

* [ADF-4552] Added refresh rating when the node Id input changes

* [ADF-4552][ADF-4482] Refactor social component, add ability to unrate, add e2e automation

* [ADF-4552][ADF-4482] Added unsibscribe from Observables, added css variables, removed unused class id's

* [ADF-4552][ADF-4482] Improve structure and behaviour of e2e automation tests

* [ADF-4552][ADF-4482] Improve structure and behaviour of e2e automation tests

* [ADF-4552][ADF-4482] fix expected single space

* [ADF-4552][ADF-4482] fix lint check failure

* Fix circular dependency error
2019-06-03 14:27:13 +01:00
davidcanonieto
b19646d201 [ADF-4232] Fix filePreviewPage methods to reach expectations (#4668)
* [ADF-4232] Fix filePreviewPage methods to reach expectations

* [ADF-4232] Implement new methods

* Fix word spelling

* [ADF-4232] Fix e2e test and rebase

* Rebase branch

* [ADF-4232] add test for reset zoom check

- remove un-reached expects from filePreviewPage

* [ADF-4232] better naming - review changes

* [ADF-4232] no sleep(s), more timeout

* [ADF-4232] some code clean up

* [ADF-4232] some code clean up

* [ADF-4232] refactoring - renaming

* [ADF-4232] refactoring

* [ADF-4232] refactoring move expects to test - code review changes

* [ADF-4232] remove unused methods

- these already exist on viewerPage.ts

* [ADF-4232] remove duplicated code

- use viewerPage instead of filePreviewPage

* [ADF-4232] reset to original timeout in afterAll
2019-06-03 14:24:53 +01:00
Marouan Bentaleb
7611268bd9 [ADF-4613] Fixing tag-component.e2e.ts (#4793)
* [ADF-4613] Enabling tests

* [ADF-4613] Make tag-component tests more stable
2019-05-31 15:40:06 +01:00
Deepak Paul
7eb9ffe688 [ADF-4546] Visibility conditions for Form variables don't work on Multiline Widget. (#4786)
* * Finding variable values by id & used date format

* * Tests to validate visibility by using id

* * [ADF-4529] Refactor conditions

* [ADF-4529] Fixed cloud form editor script error
2019-05-31 13:58:45 +01:00
Silviu Popa
30c42d17d0 [ADF-4530] StartTaskCloud - fix process definition list for empty names (#4790)
* [ADF-4530] - reset filtered process when value it's empty or invalid

* [ADF-4530] - lint

* [ADF-4530] - fix unit test

* [ADF-4530] StartTaskCloud - fix process definition list for empty names

* [ADF-4530] - lint

* [ADF-4530] - add unit test

* [ADF4530] StartProcess - revert changes

* [ADF-4530] - revert changes
2019-05-31 11:48:19 +01:00
Silviu Popa
6040f59391 [ADF-4461] FormCloud - fix date validations (#4776)
* [ADF-4443] FormCloud - fix date validations

* [ADF-4443] - add save validation

* [ADF-4443] - PR changes

* [ADF-4443] FormCloud - fix date validations

* fix unit tests

* [ADF-4443] - add save validation

* [ADF-4443] - PR changes

* Revert changes on save form

* Revert check form valid on save
2019-05-31 11:44:33 +01:00
Eugenio Romano
8b5038218e
Update shareDialog.ts
use the right moment format for share dialog pointer
2019-05-31 10:40:17 +01:00
Deepak Paul
f27846ec5b [ADF-4544] Cloud Task From - Refresh the buttons and form after an action is complete (#4726)
* [ADF-4544] Reloaded task on action

* [ADF-4544] Changed routing in demo component

* [ADF-4544] Added tests
2019-05-31 10:07:08 +01:00
Silviu Popa
892172150e [ADF-4586] - fix preselecting value for DropdownCloud (#4747)
* [ADF-4586] - fix preselecting value for DropdownCloud

* ADF-4586] - fix form complete for dropdown and tests

* [ADF-4586] - add FormRenderingService as provider

* [ADF-4586] - fix memory leaks

* [ADF-4586] - add type information

* [ADF-4586] - fix memory leak on dropdown

* [ADF-4589] - PR changes

* [ADF-4586] - fix unit tests

* [ADF-4586] - lint
3.3.0-beta4
2019-05-30 18:13:41 +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
davidcanonieto
cccd95562c Fix pre-commit hook (#4792)
* Fix pre-commit hook

* Remove excluded files from tslint lib config
2019-05-30 17:47:58 +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
Cilibiu Bogdan
9cf6f5519c [ADF-4579] Layout - RTL support (#4741)
* single contentAnimation state

* fine tune contentAnimation state based on direction and position

* tets

* fix mock component inputs

* use native direction attribute

* update docs

* pass direction to calculate sidenav layout

* update test

* fix unit test

* remove dialogs directionality workaround

* set document directionality service

* remove context menu direction workaround

* remove unneeded dependencies

* remove direction style workaround

* remove permission icon direction

* remove sidenav layout direction attribute

* update docs

* update sidenav layout direction

* test

* remove document type

* update test dependencies

* clear storage before test

* test

* fix dl gap

* try to fix Uncaught QuotaExceededError

* fix QuotaExceededError

* fix tests

* fix tests
2019-05-29 16:17:13 +01:00
Francesco Corti
f3e90298e6 Update of upgrade paths. (#4789) 2019-05-29 14:28:41 +01:00
Deepak Paul
d571480ddd [ADF-4576] Remove duplicate getDeployedApplicationsByStatus service (#4740)
* * Remove overriding & added appconfig apps support

* * Added tests

* * Updated docs

* [ADF-4576] Made one service private

* * Fixed tests

* * [ADF-4576] Improved tests
2019-05-28 18:08:38 +01:00
cristinaj
90617ee3fd [ADF-4477]Add a new check related to endDate (#4694)
* Add a new check related to endDate

* Update task-header-cloud.e2e.ts

* Split the variables.

* no message
2019-05-28 17:40:34 +01:00
Silviu Popa
f62236b916 [ADF-4598] StartTask - revert start task assignee and candidateGroups validations (#4785)
* [NO_ISSUE] - revert start task assignee and candidateGroups validations

* [ADF-4598] - fix unit tests
2019-05-28 17:37:36 +01:00
davidcanonieto
f2f08a5bf8 [ADF-4529] Enable form configuration from e2e tests (#4738)
* [ADF-4529] Enable form configuration from e2e tests

* Improve linting

* Move form methods to new  file
2019-05-28 15:27:26 +01:00
cristinaj
36faed0fab [ADF-4609]Logging the response in case of error. (#4784)
* Logging the response in case of error.

* Enable all cloud tests

* no message

* no message

* Comment failing tests
2019-05-28 11:09:19 +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
arditdomi
6897f20954 [ADF-4466] Fix alignment issues - IE11 (#4772)
* [ADF-4466] Fix alignment issues - IE11

* [ADF-4466] Fix implementation from demo shell specific to generic

* [ADF-4466] Remove unused query for IE11
2019-05-24 16:41:19 +01:00
Marouan Bentaleb
5cd0bc9899 Disable tag-component test (#4782) 2019-05-24 15:32:38 +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
Marouan Bentaleb
65ceaee910 Skip failing tests (#4770) 3.3.0-beta3 2019-05-23 14:57:11 +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