198 Commits

Author SHA1 Message Date
Eugenio Romano
798768a954 fix e2e apps names 2019-10-08 13:01:56 +01:00
Maurizio Vitale
bfc7e91eb6
Use the latest candidatebaseapp 2019-09-26 08:52:39 +01:00
Geeta Mandakini Ayyalasomayajula
b22a23a338 simpleapp added with process variables (#5085) 2019-09-19 11:28:15 +01:00
Geeta Mandakini Ayyalasomayajula
4606b45d58 Updated the simpleapp and added superadminuser when deploying the apps (#5075)
* updated the simpleapp with the process-variables required and added superadminuser when deploying the apps.

* simpleapp updated with more process variables
2019-09-19 10:49:56 +01:00
cristinaj
70d877b0b9 [ADF-3725]Add visibility conditions on tabs tests when completing a task (#5034)
* Add visibility conditions on tabs tests when completing a task

* Fix comments

* Removing unused import.

* Changed simpleapp

* Rebase

* Removed comment

* Revert "Rebase"

This reverts commit 417b59f541803dd47cb29881b3e74ba199535915.

* Remove unused method
2019-09-18 19:12:17 +01:00
cristinaj
7d0d45cb59 [ADF-3724]Create tests for visibility conditions on tabs on APS1 (#5065)
* Create tests for visibility conditions on tabs on APS1

* Fix comments

* Fix linting

* Remove the final /
2019-09-18 17:25:24 +01:00
Marouan Bentaleb
8ee3e25caf [ADF-4807] Automation tests for date min/max validation (#5008)
* Trigger alpha

* [ADF-4807] Automation tests for date min/max validation

* Removing identityUser changes
2019-09-16 17:07:06 +01:00
Denys Vuika
ae56d61ea3 use custom chrome version with puppeteer (#5070)
* use custom chrome version with puppeteer

* pin to Chromium 76

* update code to trigger travis

* update protractor

* try remove extra env setting

* try chrome 62

* upgrade to chrome 76, exclude 3 tests

* add safety check for the focus

* toggle tests

* disable tests

* disable flaky test

* update names

* disable flaky test

* disable flaky test

* disable test

* disable test

* fix name simpleapp

* rename simpleApp to simpleapp project change
2019-09-13 16:20:19 +01:00
cristinaj
31bec59a16 [ADF-3723]Add visibility conditions on tabs - form rendering component tests (#5022)
* Add visibility conditions on tabs - form rendering component tests

* no message

* Moved the suite to process-services-cloud folder

* no message
2019-08-30 12:16:28 +01:00
Silviu Popa
a6ee26b35b [ADF-4843] - Automate more manual test cases for visibility chaining … (#5014)
* [ADF-4843] - Automate more manual test cases for visibility chaining in ADF

* fix lint
2019-08-30 11:51:56 +01:00
Silviu Popa
8c159babe0 [ADF-4837] - Automation checkbox visibility e2e tests (#5010) 2019-08-22 11:48:30 +02:00
Eugenio Romano
73601dfcfb rename subbprocess without capital letters 2019-08-22 08:17:35 +01:00
Geeta Mandakini Ayyalasomayajula
027e29964c added a new version of candidatebaseapp with process ui workspace defined. (#5006) 2019-08-21 13:02:26 +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
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
Geeta Mandakini Ayyalasomayajula
994cd791a3 added back the missing candidatebaseapp (#4953) 2019-07-22 18:45:57 +02:00
Eugenio Romano
e2311ab045 fix simpleapp and check-activiti script 2019-07-16 15:47:57 +01:00
cristinaj
0226a7a3bd Change the old VisibilityCondition format with the new one (#4934) 2019-07-15 19:24:57 +01:00
Geeta Mandakini Ayyalasomayajula
db0a7842a8 [ADF-4699] Forms to be used or not used in Standalone tasks (#4886)
* e2e test for ADF-4699 - Allow a form to be used (or not used) in standalone tasks

* e2e test for ADF-4699 - Allow a form to be used (or not used) in standalone tasks

* test enhancements

* replacing the app with forms with standAlone flag in the json.
2019-07-14 13:11:18 +01:00
Silviu Popa
098577f6e5 [ADF-4735] - Automation for visiblity condition on APS1 (#4920)
* [ADF-4735] - Automation for visiblity condition on APS1

* [ADF-4735] - remove unused class and change click actions method

* [ADF-4735] - PR changes

* [ADF-4735] - PR changes

* ceck undefined smart build
2019-07-13 16:16:15 +01:00
Geeta Mandakini Ayyalasomayajula
cae73e3c02 [C310199][C310142]- empty form , required data and invalid form data validations (#4900)
* C310199, C310142, empty form validations, Form validations with required field and invalid data.Added a new form to candidatebaseapp, 'FormToTestValidations'

* using BrowserActions
2019-07-08 11:03:22 +01:00
Geeta Mandakini Ayyalasomayajula
4d0c98d753 [ADF-4697] attach content to processcloudtaskform using upload widget (#4882)
* automated upload local and content file from task from upload widget.

* automated upload local and content file from task from upload widget.

* reverting the git ignore change

* updated the app with the new process definition using the form with upload widgets

* Save error screenshot

* creating the processes through api call rather than through ui. and added -log to watch the travis build on process-cloud

* creating the processes through api call rather than through ui. and added -log to watch the travis build on process-cloud

* removed the wait till clickable, as not relevant here.

* Update process-services-cloud-e2e.sh
2019-07-02 22:00:14 +01:00
Silviu Popa
43f08441cd [ADF-4705] - Automate forms checkbox widget (#4881)
* [ADF-4705] - Automate forms checkox widget

* Move methods to a demo-shell page

* Adding 3 new tests
2019-07-01 11:33:34 +01:00
Geeta Mandakini Ayyalasomayajula
ab3bb9002f [ADF-4288] -Sort Process Custom filters (#4826)
* Update data-table-component.page.ts

* new pr

* fix error - sortOrder.toLowerCase is not a function

* new pr

* new process definition added

* taking the development branch changes
2019-06-13 11:04:46 +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
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
Eugenio Romano
898e3b5a80
[no-issue] Parallel run e2e and e2e common action refactoring (#4702) 2019-05-13 04:44:35 +02:00
Eugenio Romano
8231a5a37e Improve recovery strategy Activiti 7 2019-04-26 18:15:31 +01:00
Eugenio Romano
32ba281b70 simpleapp upload 2019-04-23 23:41:44 +01:00
Eugenio Romano
d4e7981b1d simpleapp rename 2019-04-23 23:41:19 +01:00
Eugenio Romano
64be9e3624
[NO-ISSUE] Fix e2e test (#4621)
* fix sso, change timeout, parallel

* cange travis

* move name apps in resources file

* resources fix

* resources fix

* add sleep before search group

* add possibility to extend duration of snack-bar message from configuration

* fix unit test

* fix unit test

* remove timeout

* change timeout

* decrease message time

* add lint main branch travis

* reduce timeout

* add new check application presence

* change permission script
fix search selector

* fix travis conf

* check app environment and upload the app if abbsent

* fix cloud test

* remove duplicate

* restore ps test

* restore resources file

* fix e2e test

* process with variables missing

* test new conf travis

* fix lint

* fix spellcheck

* remove duplicate module

* fix ps module

* fix travis conf

* change check activiti env

* add concept of processes in resources
2019-04-18 13:31:42 +02:00
Eugenio Romano
ce0775c525
[ADF-4191] fix viewer test and move error and pagination page (#4569)
* split viewer test

* move pagination in testing share pkg
move error in testing share pkg

* fix import
2019-04-09 12:26:10 +01:00
cristinaj
57f6532c7c Moved aps2 apps to repository (#4502) 2019-03-26 14:32:45 +00:00
Marouan Bentaleb
cd5870790d [ADF-4151] Automation test for code viewer (#4355) 2019-02-27 09:12:47 +00:00
Eugenio Romano
348bee9c6f
[ADF-3918] Fix translation issue (#4169) 2019-01-20 23:40:07 +00:00
davidcanonieto
ee7af9d797 [ADF-3671] Add automation tests for Form Widgets (#3911)
* [ADF-3617] Fix bugs in Task Details Page controller

* [ADF-3617] Fix bugs in Task Page controller

* [ADF-3617] Separate in different describes automation tests

* [ADF-3671] start working on e2e form tests

* [ADF-3671] improved checks for form widgets

* [ADF-3671] start adding multiline text widget tsts

* [ADF-3671] added test for multiline and some improvements

* [ADF-3671] Add e2e tests for Dropdown, Date, Checkbox widgets

* [ADF-3671] Add e2e test for radio, number, hyperlink widgets

* [ADF-3671] Add automation tests for Form Widgets

* [ADF-3671] Update usage of Dropdown Widget

* [ADF-3671] Fix fileModel file and rename widget controles

* [ADF-3671] Rename Widget Controllers

* [ADF-3671] Remove unused imports and fix dynamic table e2e test

* [ADF-3671] Fix spell errors

* [ADF-3671] Fix people, date time, attach widget

* [ADF-3671] Fix Form People widget tests

* [ADF-3671] Rebase and remove unused variables
2018-10-26 14:03:13 +01:00
Cristina Jalba
d024d0ebf5 [ADF-3477]Added a test for task details- no form 2018-10-25 12:38:47 +03:00
Marouan Bentaleb
858584bcf0 [ADF-3652][ADF-3653] Automated tests for people widget (#3880)
* [ADF-3652] Automated test for starting a process with people widget

* Fixing failing tests

* [ADF-3653] Automated test for people widget in completed task
2018-10-24 09:32:23 +01:00
Marouan Bentaleb
ccc52d40dd [ADF-3608] Automated test for required dropdown column in Dynamic Table (#3896) 2018-10-16 18:31:17 +01:00
Eugenio Romano
6a546289b7
[no-issue] fix e2e uploader (#3840)
* fix e2e upload
move viewer subbfolder

* fix CS services e2e test

* add log for error in upload delete

* aysnc get node

* new tentative

* attempt 2

* attempt 3

* new demo shell test
travis change for test

* excluded file tslint fix

* remove desktop only class

* renable tests

* decrease time notification

* add process service multiselect demo test
fix e2e

* remove log

* add custom toolbar example
2018-10-02 12:26:13 +01:00
Marouan Bentaleb
5a6d8d8a2a [ADF-3331] Automated tests for Viewer Component (#3615)
* Automation tests for Viewer Component - Content Services

* Deleting alfresco-ng2-components.iml

* Updating Viewer Page for failing tests

* Adding tests for Viewer Component and some minor changes on Viewer Component - Content Services

* Removing some lines used to test

* Automation tests for Viewer component and Viewer component - Integration with Router + minor changes on tests for Viewer Component - Content Services

* Correcting an import + some improvement to the code

* Correcting tests for opening different file extensions

* Removing a console.log I forgot

* Refactoring the test in Viewer Component

* Refacotring using lint

* Adding browser refresh after each file type

* Moving tests to proper folder

* Minor changes

* remove faulty BE files from e2e

* fix test viewer

* fix process service tests

* fix test

* fix process test

* fix lint
timeout decrease

* increase some timeouts to fix CS e2e

* lint fix
2018-09-25 21:58:22 +01:00
Marouan Bentaleb
9f00c923e9 [ADF-3557] Automated test for removing search filter using chip remove button (#3790) 2018-09-14 12:50:40 +01:00
Marouan Bentaleb
7fd3ffcf3f Fixing failing tests for Document List - Actions (#3755) 2018-09-10 09:53:37 +01:00
marouanbentaleb
ab9f1c8385 [ADF-3331] Create automated tests for Viewer component - Content Services (#3600)
* Automation tests for Viewer Component - Content Services

* Create remaining automation tests for Viewer Component - Content Services

* Deleting alfresco-ng2-components.iml

* Correcting Viewer Page for failing tests

* Updating Viewer Page for failing tests

* Improving the PR quality
2018-08-14 15:42:25 +01:00
marouanbentaleb
e721c877f2 [ADF-1858] Automation tests for Viewer Component - Content Services (#3587)
* Automation tests for Viewer Component - Content Services

* Automation tests for Viewer component - Content Services

* Deleting alfresco-ng2-components.iml
2018-08-14 15:42:24 +01:00
Eugenio Romano
fcaa033a57 [ADF-3330] Create automated tests for Uploader component (#3581)
* Upload button e2e

* improve test organization

* add dev option in test run

* Create desktop.ini

* upload component automation final step

* remove fdescribe

* ignore downloads folder

* exclude pagination
2018-08-14 15:42:20 +01:00
Eugenio Romano
3d86044594 Add e2e test in ADF main repo (#3534)
* move e2e to ADF main repo

* lint e2e test

* enable first set of tests

* enable test

* firs test js-api integrated

* try change name protractor demo shell file

* remove fdescribe

* Update .travis.yml

* exclude failing test and rewrite analytics component with JS-API

* remove fdescribe

* move first part of tests to js-api

* refactor test alfresco-js-api

* replace js-api step 3

* remove adf prefix

* remove unused code

* remove unused part 2

* add option in e2e test for single test and browser

* exclude temp failing test

* refactoring test step 1

* refactoring test step 2

* refactoring test step 3

* refactoring test step 4

* refactoring test step 5

* run against localhost and proxy options

* fix command

* improve configuration

* improve configuration

* use dev configuratio

* fix defering

* comment out not working remotely test

* fix promise login page e2e

* remove console log

* change test

* revert

* improve utils

* improve task list test
util add also numbers in generation of the email

* remove part of the multi selector

* reinsert trashcan test

* uncomment document list test

* try increase delay in search sorting

* improve document list selector

* execute different util methods

* Upload error screenshot

* make oncomplete async

* add z-finish screenshot workaround

* option save

* remove fit
2018-08-14 15:42:14 +01:00