208 Commits

Author SHA1 Message Date
Vito
ec689cad3f
AAE-1841 - added delete directive test (#5547)
* AAE-1841 - start adding e2e for delete directive

* AAE-1841 - added delete directive test

* AAE-1841 - fixed PR review
2020-03-17 18:57:04 +00:00
dhrn
c64396b2fe
[AAE-1923] Form APS E2E (#5540)
* [AAE-1923] Form APS E2E

* * minor changes

* * fixed e2e
2020-03-16 11:49:11 +00:00
Cristina Jalba
ea6ab300c4
[ADF-1895]Refactor date-time-picker and date-picker (#5544)
* Refactor date-time-picker and date-picker

* no message
2020-03-16 10:44:39 +00:00
Cristina Jalba
22d2a52f68
Retrieve href attribute of hyperlink (#5541) 2020-03-12 12:41:27 +00:00
Alexandra Abrudan
c91458df79
[AAE-1846] [AAE-1857] automated e2e tests uploading folders (#5483)
* [AAE-1846] automated e2e tests - uploading a folder

* [AAE-1857] added automated e2e test upload folder with excluded file

* changed the script for cancel an uploading folder, added -b condition for the running tests for the uploadFolder method
2020-03-09 19:18:41 +00:00
arditdomi
8fcdc55595
[AAE-2126] Fix checkbox click testing method in datatable page (#5539) 2020-03-09 09:37:24 +00:00
dhrn
9599d834b0
[AAE-1953] Claim Reclaim Task AAE E2E (#5529)
* [AAE-1953] Claim Reclaim Task AAE E2E

* * fixed linting and fixed changes
2020-03-06 13:44:50 +00:00
Cristina Jalba
226b139d7a
Create card-view-boolean-item page (#5537) 2020-03-06 10:21:39 +00:00
Eugenio Romano
6db04f1887
AAE-1951 - added extra test cases for start task and assignee (#5534)
* AAE-1951 - added extra test cases for start task and assignee

* AAE-1951 - fixed license
2020-03-05 17:37:34 +00:00
Alexandra Abrudan
24c728a8f5
[AAE-1880] e2e document-list selection mode (#5518)
* [AAE-1880] e2e document-list selection mode, open file/folder

* resolved comments: backtick, refactoring names, using dropdownPage, removing comments, wrapping the API

* added a new try-catch for beforeAll, fixed the error message

* changed the name of a method from clickDropdownWithOption to selectDropdownOption

* changed the method name from clickDropdown... to selectDropdownOption

* added the variable type for some methods, delete the let list and refactor accordingly
2020-03-03 18:50:36 +00:00
Cristina Jalba
e96b89c821
[AAE-1746]Added 3 new processed to candidatebaseapp: errorStartEventProcess, er… (#5531)
* Added 3 new processed to candidatebaseapp: errorStartEventProcess, errorBoundaryEventProcess and errorExclusiveGateProcess, all with error events

* no message
2020-03-03 15:02:28 +00:00
Alexandra Abrudan
133140d69b
[AAE-1926] automated e2e tests - interacting with an attached file in an active & completed form (#5528) 2020-03-02 14:52:41 +00:00
Eugenio Romano
7a2af38699
[AAE-1884] e2e shared file and refactor custom sources (#5506)
* fix lint
e2e shared file and refactor custom sources
additional tests for search chip list (#5523)

* modify wait startegy

* fix metadata problem

* improve method retry

* login before to execute call

* login before to execute call
2020-03-02 10:28:38 +00:00
Alexandra Abrudan
e5efe74e5e
[AAE-1797] added e2e automated tests (#5509)
* added e2e automation - [C260064] Should download only the last selection when changing pages in Single mode

* [AAE-1797] added e2e automated test- start a process within ACS

* refactoring with dropdownPage

* spellcheck refactoring
2020-02-28 15:06:24 +00:00
Baptiste Mahé
7a79d5bebf
[AAE-1943] Dropdown widget unit test (#5513)
* [AAE-2034] Radio Button displaued in read-only mode

* [AAE-2034] Added tests and disable for all radio group and not every button

* [AAE-1943] C309672 and C309675 into unit tests

* [AAE-1943] C309680 automated

* [AAE-1943] C309682 automated
2020-02-28 14:03:13 +00:00
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