958 Commits

Author SHA1 Message Date
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
Denys Vuika
edc0945f39 fix "ng lint" command (#5012)
* update to latest js-api

* fix the "ng lint" command

* fix linting issues

* fix lint issues

* lint fixes

* code fixes

* fix html

* fix html

* update tests

* test fixes

* update tests

* fix tests and api

* fix code
2019-08-29 16:35:30 +01:00
Marouan Bentaleb
140c64b79f [ADF-4544] Automation for form button refresh after action (#4835) 2019-08-29 16:24:50 +01:00
Marouan Bentaleb
cdfae95c2a [ADF-4847] Not able to find any user in Assignee field when creating a task (#5029)
* [ADF-4847] Not able to find any user in Assignee field when creating a task

Updated url to fetch composite user roles

* [ADF-4847] Fixing failing E2E tests
2019-08-29 09:46:47 +01:00
Eugenio Romano
609ae3a3ff
fix content service document list action test (#5027)
* fix content service document list action test

* restore build.sh

* perform twice movement mosue for right click for avoid bug in non headless chrome

* change sso ref element present

* change sso ref element present
2019-08-28 23:25:06 +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
Marouan Bentaleb
023476e14f [ADF-4809] Automation for non-editable task details when completed (#5001) 2019-08-19 22:55:25 +02:00
Marouan Bentaleb
643510ed45 [ADF-4799][ADF-4801] Automation tests for CardView clear date field and selectbox None option (#4993)
* [ADF-4799] Automation for clear date button

* [ADF-4801] Automate test for selectbox None option
2019-08-19 22:50:33 +02: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
dfbefa2ce5
split protractor configuration file (#4983) 2019-08-09 07:51:04 +01: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
mcchrys
795bdda4e4 [ADF-4572] Display value widget display issue when it has no value (#4943)
* [ADF-4572] Display value widget display issue  when it has no value
* Added readonly type to form-render

* Added unit test case

* * Fixed ee test

* * Updating tests to return textWidget for display value

* * Making changes to displayValueWidget css selector

* * Updated case to check display value from api
2019-07-26 14:27:03 +01:00
davidcanonieto
479416861f [ADF-4650] Fix and refactor amount, date and date-time widgets (#4957)
* [ADF-4650] Fix and refactor amount, date and date-time widgets

* fix e2e tests

* Fix people cloud test

* Fix e2e date test

* fix lint
2019-07-26 14:01:00 +02:00
Geeta Mandakini Ayyalasomayajula
994cd791a3 added back the missing candidatebaseapp (#4953) 2019-07-22 18:45:57 +02:00
Geeta Mandakini Ayyalasomayajula
715d3b13cc [ADF-4716][ADF-3247] Tests for checking saved date format (#4935)
* e2e tests for saving the date format fine and checking that still able to save the dynamic table with non-required DateTime field.

* remove empty line spaces.
2019-07-16 17:20:35 +01:00
Geeta Mandakini Ayyalasomayajula
677de028a2 [ADF-4682]The Date is not saved correctly on Process-services form (#4940)
* test added to check the date saved in the process form in APS1

* C261039 e2e test added.
2019-07-16 16:57:59 +01: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
76c938800f [ADF-4480] Viewer shows endless spinner for unsupported files (#4937)
* added asserting for the unsupported format file message.

* removing return statement

* removing return statement
2019-07-15 19:18:06 +01:00
Marouan Bentaleb
6b84ecf47c [ADF-3993] Automation for Start Task - Group Cloud (#4879) 2019-07-14 13:26:09 +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
Eugenio Romano
5703c45ad8
[ADF-4259] ClientId shouldn't be in the config file (#4930)
* add delete users missing in ps cloud e2e

* clientId use config param

* Update test.config.js
2019-07-13 16:16:40 +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
Eugenio Romano
18ed4e3c1d add delete users missing in ps cloud e2e 2019-07-12 16:21:47 +01:00
Eugenio Romano
b28a53afe7
Ban xit and xdescribe use in the future (#4923)
* remove xit test and ban xit and xdescribe use in the future

* remove xit test and ban xit and xdescribe use in the future

* remove test excluded

* remove consecutive blank line
2019-07-12 15:04:53 +01:00
Eugenio Romano
3f14b5ac42 add sleep process-service cloud dropdown e2e for eventual consistency 2019-07-12 10:55:17 +01:00
Cilibiu Bogdan
ccdcba8778 [ADF-4424] Pdf Viewer - password dialog does not close when pressing Escape (#4622)
* return to previous page on close

* update e2e

* [ADF-4424] Improve PreviousRouteService to use it in pdfViewer

* change previous Url logic

* remove navigation logic

* remove test

* Update pdfViewer.component.spec.ts

* back button logic for viewer outlet

* unit tests

* remove fdescribe

* remove unused service

* e2e

* return to location

* remove click filter step

* remove unnecessary test steps

* remove un existen export

* unify preview between PS and CS in demo shell

* fix dispalyname property
2019-07-11 17:33:15 +01:00
Geeta Mandakini Ayyalasomayajula
ffd4413335 restore content directive e2e tests (#4915)
* e2e tests for restore content directive

* e2e tests for restore content directive

* e2e tests for restore content directive

* changed the method for restore icon to check for display rather than enabled.

* test enhancements

* removed empty folder test as irrelevant.

* added test for restore of Site or Library

* test enhancements

* test enhancements
2019-07-11 16:33:02 +01:00
Eugenio Romano
10587dd842
Refactor e2e PS-Cloud and add sleep before query (#4919)
* add sleep before query process service and refactor resources process name

* fix spell problem and increase size build check core
2019-07-11 16:25:26 +01:00
Geeta Mandakini Ayyalasomayajula
fadcc19eba e2e tests for favourite directive (#4912)
* in progress - favourite directive e2e tests

* in progress - favourite directive e2e tests

* favourite directive e2e tests

* update testcase name

* updated test case names

* remove unnecessary line spaces

* refactored favourites to favorites
2019-07-10 09:56:28 +01:00
Geeta Mandakini Ayyalasomayajula
65dc1a5c31 Test cases for Edit Folder Directive (#4910)
* added tests for Edit Folder Directive

* added tests for Copy and Move actions on no permission folder.

* moved the checkDisabled function to BrowserActions to make it reusable.

* updated method name
2019-07-09 15:30:37 +01:00
dhrn
cdc39759ca [ADF-4716] Dynamic Table not working properly (regression) (#4896)
* [ADF-4716] Dynamic Table not working properly (regression)
[ADF-4722] Wrong date is displayed when updating row of dynamic table
* removing dynamic table date added

* * fix e2e
2019-07-09 11:40:27 +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
939277366f Dev gmandakini automate actionmenu for rows (#4905)
* removing hte test as iti s duplicated. The same tests exist under e2e/content-services/document-list/document-list-actions.e2e.ts

* C260127 - Move - Destination picker search, test for content highlighted

* C260128 - Move same name file test added

* test name updated

* C260134 - Move Folder with subfolder and file within it, test added

* formatting

* C260135 - Move same name folder - test added

* C260131 - Copy - Destination picker search, search text highlighted in the results in the Copy dialog.

* C260129, C260136 - Tests for Copy same name file and same name folder added

* added tests for Copy and Move actions on no permission folder.

* added tests for Copy and Move actions on no permission folder.
2019-07-08 10:26:03 +01:00
Geeta Mandakini Ayyalasomayajula
10673ef6f6 [C297472] Should be able to see selected tasks (#4899)
* update

* automated => C297472 see selected rows list and task names when multiselect and testing mode toggle are on.

* automated => C297472 see selected rows list and task names when multiselect and testing mode toggle are on.

* Delete package-lock.json

* updates
2019-07-05 11:47:35 +01:00
Suzana Dirla
a13196a836 [ADF-4715][ADF-4717] fix process-filter-results random failing tests (#4888)
* [ADF-4715] a process never has CREATED status

* [ADF-4717] clean up in afterAll

* check mediumDate format

* check mediumDate format

* show more log data

* Revert "show more log data"

This reverts commit a19c629
2019-07-03 09:48:14 +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
Suzana Dirla
87b80235a7 [ADF-4701] Upgrade angular libs (#4877)
* [ADF-4701] Upgrade angular material to 7.3.7 version

* [ADF-4701] upgrade angular libs

* [ADF-4701] upgrade angular libs

* [ADF-4530] temporary disable test

- will be fixed in a separate PR for https://issues.alfresco.com/jira/browse/ADF-4704
- the 'expected behavior' of the ADF-4530 corresponding bug is that should display 'all the available Process Definitions defined in the app'

* e2e test does not need bpm user

* e2e FIX waitUntilElementIsClickable

* Revert "e2e test does not need bpm user"

This reverts commit 9a5c4d4 - Travis seems to need initial code

* e2e fix button selector

- caused TimeoutError: Element is not Clickable

* e2e scroll into view fix

* e2e fixes scroll into view & selectors

* e2e fixed close action menu

- close menu with all disabled items fix - opened related issue https://issues.alfresco.com/jira/browse/ADF-4712
- checkContextActionIsVisible should check only visibility - all items might be disabled, so un-clickable
- close menu changed bcs. overlay backdrop caused TimeoutError: Element is not Clickable

* e2e disabled button is not supposed to be clickable

- fixed TimeoutError: Element is not Clickable

* e2e update messages

* e2e check invisibilityOf item

* e2e extra filter

* e2e wait waitTillContentLoaded

- created related issue https://issues.alfresco.com/jira/browse/ADF-4715

* [ADF-4715] a process never has CREATED status

* [ADF-4717] wait for filtered content to be loaded

- initiator filter must have 'username' value
2019-07-02 12:07:15 +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
2a2dfbcc42 automated C311280 should pick up default date format from the app configuration (#4883) 2019-06-28 14:44:15 +01:00
cristinaj
5c5bb7f9b7 [ADF-4576]Add new tests for application cloud component (#4873)
* Add a new test

* Revert file

* Fix lint errors

* Add a wait

* fix roles constant uppercase

* fix lint
2019-06-26 19:47:09 +01:00
Geeta Mandakini Ayyalasomayajula
d531a022d0 [ADF-4026] - automate process filter results check (#4874)
* process-filter-results test automated

* updated the test case numbers

* fix test

* fix test

* added wait for the datatable to load

* fixes

* created another process instance in simpleApp by anotherUser, to test the negative scenario's in filtering.

* created another process instance in simpleApp by anotherUser, to test the negative scenario's in filtering.

* delete both the users created.
2019-06-25 14:44:30 +01:00
Marouan Bentaleb
31d98fc368 [ADF-4515] Removing duplicated test and moving other test to the right spec (#4872) 2019-06-24 17:43:33 +01:00
Geeta Mandakini Ayyalasomayajula
be234f227f [ADF-4448] Automate Start and Save a task with a form. (#4876)
* automated Start and save a task with a form.

* crc's

* test title updated

* test title updated

* start process with start event form automated

* moved the expect statements to the tests.

* fix circular dependency

* deleting the standalonetask in afterAll

* split the tests for better readability

* split the tests for better readability
2019-06-24 17:36:02 +01:00
Geeta Mandakini Ayyalasomayajula
938286671d test enabled (#4871) 2019-06-20 14:25:46 +01:00
Marouan Bentaleb
82d6ebd763 [ADF-4593] Fixing skipped tests in Start Task Cloud (#4868) 2019-06-20 12:33:46 +01:00
Eugenio Romano
d6c3373298 fix names config e2e cloud 2019-06-17 21:17:47 +01:00
Alexa Fabian
725cf22956 'Testing' Moved Upload Actions to shared testing package (#4616)
* 'Testing' Moved Upload Actions to shared testing package

* Updated Upload Actionswith suggested changes

* Failing tests updated

* Resolving merge conflicts

* updating latest merge conflicts

* resolved merge conflicts

* update to fix previous issues with this.

* testing changes

* fix for failed travis test

* updates to fix failing travis test

* fixes file path error

* latest fix for failing travis test

* latest fix for failing travis test

* Fixing undefined rootPath

* fixes timing issues in content-services travis test

* resolves requested changes
2019-06-17 15:07:25 +01:00