958 Commits

Author SHA1 Message Date
Eugenio Romano
88870cd4da
[ADF-NO-ISSUE] update e2e js-api 3 (#4124)
* update e2e js-api node

* fix protractor import

* use new client

* fix protractor conf comaptibility

* processClient fix

* new js-api

* fix new import

* fix identity call

* fix identity call

* remove aut param

* fix model

* fix model

* increase timeout CS bigFile

* Refactor task details e2e tests

* Fix e2e test

* Rebase branch
2019-03-15 00:06:55 +00:00
gmandakini
ced2e05d10 ADF-3735 automated (#4433) 2019-03-14 11:22:45 +00:00
Eugenio Romano
7bc2fafcca fix metadata test 2019-03-14 02:30:24 +00:00
siva kumar
bc5208b767 [ADF-3977] EditProcessComponent - Be able to change the sort and actions (#4250)
* [ADF-3883] Improve edit-process-filter-cloud by adding inputs to control filters, sort and actions

* Provided an input to pass sort properties
* Provided an input to pass filter actions
* Provided a way to configure sort properties and actions

* * Updated unit tests to the recent changes
* Fixed order should be visible if sort as been added to the config
* Fixed if lastModified if defined the component should show the range lastModifiedTo lastModifiedFrom
* Updated doc

* * Removed ProcessFilterActionType* Renamed state to status* Refactored edit-process-filter * Updated doc

* * After rebase

* * Fixed editProcessFilter e2e tests.

* * Removed unwanted comment

* * After rebase

* * After rebase

* * After rebase
2019-03-13 17:10:19 +00:00
Marouan Bentaleb
5193a42983 [ADF-4197] Automation test for redirection after page reload (#4412)
* [ADF-4197] Automation test for redirection after page reload

* Removing browser sleep
2019-03-13 14:54:04 +00:00
Silviu Popa
3a7376af9f [ADF-4159] DemoShell - add nested menu on ProcessCloud (#4385)
* [ADF-4159] DemoShell - add nested menu on ProcessCloud

* [ADF-4159] DemoShell - fix e2e tests

* [ADF-4159] DemoShell fix typo

* [ADF-4159] - fix e2e lint

* [ADF-4159] - change app nested menu for process list

* [ADF-4159] - lint
2019-03-13 11:37:00 +00:00
gmandakini
fca9e51c16 [ADF-3401] Filter facets are not reseted when updating the search query (#4425)
* C299200 automated

* Test package version

* Save the head of development into a tmp file (this will avoid error in case of rebase meanwhile the pipeline is running)
Remove the -gnu in the wrong position

* Update test-e2e-lib.sh

* Print adf version on each step

* Print adf version on each step

* Add console log and skip install on the unit test demo shell

* Remove the print dependendy
2019-03-13 10:39:55 +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
Marouan Bentaleb
4feb8c3f95 [ADF-4208] Make the pipeline green again (#4419)
* [ADF-4209] Fix Core tests

* [ADF-4209] Fix Core tests

* [ADF-4218] Fix Insight tests

* Fix process-services-cloud tests
2019-03-12 09:55:50 +00:00
gmandakini
117170a433 [ADF-4083] Parse 'escaped' empty spaced labels inside facetFields (#4390)
* C299124 - automated

* C299124 - automated
2019-03-08 15:38:12 +00:00
cristinaj
88b49b8c66 Remove wait for spinner from editTaskFilterCloudComponent test (#4408) 2019-03-08 14:30:46 +00:00
gmandakini
10699cb7b0 [ADF-3989] appname duplicated after switching between saved filters (#4395)
* C297646 - automated

* linting fixes
2019-03-08 13:30:50 +00:00
cristinaj
ec13d88e61 [ADF-4061]Automate test for navigating to a non empty folder on last page (#4392)
* Create folders

* Add navigation to a non-empty folder test
2019-03-08 13:27:46 +00:00
Marouan Bentaleb
27c6e18a10 [ADF-4089] Refactoring ContentListPage (#4162)
* [ADF-NO-ISSUE] Refactoring ContentListPage

* Applying changes

* [ADF-4089] contentListPage refactoring

* Fixing missing dependencies

* Fixing core and search failing tests

* Fix tooltip document-list tests

* no message
2019-03-08 10:49:23 +00:00
davidcanonieto
5d3f47eacf [ADF-4122] Improve Datatable and fix broken e2e tests (#4398)
* [ADF-4122] Improve Datatable and fix broken e2e tests

* [ADF-4122] Fix e2e element selector
2019-03-06 13:19:55 +00:00
Eugenio Romano
1fef1e14ff split upload files to optimize re-execute in case of failing 2019-03-05 00:05:50 +00:00
gmandakini
cc1accff28 Automate ADF-3497 - Facet intervals on search filter (#4379) 2019-03-04 17:40:31 +00:00
Eugenio Romano
bce7c0993e change cancel big file upload e2e strategy 2019-03-04 17:09:57 +00:00
cristinaj
64cd91d66d [ADF-3873] Implement automated tests for edit process filter cloud (#4118)
* Implement edit process filter tests

* Added tests to edit-process-filters-component.e2e.ts

* Fix lint error

* Rebase

* Fixing a part of the existent tests for edit-process

* no message

* Fixing the tests.

* Fixing edit process filter tests

* Fixing lint errors.

* Remove some waits

* Removed some more waits

* Delete a file that is not used.

* Fix edit process filter tests

* Update editProcessFilterCloudComponent.ts

* Remove checkSpinnerIsDisplayed() check from tests

* Moved clickCustomiseFilterHeader() to beforeEach()
2019-03-04 16:47:58 +00:00
gmandakini
3ac0018160 [ADF-4126] add roles filtering to people cloud component (#4338)
* in progress

* in progress testcase C297674

* linting fixes

* modularised clear field method

* made the appearance of select user dropdown work.

* in progress

* final version

* linting fixes

* linting fixes

* in progress

* in progress testcase C297674

* linting fixes

* modularised clear field method

* made the appearance of select user dropdown work.

* in progress

* final version

* linting fixes

* linting fixes

* ADF-4103 automated

* in progress

* Roles Filter automated

* async updates

* removed the identity User details

* roleId extraction done.

* linting fixes

* using constants instead of hardcoding the typing values.

* crc's

* crc's

* linting

* removed hte indexes, as api returns only 1 user record.

* fixed errors

* in progress

* redoing the tests as the PeopleGroupCloudPage has been updated.

* redoing the tests as the PeopleGroupCloudPage has been updated.
2019-03-01 23:10:00 +00:00
davidcanonieto
7da9bd89cb [ADF-4122] Add sticky header feature to datatable and refactor styles (#4370)
* [ADF-4122] Add sticky header config to datatable and refactor styles

* [ADF-4122] Fix core unit tests

* [ADF-4122] Commit requested changes

* [ADF-4122] Fix e2e tests

* Update docs/core/datatable.component.md

Co-Authored-By: davidcanonieto <david.cano@alfresco.com>
2019-03-01 16:23:31 +00:00
cristinaj
3adc569b0a [ADF-4015] Implementing edit task filter automated tests (#4337)
* Added a few test cases to cover task list and edit task filters cloud components properties.

* Add tests for task name property.

* Add processInstanceId tests

* Added lastModifiedTo and lastModifiedFrom tests.

* Added tests for all the properties

* Add selectionMode tests.

* Add selectionMode tests

* Update task-list-selection.e2e.ts

* [ADF-4015] Fix lint issues

* Using clearField

* Modified selection tests

* Fixing selection tests

* no message

* Fix spelling

* Removed a sleep from the test

* Fix siteListDropDown locator
2019-03-01 09:53:50 +00:00
gmandakini
00ba61cdea [ADF-4105] Role Site Dropdown is Displayed (#4356)
* in progress

* C277002 - Role Site Dropdown automated.

* C277002 - Role Site Dropdown automated.

* async updates

* async updates

* in progress

* fixed errors

* Fixing tests

* fixed errors
2019-02-28 09:38:09 +00:00
Marouan Bentaleb
cd5870790d [ADF-4151] Automation test for code viewer (#4355) 2019-02-27 09:12:47 +00:00
cristinaj
bfe046637a [ADF-3995]Implemented test cases for preserved value for process filter (#4353)
* Implemented test cases for preserved value for process filter

* Update process-custom-filters.e2e.ts
2019-02-27 09:11:14 +00:00
Suzana Dirla
71dca95749 [ADF-4083] search facetIntervals - empty spaced labels support (#4327)
* [ADF-4083] fix space-label issue for intervals

* [ADF-4083] remove mention to [SEARCH-1487] issue

- for future reference, also check https://issues.alfresco.com/jira/browse/ADF-4144

* [ADF-4083] add missing types

* [ADF-4083] refactor method

* [ADF-4083] fix test

* [ADF-4083] small refactoring

* [ADF-4083] better param naming

* [ADF-4083] changes after rebase - keep better param naming

* [ADF-4083] fix space-label issue for the sets of intervals

* [ADF-4083] update test
2019-02-25 19:49:36 +00:00
gmandakini
aca5fd10aa ADF-4103 automated (#4348) 2019-02-25 11:37:54 +00:00
gmandakini
70c523546a [ADF-4066] Start task form with no assignee is saved as unassigned task (#4347)
* in progress

* in progress

* ADF-4012 pull request ready

* crc's

* crc's - moved the methods ProcessListCloudComponent to dataTablePage, to keep it common.

* crc's - moved the methods ProcessListCloudComponent to dataTablePage, to keep it common.

* changed the locator to use data-automation-id

* linting fix

* test automated - C268974

* test automated - C268974

* crc's

* crc's

* crc's

* crc's

* linting fix

* added automation for C276980 - Duplicate User or Group

* merged the overlapping testcases

* Changed  checkUserHasRoleSelected to use datatable methods

* changed hte usernames to something more relevant and readable.

* [ADF-4066] Should create a task unassigned when assignee field is empty … (#4334)

* C297675 Should create a task unassigned when assignee field is empty in Start Task form automated

* linting fixes and updated some locators which are returning more than 1 result back when running this test, as part of best practices.

* using hte new method added as it's more efficient, getIdCellValue

* linting fixes

* updates

* updated the taskname variables to more meaningful ones.

* added data-automation-id for better test locators.
2019-02-25 11:35:55 +00:00
Eugenio Romano
ae1fbd523a fix aspect orient config e2e core 2019-02-24 22:43:42 +00:00
gmandakini
c066a2f36b [ADF-4100] Automate Permission Role dropdown for User (#4331)
* in progress

* in progress

* ADF-4012 pull request ready

* crc's

* crc's - moved the methods ProcessListCloudComponent to dataTablePage, to keep it common.

* crc's - moved the methods ProcessListCloudComponent to dataTablePage, to keep it common.

* changed the locator to use data-automation-id

* linting fix

* test automated - C268974

* test automated - C268974

* crc's

* crc's

* crc's

* crc's

* linting fix

* added automation for C276980 - Duplicate User or Group

* merged the overlapping testcases

* Changed  checkUserHasRoleSelected to use datatable methods

* changed hte usernames to something more relevant and readable.
2019-02-22 14:28:56 +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
cristinaj
bf4d1a2806 [ADF-4121] Fix tasks-custom-filters test (#4329)
* Fix tasks-custom-filters test

* Changed the locators for edit task cloud component to be unique.
2019-02-22 10:50:37 +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
gmandakini
81ec4ed441 [ADF-4012] Should be able to set default columns in adf-process-list-cloud (#4323)
* in progress

* in progress

* ADF-4012 pull request ready

* crc's

* crc's - moved the methods ProcessListCloudComponent to dataTablePage, to keep it common.

* crc's - moved the methods ProcessListCloudComponent to dataTablePage, to keep it common.

* changed the locator to use data-automation-id

* linting fix
2019-02-19 13:12:54 +00:00
Suzana Dirla
e34f80aff7 [ADF-3497] Facet intervals on search filter (#4255)
* [ADF-3497] allow facetIntervals on search

* [ADF-3497] update schema json

* [ADF-3497] update json

* [ADF-3497] documentation update

* [ADF-3497] specify that sets are not supported

* [ADF-3497] no spaces on labels - mention

* [ADF-3497] documentation update

* [ADF-3497] update examples & document label key

* [ADF-3497] tests added

* [ADF-3497] testRail id

* [ADF-3497] allow config of custom pageSize values

* [ADF-3497] support mincount filtering also for intervals

* [ADF-3497] support expanded property also for facetIntervals

* remove no longer needed info

- bcs. of PR #4322 fix
2019-02-18 18:51:15 +00:00
Marouan Bentaleb
f20a71438c [ADF-NO-ISSUE] Changing locators using arial-label (#4180) 2019-02-18 18:44:17 +00:00
gmandakini
2a2708e5d6 [ADF-4095] Test Inherit Permission (#4325)
* in progress

* in progress

* ADF-4012 pull request ready

* crc's

* crc's - moved the methods ProcessListCloudComponent to dataTablePage, to keep it common.

* crc's - moved the methods ProcessListCloudComponent to dataTablePage, to keep it common.

* changed the locator to use data-automation-id

* linting fix

* test automated - C268974

* test automated - C268974

* crc's

* crc's

* crc's
2019-02-18 18:36:42 +00:00
gmandakini
cdcff5b4e8 [ADF-3981] - Should be possible to login with valid credentials (#4231)
* in progress

* updated the hardcoded url to TestConfig one.
2019-02-18 15:18:45 +00:00
Eugenio Romano
c55cba5514
license header update 2019 (#4300) 2019-02-12 01:18:43 +00:00
Marouan Bentaleb
44e6410a57 Removing C268119 test that shouldn't be automated (#4297) 2019-02-11 11:15:20 +00:00
Eugenio Romano
a6f1d1d7c8 remove fit 2019-02-07 07:44:22 +00:00
Eugenio Romano
c8a1f0a4d6 not reload if currentfolderId is null 2019-02-07 07:38:58 +00:00
rgherghelas
2badd81634 [ADF-3828] - e2e add assignee tests (#4221)
* add identity host

* add test for  assign user

* clear assignee input field

* added hostIdentity parameter

* add test for default assignee user

* add hostIdentity parameter

* add test for remove assignee

* add a new constant for start task name

* add hostIdentitty in setProviderBpmSso method

* remove duplicated method

* fix test C291799

* fix test C291872
2019-02-05 12:54:40 +00:00
Suzana Dirla
bf718d905f [ADF-3496] Grouped facet queries (#4209)
* [ADF-3496] search query format v2 response parser

- replacer for the parseFacetFields

* [ADF-3496] format v2 search facetQueries parser

* [ADF-3496] cleanup

* [ADF-3496] Grouped facet queries

- selection working
- needs code cleanup

* [ADF-3496] code cleanup

* [ADF-3496] code refactoring - renaming

* [ADF-3496] update tests

* [ADF-3496] update tests part2

* [ADF-3496] preserve order

* [ADF-3496] fix facet queries expand

* [ADF-3496] code cleanup & fixes

* [ADF-3496] reorder methods

* [ADF-3496] update test

* fix unrelated failing test

* [ADF-3496] fix config snippet

* [ADF-3496] facet queries mincount

* [ADF-3496] documentation updated

* [ADF-3496] small fix

* [ADF-3496] e2e testing

* [ADF-3496] added TestRail ids

* [ADF-3496] import from right api
2019-02-04 21:38:21 +00:00
Marouan Bentaleb
d4aad67b09 [ADF-3998] Fixing failing tests in metadata-smoke-tests (#4243) 2019-02-04 13:45:47 +00:00
Suzana Dirla
08cdb2f7c3 [ADF-3854] destination picker - exclude site content after rowFilter reset (#4158)
* [ADF-3854] exclude set site content after rowFilter reset

* [ADF-3854] fix duplicated call

* [ADF-3854] add test

* fix unrelated failing test

* improve type definition
add set get filtering node selector

* remove comma

* [ADF-3854] demo-shell - case when rowFilter is not set for adf-content-node-selector-panel
2019-02-04 12:10:52 +00:00
cristinaj
c9b58849be [ADF-3855]Added 'Should not accept less than one character name for Library na… (#4240)
* Added  'Should not accept less than one character name for Library name' test case.

* Fix lint errors
2019-02-02 23:57:39 +00:00
cristinaj
b18731381a [ADF-3848]Implement edit task filters tests (#4110)
* Add test for 'all the filters properly set up accordingly with the Query Param' acceptance criteria.

* Implement edit task filters tests.

* Fix lint errors

* Fix existent tests

* fix lint error

* Changed 'status' to 'state'
2019-02-01 19:41:00 +00:00
Marouan Bentaleb
c00e230983 [ADF-3959] Fixing trashcan-pagination tests (#4222) 2019-02-01 13:20:17 +00:00
Eugenio Romano
2036e026f3
[no-issue] remove annoying dot at the end of search animation (#4226)
* remove annoying dot at the end of animation

* bypass protractor for click search bar
2019-02-01 13:19:56 +00:00