693 Commits

Author SHA1 Message Date
cristinaj
bcdfcee397 [ADF-4390]Added copyContent datatable cell tests (#4614)
* Modified data-table page on demo-shell to make copyClipboard possible to test

* Add a new page in demo-shell.
Add copyContent automated tests.
2019-04-17 12:10:36 +02:00
Marouan Bentaleb
e1a0475dfc [ADF-4396] Automation test for cancelling new version upload (#4607) 2019-04-16 13:19:08 +02:00
Eugenio Romano
b806556453
[no-issue] improve e2e timeout and names apps (#4604)
* fix sso, change timeout, parallel

* cange travis

* split viewer test

* timeot fix

* move name apps in resources file

* resources fix

* resources fix

* fix search default

* fix sso test

* fix test
2019-04-15 01:01:47 +02:00
Eugenio Romano
9accfcfb6e
Update ADF packages version 3.2.0-beta6 (#4602) 2019-04-14 23:03:16 +02:00
gmandakini
0915343222 [ADF-4311] - ProcessCloud - Incorrect label loaded for unclaim option -> "Resqueue" should be "Release" (#4588)
* C307032 automated

* defined a new TaskDetailsCloudDemoPage under Demo-Shell, as it's not part of a component.
2019-04-12 09:28:32 +01:00
gmandakini
0fe0ee9db7 [ADF-4274] Should be able to reassign the removed user when starting a new task. (#4591)
* C305050 automated

* added the api call to delete the tasks created in afterAll() method and also creating a new user and using that in the Tests and deleting the user in the end rather than using 'Super Admin' and reduce the dependency on env configuration.

* linting fixes
2019-04-12 09:25:29 +01:00
gmandakini
1336fbee0e [ADF-4278][ADF-4277] - Should fetch the preselect users (#4535)
* C305033 Preselect Users automated.

* fix the LastName issue failing.

* C305041 automated

* in progress

* in progress

* in progress

* in progress

* lint fix

* moving the assignee filed to PeopleCloudComponent

* moving the assignee filed to PeopleCloudComponent

* split the tests into smaller chunks for easy understandability.

* added the missing check and renamed the method appropriately.

* fixes for flakiness
2019-04-10 19:48:20 +01:00
cristinaj
7a2a8a1ed3 [ADF-4354]Fix cloud tests one by one (#4550)
* Fix locator

* Fix process-custom-filters.e2e.ts

* Fix start-tasks-cloud, processList-cloud-component, start-task-custom-app-cloud tests

* no message

* no message

* Fix process-header-cloud and task-header-cloud tests

* Fix process-header-cloud tests

* Fix processList-cloud-component
2019-04-10 19:47:21 +01:00
gmandakini
1bda3c914c [ADF-4059] - Move Copy Folders with Load more- take2 (#4562)
* C260132 automated

* debbugging

* in progress

* done

* review comments.

* in progress

* Update content-node-selector-dialog.page.ts

* fix the locators

* code review comments

* removed the datatablecomponentPage call directly from hte test.
2019-04-10 19:41:16 +01:00
Deepak Paul
558ee4c031 [ADF-3797] Task management view - Task with Form (#4534)
* [ADF-4248] Created form cloud service

* [ADF-4248] Created form cloud model

* [ADF-4248] Created new cloud form

* [ADF-4248] Exported cloud from module

* [ADF-4248] Added form saving feature

* [ADF-4248] Added form to task details

* [ADF-4248] Added services to save form

* [ADF-4248] Added data support

* [ADF-4248] Added outcome support in form model

* [ADF-4248] Modified demo component to show form

* [ADF-4248] Copied tests

* [ADF-4248] Added form parsing service

* [ADF-4248] Added form cloud demo

* [ADF-4248] Added form input to fom-cloud

* [ADF-4248] Added tests for form cloud model

* [ADF-4248] Improved form model json parsing

* [ADF-4248]  Added test for form could

* [ADF-4248] Refactored types in the form model

* [ADF-4248] Improved tests

* [ADF-4248] Added tests for form cloud service

* [ADF-4248] Added tests for form services

* [ADF-4248] Refactored form services

* [ADF-4248] Handled form events in demo shell

* [ADF-4248] Improved form value parsing

* [ADF-4248] Added form-cloud demo to routing

* [ADF-4248] Added field validation without handler

* [ADF-4248] Added task variable model

* [ADF-4248] Added adf-cloud prefix to css classes

* [ADF-4248] Translated name of nameless task

* [ADF-4248] Added docs for cloud form component

* [ADF-4248] Added docs for cloud form service

* create base component

* [ADF-4248] Created formBase and formModelbase

* [ADF-4248] Used base classes in cloud package

* Update form-cloud.component.md

* Update form-cloud.service.md

* [ADF-4248] Created form cloud service

* [ADF-4248] Created form cloud model

* [ADF-4248] Created new cloud form

* [ADF-4248] Exported cloud from module

* [ADF-4248] Added form saving feature

* [ADF-4248] Added form to task details

* [ADF-4248] Added services to save form

* [ADF-4248] Added data support

* [ADF-4248] Added outcome support in form model

* [ADF-4248] Modified demo component to show form

* [ADF-4248] Copied tests

* [ADF-4248] Added form parsing service

* [ADF-4248] Added form cloud demo

* [ADF-4248] Added form input to fom-cloud

* [ADF-4248] Added tests for form cloud model

* [ADF-4248] Improved form model json parsing

* [ADF-4248]  Added test for form could

* [ADF-4248] Refactored types in the form model

* [ADF-4248] Improved tests

* [ADF-4248] Added tests for form cloud service

* [ADF-4248] Added tests for form services

* [ADF-4248] Refactored form services

* [ADF-4248] Handled form events in demo shell

* [ADF-4248] Improved form value parsing

* [ADF-4248] Added form-cloud demo to routing

* [ADF-4248] Added field validation without handler

* [ADF-4248] Added task variable model

* [ADF-4248] Added adf-cloud prefix to css classes

* [ADF-4248] Translated name of nameless task

* [ADF-4248] Added docs for cloud form component

* [ADF-4248] Added docs for cloud form service

* create base component

* [ADF-4248] Created formBase and formModelbase

* [ADF-4248] Used base classes in cloud package

* [ADF-4248] Moved documentation to process services

* [ADF-4248] Removed duplicate import

* [ADF-4248] Fixed wrong imports

* [ADF-4248] Renamed form renderer input

* [ADF-4248] Show translated name for nameless form

* Enable the uploadWidget

* Make the form great again!

* Move the class style on the parent

* Fix the debugMode
2019-04-10 17:10:55 +01: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
Roxana Gherghelas
b538dbaa60 add start-process-cloud-component.page.ts page in @adf-testing 2019-04-09 09:49:10 +03:00
davidcanonieto
dee63e3f3b [ADF-3887] Different local storages for different ADF apps (#4539)
* [ADF-3887] Different local storages for different ADF apps

* [ADF-3887] Add documentation

* [ADF-3887] Add unit tests and improve code

* [ADF-3887] Add unit tests

* [ADF-3887] Fix e2e tests

* fix test

* fix test

* Update storage.service.md
2019-04-08 15:23:46 +01:00
siva kumar
78daf68777 [ADF-4351] Change APS2 services url pattern form -service/ to /service/ (#4563)
* [ADF-4351] Change APS2 services url pattern form ` -service/` to  `/service/`

* Changed all query and runtimebundle app name convention.

* Use the correct name of the class

* Skip latest unit test that is failing

* Change the karma

* Fix failing unit test on editTaskCloud
2019-04-08 14:03:53 +01:00
Denys Vuika
12f098417c add protractor utils class (#4531) 2019-04-02 23:50:51 +01:00
Vito
3f2af4cc03 Exporting base login page (#4483)
* Exporting base login page for e2e tests

* fixed exporting and renamed pages as per standards

* Added base login page to testing package

* Fixed wrong import for the setting page

* Removed old pages and using the one in the adf-testing package

* fix after merge conflict

* fix base url param
2019-04-02 23:44:36 +01:00
Eugenio Romano
1b65555e18 fix identity service creation 2019-04-02 23:42:46 +01:00
Eugenio Romano
f46c848308
Move process cloud page int @alfresco/adf-testing (#4540)
Move datatable @alfresco/adf-testing
2019-04-02 15:36:58 +01:00
Vito
e6d3869891 Fixed condition for TestConfig file (#4536) 2019-04-01 21:39:59 +01:00
gmandakini
5afe695be7 fix the failing test (#4533) 2019-04-01 14:28:41 +01:00
Eugenio Romano
81eb2d5230
Merge branch 'development' into next-release-3.2.0 2019-03-30 10:48:29 +00:00
Eugenio Romano
3a79bdbb91
3.1.0 version package.json (#4521) 2019-03-29 16:49:19 +00:00
Denys Vuika
f0e993512b update versions 2019-03-29 16:18:43 +00:00
Eugenio Romano
1ecbf25030 fix test pck 2019-03-27 13:26:47 +00:00
Eugenio Romano
9cd9969584 beta2 2019-03-27 12:02:17 +00:00
Eugenio Romano
b95d1b9eb3 fix timeout configuration 2019-03-27 10:42:40 +00:00
gmandakini
4376d357ac [ADF-3962] sso download directive automated (#4452)
* sso download directive automated

* temp changes

* temp changes

* moving of services under lib testing and ADF-3962 automated

* removed the browser sleep

* cspell and linting fixes.

* codacy improvements

* export public-api update

* remove circular dep

* remove circular dep

* fixes

* fix user info test

* fix datatable

* random commit

* move other string

* fix lint

* fix lint

* fix prolem type

* fix failing test

* fix tag test

* fix problems after rebase

* fix lint

* remove space

* remove visibility method duplicated
2019-03-27 09:57:26 +00:00
Eugenio Romano
fbb6ab6cb8 update version 2019-03-27 09:55:35 +00:00
cristinaj
e415bd8cd5 [ADF-4241]Added tests for process header cloud component (#4463)
* Added tests for process header cloud component

* Move the process-header-cloud-component page to testing folder

* Changed the test rail ids

* Fix lint issues.
2019-03-27 09:55:32 +00:00
Marouan Bentaleb
f9e39aaebd [ADF-NO-ISSUE] Removing wrong dependencies (#4458) 2019-03-27 09:55:31 +00:00
Denys Vuika
a7a48e8b2b enable prefer-const rule for tslint, fix issues (#4409)
* enable prefer-const rule for tslint, fix issues

* Update content-node-selector.component.spec.ts

* Update content-node-selector.component.spec.ts

* fix const

* fix lint issues

* update tests

* update tests

* update tests

* fix code

* fix page class
2019-03-27 09:55:30 +00:00
Marouan Bentaleb
355971e0ad [ADF-4195] Automation tests for SSO login with implicitFlow false (#4410)
* [ADF-4195] Automation tests for SSO login with implicitFlow false

* rebase

* fix test sso implicit flow false

* lint fix

* fix test
2019-03-19 15:00:26 +00:00
rgherghelas
5f17ee0b01 [ADF-4149] - Moved the StartTasksCloudComponent/TaskDetailsCloudComponent pages (#4407)
* moved the taskDetailsCloudComponent page and startTaskCloudComponent page

* update the import and fix tests

* update import and tests

* update exports

* update imports

* remove comment and index.ts

* update imports and class name

* remove comment

* Modify task-details-cloud-component page name in task-header-cloud-component

* update method

* remove user-info-dialog

* remove task details page

* revert task details changes

* revert changes
2019-03-18 11:58:39 +00:00
Eugenio Romano
9d98f3196e
[NO-ISSUE] Fix Core E2E tes (#4450)
* fix Identity service in core using internal identity service in test env

* fix lint

* fix lint

* fix login

* fix travis yml

* remove log script
2019-03-18 00:18:56 +00:00
gmandakini
fc2132e248 [AD-4222] e2e compilation fixes (#4426)
* Run tsc on the e2e folder and as part of the sh script

* in progress

* in progress

* in progress

* in progress

* in progress

* in progress

* fixing compile errors

* fixing compile errors.

* Fix the apiService and exclude nodemodules

* Add semicolumn

* fix import

* fix configuration test package

* fix

* fix errors

* fix typescript

* restore packages.json

* fix errors after rebase

* fix type prolems and add protracotr path mapping

* remove undefined
2019-03-15 23:11:58 +00:00
gmandakini
ced2e05d10 ADF-3735 automated (#4433) 2019-03-14 11:22:45 +00:00
gmandakini
285e56e9fb [ADF-4166] move app-list-cloud.page to adf-testing (#4404)
* in progress

* moved UserInfoDialogPage, AppListCloudPage, LoginSSOPage and TabsPage. ADF-4166

* moved UserInfoDialogPage, AppListCloudPage, LoginSSOPage and TabsPage. ADF-4166

* linting fixes

* crc's

* crc's

* added adf-testing to package.json file

* fix for failing unit tests

* fixes

* test failure fixes

* test failure fixes

* reverted ot old location pages/adf/navigationBarPage

* added the testing variable to affected-libs file and changed the version to 3.1.0-beta5 and added the missing adf-content-services dependency.

* Fix the material export

* Remove the reference to the tse2econfig not allowed

* fix failing test

* Update user-info.page.ts
2019-03-12 10:00:09 +00:00
maurizio vitale
5d697d69e3 Move the readme of testing 2019-03-03 22:30:50 +00:00
Maurizio Vitale
8ea4e164ff
Add basic Readme and exclude bundle checks (#4384) 2019-03-03 21:49:23 +00:00
Maurizio Vitale
cd069fbc58
Change name of testing project and bundle size (#4383) 2019-03-03 19:02:56 +00:00
Maurizio Vitale
249d688820 adf-testing - Cloud - Move user info e2e to adf-testing (#4369)
* Move user info e2e to adf-testing

* Create testing wrapper for the api sevice
2019-03-01 16:18:53 +00:00
Eugenio Romano
bda7e07b52
[ADF-4125] simplify extension load in extension module (#4214)
* add extension load in extension module

* add viewer extensions

* fix license header

* fix node passed in the viewer extension

* fix node passed in the viewer extension

* startup factory extension

* startup factory extension

* fix script

* fix beta tag build

* fix build

* fix build

* refactoring configuration files

* extension using map

* fix build

* fix config

* fix test

* fix test
2019-02-22 14:19:41 +00:00
Maurizio Vitale
08231bbf33 adf-testing package (#4152)
* add new lib adf-testing

* fix the prefix

* Improve package

* Add testing project

* remove useless stuff

* Remove useless code
2019-02-19 15:08:41 +00:00