693 Commits

Author SHA1 Message Date
arditdomi
14529da097
[AAE-1729] Move task-process filters methods into adf-testing, refactor dropdowns to use dropdown material testing page (#5467)
* [AAE-1729] Move task-process filters methods into adf-testing

* [AAE-1729] Add default filters methods in testing package

* [AAE-1729] Refactor testing package and e2e to use Dropdown testing page

* [AAE-1729] Rename function

* [AAE-1729] Fix failing e2e, add click and select dropdown method

* [AAE-1729] Fix e2e

* [AAE-1729] fix e2e

* [AAE-1729] Add default filters methods in testing package

* [AAE-1729] Slow down upload speed, fix cancel upload e2e

* [AAE-1729] Undo slow down upload speed, fix cancel upload e2e
2020-02-27 13:51:36 +00:00
davidcanonieto
159f0f94f3
[AAE-1881] Add E2E tests for document list actions (#5514)
* [AAE-1881] Add E2E tests for document list actions

* Improve code

* Fixing my stupidity
2020-02-26 17:12:36 +00:00
Eugenio Romano
e74e1e4ade
Fix cancel E2E (#5501)
* fix

* fix upload and remove unused fikes

* fix upload and remove unused fikes

* clean more

* fix cancel test

* unify names

* fix size

* fix cancel

* different timeout
2020-02-26 15:33:45 +00:00
siva kumar
5fb7879900
[AAE-2021] Automate About component (#5499)
* * Added unit tests to the about-github-link component.
* Removed unused css

* * Added unit tests to the about module and prodcut-version components

* * Automated about page

* * Fixed comments

* * FIxed failing unit tests on attach-file-widget component.

* * After rebase
2020-02-26 12:35:50 +00:00
arditdomi
56474bc96e
[AAE-1975] Add no results template when searching in People/Group clo… (#5479)
* [AAE-1975] Add no results template when searching in People/Group cloud component

* [AAE-1975] Add timeout for check no results e2e method

* [AAE-1975] Adapt unit tests, add no results checks

* [AAE-1975] Fix styling, remove error icon and red colour

* [AAE-1975] Remove timeout
2020-02-24 15:37:55 +00:00
siva kumar
9219fa249c
* Updated allwidgets form field ids* Used jsonplaceholder api to check service call. (#5502) 2020-02-24 10:11:43 +00:00
arditdomi
9e0e2bdfa6
[AAE-1933] Add dropdown testing page (#5491)
* [AAE-1933] Add process and task filters testing methods - check option is visible in dropdown

* [AAE-1933] Add dropdown page

* [AAE-1933] Remove methods replaced by dropdown page

* [AAE-1933] Fix dropdown methods not working

* [AAE-1933] Fix e2e

* [AAE-1933] Fix task-form-cloud e2e
2020-02-23 14:02:15 +00:00
arditdomi
2283af2384
[AAE-2001] Remove APS_USER APS_ADMIN roles from app permissions (#5487)
* [AAE-2001] Remove APS_USER APS_ADMIN roles from app permissions

* [AAE-2001] Add processadminuser to simpleapp and candidatebaseapp
2020-02-21 10:58:06 +00:00
siva kumar
bf11cd65ec
[AAE-2021] Unit tests for about components (#5496)
* * Added unit tests to the about-github-link component.
* Removed unused css

* * Added unit tests to the about module and prodcut-version components

* * After rebase
2020-02-21 10:12:42 +00:00
Eugenio Romano
1847768b56
[AAE-1848] fix kebab case files and add tlsint rule (#5481)
* fix kebab case files and add tlsint rule

* headless

* m 2 in e2e

* download file in headless chrome

* fix budget

* fix import

* fix import
2020-02-20 21:08:42 +00:00
siva kumar
c8c85891df
* Updated simple app with the upload and json process (#5469) 2020-02-12 09:07:45 +00:00
arditdomi
b49645316a
[AAE-1764] Fix testing methods checking visibility of widgets (#5457)
* [AAE-1764] Fix testing methods checking visibility of widgets

* [AAE-1764] Fix e2e failing because of method refactoring

* [AAE-1764] Fix widget visibility e2e
2020-02-11 12:20:42 +00:00
Eugenio Romano
3896ce2472 bump 3.7.0 2020-02-06 13:36:24 +00:00
Geeta Mandakini Ayyalasomayajula
446e4bb37e
AAE-1666 - updated simpleapp to test the multi-instance result collection (#5451)
* added 2 new forms 'mealform' and 'resultcollectionform' to simpleapp and updated the multiinstance-usertask process definition to have another task to display the output of the result collection.

* added the 2 new form names to the resources file.
2020-02-06 01:20:47 +00:00
Alexandra Abrudan
9276333352
[AAE-1453] added e2e tests for checking different configurations for people/group cloud widgets (#5446) 2020-02-06 01:18:30 +00:00
dhrn
4b1471d9c3
[ADF-5066] APS2 › Process List test need to be automated (#5441)
* [ADF-5066] APS2 › Process List test need to be automated

* fixed spell check error

* fixed errors

* taskname from resource

* fixed e2e

* fixed comments

* fixed declartions
2020-02-05 16:49:30 +00:00
Alexandra Abrudan
f20e158eaf [AAE-1152] added e2e tests for People and Group of people - CloudWidgets (#5372)
* [AAE-1152] added e2e tests for People and Group of people - CloudWidgets

* [AAE-1152] made code more readable

* [AAE-1152] added public-api file

* Fixing import in index.ts

* refactoring and creating public-api file
2020-01-21 17:38:34 +00:00
arditdomi
3c3aa7599a [AAE-1372] Refactor People/Group cloud component (#5355)
* [AAE-1372] Fix read-only preselected users can be deleted

* [AAE-1372] Fix people/group cloud component readonly mode

* [AAE-1372] Refactor People/Group Cloud components

* [AAE-1372] Refactor People/Group Cloud components

* [AAE-1372] Clear invalid user in single mode after replacing with a valid user

* [AAE-1372] Add progress bar while validation loading. When user gets removed remove from validation

* [AAE-1372] Fix lint errors

* [AAE-1372] Fix single selection e2e

* [AAE-1372] Fix unit tests - people/group cloud components

* [AAE-1372] Fix e2e, set People/Group formControls invalid when has preselect errors

* [AAE-1372] Fix invalid form control bug
2020-01-21 13:37:57 +00:00
cristinaj
fd74811639 [AAE-838]Add a method to wait until datatable contains less then a specific nr… (#5370)
* Add a method to wait until datatable contains less then a specific nr of rows. This could be useful for waiting for datatable to load when searching or filtering it

* Moved the method to pagination page

* Renamed the method
2020-01-15 14:44:40 +01:00
Eugenio Romano
a8c2a0b1e2
[AAE-1174] select first user info when open the first time (#5345)
* select first info user when open

* add early check to build the tabs

* fix lint

* try different solution
2020-01-13 11:24:03 +01:00
Maurizio Vitale
26677c6789
adf-cli command init-aae use the user based on the role (#5364)
* Reuse the common deployment and modeling api

* Add files to testing

* Pass parameters

* Travis initaae with correct parameters

* Travis initaae with correct parameters

* Add cli to the smart build
2020-01-10 17:02:16 +00:00
cristinaj
94e02c0552 [AAE-1361]Add complete task of a process method (#5359)
* Add complete task of a process method

* Removed completeTaskOfAProcess method. We will add this along with a proper refactoring

* Remove unnecessary check
2020-01-08 16:46:16 +00:00
Eugenio Romano
af51977db4
fix userinfo e2e (#5343) 2019-12-19 12:42:35 +00:00
cristinaj
5c1f02a1fd [AAE-865]Create card view text item PO (#5320)
* Create card view text item PO

* Changed back the puppeteer version

* Fix the rootElement locator

* no message

* Fix wrong rebase

* * Added unique data-automation-id on cardViewTextComponent.

* Changed data-automation-id for float
2019-12-19 08:50:34 +00:00
cristinaj
46d976e318 [AAE-641]Add tests for assignee not able to release process task (#5233)
* Add tests for assignee not able to release process task

* Changed the assignee of assigneeprocess process definition from admin.adf to hruser

* Changed the process used and changed random user to hruser
2019-12-17 12:42:07 +00:00
Alexandra Abrudan
2cc7fe7efe [AAE-1178] ADF - deleted un-necessary steps (#5335)
* [AAE-1178] e2e/pages/adf - deleted un-necessary steps waitUntilElementIsVisble & waitUntilElementIsClickable before click() action & clearSendKeys()

* [AAE-1178] lib & cloud - deleted un-necessary steps waitUntilElementIsVisble & waitUntilElementIsClickable before click() action & clearSendKeys()
2019-12-17 09:32:50 +00:00
cristinaj
9778ca67e7 [AAE-1180]Fix datatable tests (#5334)
* Fix datatable tests

* excluded some of the tests that depend on fixing the rendition service issue we have with ACS 6.2 => AAE-1237
2019-12-16 10:20:08 +00:00
cristinaj
d8b703b6ef Fixed the process definition name (#5321) 2019-12-10 16:17:10 +00:00
Cristina Jalba
c2f7cdb516 Add method to start a process knowing the name and the processDefinition 2019-12-09 08:02:34 +02:00
cristinaj
fcb83b8990 Add methods for form outcome buttons and info for simpleapp process and form (#5310) 2019-12-04 14:07:49 +00:00
gmandakini
4c9da11092 added a thrid optional partameter for clickField method in the FormFields to accomodate cssContainingText locators. 2019-12-04 11:17:45 +00:00
gmandakini
1260e779ad added edit-json-dialog definition to be used in process workspace. 2019-12-04 11:17:45 +00:00
Geeta Mandakini Ayyalasomayajula
f2cbd0cd9a update the resources file to have the connectors (#5307) 2019-12-03 12:18:50 +00:00
AleAb25
f090fb51cb [ADF-5022] added automation for Display Value Widget (#5302)
* [ADF-5022] added automation for Display Value Widget

* [ADF-5022] fixed licences

* [ADF-5022] fixed test name format

* [ADF-5022] fixed import-BrowserVisibility and adding type for fieldId & re-write methods with try-catch for DisplayValue
2019-12-03 10:48:03 +00:00
Geeta Mandakini Ayyalasomayajula
3d27323f5f updated the candidatebaseapp (#5298)
* updated the candidatebaseapp

* updated the resources file
2019-11-29 15:38:23 +00:00
dhrn
809b38aa2b [ADF-4823] [e2e] Displaying a file in a form does not work (#5069)
* [ADF-4823] [e2e] Displaying a file in a form does not work

* * delete removed

* * comments fixed

* * e2e fixed

* * await removed

* * form name fixed

* * rebase conflicts

* * fixed e2e
2019-11-26 11:11:04 +00:00
Eugenio Romano
8a41da0506
bump 3.6.0 (#5283) 2019-11-25 11:03:35 +00:00
Silviu Popa
31e1fd8875 [AAE-459] ProcessCloud - set process definition pre-filled value for one result only (#5277)
* [AAE-459] ProcessCloud - disable process definition pre-fill

* refactor e2e test
2019-11-25 01:04:02 +00:00
Eugenio Romano
c61de922af Fix ps e2e (#5262)
* fix ps e2e

* fix upload unit report

* fix cspell

* Update cspell.json

* fix e2e

* remove extra space

* fix e2e increase resolution

* try add a sleep before to cehck sorted in order to give datable time to refresh

* log order

* fix log

* change async ins ort

* remove sort testcase
2019-11-21 10:12:52 +00:00
Denys Vuika
3dd43ce9b5
[ADF-4997] no-duplicate-imports rule (#5256)
* no-duplicate-imports rule

* no-duplicate-imports rule
2019-11-15 13:38:01 +00:00
Denys Vuika
3644ba8b7c [DW-1486] form versioning and cloud service enhancements (#5248)
* support form versions retrieval

* rework cloud services, reduce code duplication

* revert app config changes

* fix api spelling error

* support task form versioning

* turn TaskDetailsCloudModel into interface

* remove commented code

* fix test

* update tests

* remove useless provider declarations
2019-11-14 15:04:21 +01:00
Geeta Mandakini Ayyalasomayajula
1f768eb22f updated the simpleapp with multiinstance processes (#5251)
* updated the simpleapp with multiinstance processes

* updated resources file
2019-11-14 12:19:26 +00:00
swathikom
c0c7f0cc1c Add getStatusByName in task list page (#5247) 2019-11-14 00:49:43 +01:00
Geeta Mandakini Ayyalasomayajula
c11ce016fa added the method to retrieve the processInstanceId based on the process instance name. (#5238) 2019-11-12 20:20:49 +01:00
swathikom
9d127a41e5 Update candidatebaseapp (#5228)
* Modified candidateuserprocess to have candidate users and removed admin.adf

* Updated security roles for candidatebaseapp with salesuser for ACTIVITY and APS user
2019-11-08 15:29:47 +00:00
Denys Vuika
0c13f3d879 add missing typing information (#5227)
* add missing typing information

* typing fixes

* revert return type

* typing fixes
2019-11-08 16:02:05 +02:00
Eugenio Romano
2138ce600e
Refactor e2e PS-CLOUD (#5224)
* refactor cloud test

* fix lint

* fix ecm test

* Update login-sso.page.ts

* fix redirect
2019-11-08 15:57:19 +02:00
Adina Parpalita
b704df020d make error message more clear (#5225) 2019-11-08 10:07:02 +00:00
Eugenio Romano
2e046945c7 [AAE-726] Add new return await rule (#5203)
* add new return await rule

* update tslint

* add lint exception
2019-10-30 19:29:43 +00:00
Denys Vuika
a4730cd9cf [DW-1560] switch to ACTIVITI roles (#5175)
* switch to ACTIVITI roles

* double set of roles

* minor typing fixes

* use different account

* Revert "use different account"

This reverts commit 1f89fb490e8be1614fbdef391ddc8a536ec8de82.

* fix test
2019-10-30 17:28:01 +00:00