723 Commits

Author SHA1 Message Date
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
Eugenio Romano
65c66528de fix log (#5204) 2019-10-30 16:27:33 +00:00
cristinaj
98e9e638c1 Add getProcessName (#5202)
* Add getProcessName

* Update lib/testing/src/lib/process-services-cloud/pages/start-process-cloud-component.page.ts

Co-Authored-By: Denys Vuika <denys.vuika@alfresco.com>
2019-10-30 16:12:54 +00:00
Silviu Popa
d02d79c771 [ADF-4849] [APM-1226] - Automate boolean and number visibility conditions (#5043)
* [ADF-4849] [APM-1226] - Automate boolean and number  visibility conditions

* PR changes

* PR changes

* fix e2e and update simpleapp
2019-10-30 13:15:53 +00:00
Cilibiu Bogdan
af6bd0892c [ADF-2990] Datatable - row navigation (#5198)
* datatable row component

* add to module

* implement datatable row component

* use FocusKeyManager for arrows navigation

* tests

* prevent screen reader to announce undefined value

* prevent from bubbling up

* fix unit test

* fix row locator

* fix locator reference

* fix row reference locators

* fix locator xpath
2019-10-30 07:39:43 +00:00
Geeta Mandakini Ayyalasomayajula
4885e6bcee added methods to view file, assert on File title in the viewer and cl… (#5196)
* added methods to view file, assert on File title in the viewer and close viewer.

* moved the ViewerPage file to ADF testing package

* removed the unnecessary methods as using the methods of the ViewerPage class.
2019-10-28 20:02:47 +00:00
Eugenio Romano
450b20eca4 [ADF-4976] Fix cloud ps e2e errors (#5195)
* fix cloud ps e2e errors

* fix lint

* fix ps test add 200ms for animation

* Update processListPage.ts
2019-10-28 09:47:30 +00:00
Suzana Dirla
6119ce83de [ADF-4966] Keep table headers - visually hidden when showHeader false (#5170)
* [ADF-4966] Move or copy - Add table headers - visually hidden

- needed by screen readers

* [ADF-4966] use automatic column header translation

* [ADF-4966] move the fix to the datatable component

-improve accessibility - keep table headers-but visually hidden for showHeader false

* [ADF-4966] code review change

* [ADF-4966] fix array shallow copy on failing e2e-test

* [ADF-4966] improve accessibility only for list display

- fixes failing test
2019-10-25 15:46:45 +01:00
Eugenio Romano
0aed1845a0
[AAE-520] order apps by name when retrieve from the server (#5184)
* order apps bby name when retrieve from the server

* fix order e2e
2019-10-25 02:28:26 +01:00
Geeta Mandakini Ayyalasomayajula
2e03dfa908 Added the process and form required to test terminate end event (#5188)
* added the process and form required to test terminate end event

* also added a form to test the upload local file for a standalone task.
2019-10-25 02:27:35 +01:00
Geeta Mandakini Ayyalasomayajula
eefc201332 added test for the visible flag both for process list and task list action menu and context menu (#5190) 2019-10-25 01:07:18 +01:00
Denys Vuika
9fa1db063a fix types 2019-10-24 17:00:39 +01:00
Denys Vuika
7d12557a08 fix types 2019-10-24 15:08:11 +01:00
Geeta Mandakini Ayyalasomayajula
200e652f0d Adding new process, forms and decision tables for e2e tests on decisiontable mappings (#5177)
* adding new process, forms and decision tables for e2e tests on decision table mappings.

* added the process and form required to test terminate end event
2019-10-22 17:25:51 +01:00
Geeta Mandakini Ayyalasomayajula
b7ec525b62 Added isChecked method to verify the status of checkbox widget (#5173)
* added method to assert on checkbox widget, isChecked

* removed unnecessary method

* added method in checkboxWidget

* moved the method to checkbox widget
2019-10-22 15:38:55 +01:00
Maurizio Vitale
83094b43ff
[DW-1320] Add visibility process def to simple app (#5169)
* Add visibility stuff

* Fix development
2019-10-18 15:04:50 +01:00
Maurizio Vitale
941df740d5 [ADF-4948] Move the resources config in the process cloud lib - Part 2 (#5143)
* Move the resources in the cloud lib

* Use adf cli

* Add missing process definitions

* Add debug points

* Print new class

* Use the resources under the adf-testing

* Use the resources from testing package

* Fix adf-testing bugs

* remove empty row

* Remove the npm install

* Remove log stuff

* Remove the console log

* Fix typo on process def names
Improve the debug e2e command

* Fix lowercase name

* Check the process cloud env and content env

* Add the new process definitions

* Add missing process definitions

* Use the latest simpleapp

* Rollback the bigFile

* Use relative link

* Trasnpile the adf-testing before using it
2019-10-17 14:31:58 +01:00
Geeta Mandakini Ayyalasomayajula
313e535b8d [DW-1521] added message-events api methods (#5146)
* added message events api

* added export

* added the getProcessInstance method in the queryservice

* added form-cloud.service with method to submit the form.

* added form-cloud.service with method to submit the form.

* returning the error instead of throwing, which can be used in expected negative api assertions in the test.

* added getTaskByNAme method to filter a task by unique task-name within a process-instance

* linting fix

* made correlation key as optional parameter

* removed the unnecessary tslint disable statements

* removed the unnecessary tslint disable statements and reverted the throw error statement

* logging response is not needed

* added return type

* added return type
2019-10-16 21:18:07 +01:00
Roxana Diacenco
6389019561 [ADF-4960] Update clickCheckbox() method in Datatable component (#5159)
* Checked element is the input of type="checkbox"
2019-10-16 16:19:17 +01:00
Maurizio Vitale
450e9dce89 Add the resources as part of testing (#5145) 2019-10-14 10:39:06 +01:00
Suzana Dirla
9dd78b10f9 e2e fixes (#5129)
* fix e2e test [C260140] Copy - No permission folder

* Fix e2e test [C299158] Login component - SSO Grant type password (implicit flow false)
2019-10-06 18:05:52 +01:00