977 Commits

Author SHA1 Message Date
rgherghelas
6a6e9f3b39 [ADF-3282] Add tests for length validation process/task name (#4083)
* add test for task name length validation

* add test for process name length validation

* add blur method

* modify number of characters
2018-12-19 11:15:24 +00:00
cristinaj
261eeae6f4 [ADF-3774]Add process custom filter tests (#4085)
* Add process custom filter tests

* Modified getAllRowsNameColumn datatable method.
2018-12-18 09:35:39 +00:00
cristinaj
137584839b [ADF-3807]Create automated tests for process filters (#4072)
* Added tests related to process filters

* Adding back a check in task filters tests.

* no message

* Creating a completed process

* Added tests for default process filters

* Wait for the page to be loaded
2018-12-12 16:46:09 +00:00
rgherghelas
c32d331a9b [ADF-3666] User info sso e2e tests (#4057)
* user info sso tests

* remove async await
2018-12-11 10:36:52 +00:00
Marouan Bentaleb
8d22d597c9 [ADF-3256] Automation test for search by '%' (#4049) 2018-12-10 11:49:30 +00:00
Marouan Bentaleb
4b3fb70d5f [ADF-2661] Automation test for comments of consumer user (#4050) 2018-12-10 11:47:35 +00:00
Denys Vuika
220930d27b [ADF-3351] angular 7 (#3956)
* upgrade Angular CLI

* upgrade material and fix breaking changes

* upgrade lib dependencies

* upgrade i18n

* update test

* disable flaky tests

* try fix notification test

* update package-lock

* code and dependency fixes

* card view e2e fixes

* udpate e2e tests

* fix e2e utils

* updated e2e typings

* test fixes

* notification fixes

* update tests
2018-12-07 09:16:21 +00:00
Denys Vuika
058d23d57f [ADF-3442] create library dialog (#4018)
* library dialog

* integrate with demo shell

* update resources

* fix license

* auto focus for the first input

* update e2e tests

* try close the dialog between tests

* fix afterEach

* Revert "try close the dialog between tests"

This reverts commit 63464f2b03c226c606d09b18c7d2782e3bb52c0a.

* update code due to css lint issues

* csslint settings for vs code

* missing import
lint fix
remove not used import
convert errorPage js to ts
convert tasklistpage js to ts
fix redirection creation folder in root
fix lint issue
fix e2e

* e2e fix

* fix PS tests

* navigation import

* fix tests tooltip
convert paginapage to ts

* fix lint

* fix lock files e2e
filterspage to ts

* fix lint

* fix cs cre
git dept 3 and not 50 as default in travis

* quiet log git download

* add some delay and change the delete lock

* fix node entry

* convert searchDialog to typescript
parallel protractor

* disable browser execute

* restote test

* change search tests

* move search in a separate e2e folder

* experiment fix e2e

* change util presence
change protractor conf

* fix unshare test

* improve query viewerPage using css over xpath

* waitForAngularEnabled before browser redirect

* convert util to ts and more

* convert other files to ts

* convert to ts other files

* trigger build

* function fixes use arrow function

* process service fixes

* lint fix
review timeout default

* fix failing tests

* restore timeout

* share dialog fix

* remove

* use configuration admin

* fix APS 2 login sso
2018-12-05 13:05:39 +00:00
Eugenio Romano
27b0ba897a
[lint-refactor] simplify tslint and unify main tslint extension in sub folders (#4032)
* simplify tslint and unify main tslint extension  in sub folders

* remove autofix

* fix lint extension and process cloud
2018-11-29 15:04:12 +00:00
davidcanonieto
49738ad555 [ADF-3282] Refactor Start Task Component (#4012)
* [ADF-3282] Refactor Start Task Component

* [ADF-3282] Fix e2e test

* [ADF-3282] Remove maxTaskNameLength from start task doc
2018-11-29 14:57:36 +00:00
davidcanonieto
1a21f234b6 [ADF-3746] Add style lint rules (#3975)
* add stylelint

* fix style first part

*  fix style second part

*  fix style third part

*  fix style fourth part

* Fix e2e tests first part

* Fix e2e tests second part

* Rebase branch

*  fix style third part

*  fix style fourth part

* Fix list error

* fix insights

* fix style abotu component

* Fix e2e tests second part

* Rebase branch

*  fix style third part

*  fix style fourth part

* Fix list error

* Fix e2e tests second part

* Rebase branch

*  fix style third part

*  fix style fourth part

* Fix list error

* [ADF-3746] Rebase branch

* Fix e2e tests second part

* Rebase branch

*  fix style third part

*  fix style fourth part

* Fix list error

* Fix e2e tests second part

* Rebase branch

* Fix list error

* fix new style added

* tslint fix

* [ADF-3746] Fix scss errors on Process Filters Cloud component
2018-11-28 14:43:18 +00:00
Marouan Bentaleb
5fc03cf26b [ADF-3714] E2E for Search Slider Filter (#4007) 2018-11-28 11:44:56 +00:00
Marouan Bentaleb
cc7b9230ee [ADF-3333] Test for Viewer - Part 3 (#3927)
* [ADF-3333] Test for Viewer - Part 3

* Fixing failing test

* remove async not necessary

* fix lint
2018-11-28 00:22:42 +00:00
Maurizio Vitale
c873bf801f Fix the taskFilterCloud unit test and fix the coverage (#4008)
* Fix the taskFilterCloud unit test and fix the coverage

* Fix the tslint

* Fix e2e test

* Fix unit test

* Skip e2e related to taskFiltersCloud

* rollback version

* Rollback the change on cloud angular.json
2018-11-27 11:52:03 +00:00
Marouan Bentaleb
885b8fb8b5 [ADF-3728] Automation tests for Search Number Range (#3974)
* [ADF-3728] Automation tests for Search Number Range

* Deleting Slider page and removing expects from PO

* Improving readability
2018-11-27 00:14:38 +00:00
jdosti
28fdd4e008 [ADF-3762] Automated tests for tree view component (#3999)
* Automated tests for tree view component

* Finalising the original commit

* Adding extra test for files not displaying scenario
2018-11-26 16:17:31 +00:00
cristinaj
776d25820b [ADF-3761]Add auto tests for task filter cloud (#3994)
* Added first test

* Implemented created standalone task call.

* no message

* Implement start task

* Added claim, complete task calls.
Added e2e tests for task filters.

* Fix lint errors

* Fix spelling

* Modified the name of a method.

* Modified appListCloudComponent page
2018-11-23 13:06:26 +00:00
rgherghelas
a39e44e4a9 [ADF-3755] Add e2e test for app list (#3987)
* add e2e test for app list

* add --host_sso "$E2E_HOST_SSO" to travis.yml -> STAGE=process-services-cloud

* update travis.yml file

* update review

* fix import
2018-11-21 16:51:17 +00:00
jdosti
49c69c58f0 [ADF-3706] Creation of Check List filter automated tests (#3958)
* [ADF-3706] Creation of Check List filter automated tests

* Fixing the tests

* Refactoring the search files/ removing json

* Adding whitespaces and changing double quotes
2018-11-21 16:49:34 +00:00
Vito
539850612e [ADF-3354] removed the adf-accordion component to use material accordion (#3980)
* [ADF-3354] removed the adf-accordion component to use material accordion

* [ADF-3354] fixed default opened state for the accordion

* [ADF-3354] fixed locator for new accordion menu
2018-11-21 12:34:45 +00:00
jdosti
6e8677a768 [ADF-3713] Implement Search radio component tests (#3948)
* [ADF-3713] Implement Search radio component tests

* Fixing the double quotes and whitespaces

* Changing names of methods

* More renamings

* Removing trailing whitespace

* Refactoring of search filters tests

* Small changes
2018-11-20 00:41:07 +00:00
Maurizio Vitale
f0dff4d011 Travis cache (#3972)
* Use name instead of env

* Enable cache dist

* enable only master and dev

* rename e2e lib

* add nx and smart build

* disable packaging and create demo shell stages

* use same name

* Enable affected e2e for core and process

* Enable affected libs check on all the e2e

* fix e2e condition

* Enable unit tests

* Manage case deps not present

* add name typo

* add affected folder to check e2e

* change an e2e test

* remove branch typo

* Update .travis.yml
2018-11-19 13:28:02 +00:00
cristinaj
2e8d998853 [ADF-3569] Add tests for task list demo page: (#3810)
* [ADF-3438] Add tests for task list demo page:

* Fixing some tests

* Added new tests

* Add more tests

* Fix the name of the test for bamboo

* Fix test name to work on bamboo

* no message

* Added new tests

* Modified the error message.

* no message

* fix lint issues

* Fix lint issues

* Changing taskListSinglePage from js to ts

* Uncomment a test

* Fixing lint issues

* Solve lint error

* Refactored taskListDemoPage

* Commented two tests that are failing because of a bug in APS

* Fix lint error

* Resolved comments
2018-11-19 12:20:42 +00:00
cristinaj
3da80bf366 Refactor process list component (#3979) 2018-11-16 16:33:18 +00:00
rgherghelas
604d401180 [ADF-3739] E2E test - login with SSO (#3949)
*  modify settings page and add test for login with SSO

* remove await

* added the HOST_SSO as parameter

* change setSilentLogin method, add new method, add new test

* remove comment

* optional parameters silentLogin and implicitFlow

* moved --host_sso "$E2E_HOST_SSO" to ./scripts/test-e2e-lib.sh script
2018-11-16 10:39:46 +00:00
Eugenio Romano
09a259bfa1
add fit in the banned word (#3977) 2018-11-16 10:37:52 +00:00
cristinaj
534954ffef [ADF-3753]Refactor task filters page (#3969)
* Refactoring taskFiltersPage

* Refactor task filters page

* Fix lint errors

* no message
2018-11-15 12:28:27 +00:00
cristinaj
867ca8c39d [ADF-3747]Refactor app list component. (#3962)
* Refactor app list component.

* Fix lint errors.

* Renamed clickProcessServicesButton() to navigateToProcessServicesPage()

* Renamed a test
2018-11-14 13:23:35 +00:00
davidcanonieto
f4cb3ac6a9 [ADF-3734] Fix search filters not wrapping (#3955)
* [ADF-3734] Fix search filters not wrapping

* [ADF-3734] Improve search filter bucket selector
2018-11-09 12:34:59 +00:00
cristinaj
536467f0ee Refactor tasksListPage (#3952) 2018-11-09 10:17:53 +00:00
Marouan Bentaleb
4a4b1519bf [ADF-3710] E2E for search date range (#3945)
* [ADF-3710] E2E for search date range

* Improving PR for [ADF-3710]
2018-11-07 19:34:45 +00:00
cristinaj
a6cd910466 [ADF-3715]Refactor search filters page (#3933)
* Add tests for text widget

* Propose refactor search filters component

* Fix lint errors

* [ADF-3715]Refactor searchFiltersPage

* Change describe

* Replaced use of searchDialog with browser.get

* Added a test case

* Modifications to enterConfiguration method

* Create a new method enterBigConfigurationText

* Fix lint issues

* no message
2018-11-03 17:02:31 +00:00
Eugenio Romano
ee068db496
[no-issue] fix share dialog test for scenario of last day of the month (#3937)
* fix share dialog test for scenario of last day of the month

* fix today and tomorrow

* remove fit

* fix spec share file

* use moment to calculate tomorrow
2018-11-02 14:01:50 +00:00
cristinaj
50a93ff869 Fix analytics test (#3936) 2018-11-01 08:37:10 +00:00
davidcanonieto
3639cc40e7 [ADF-3671] Rename Automation Tests (#3931)
* [ADF-3671] Rename Automation Tests

* [ADF-3671] Fix multiline widget automation test

* [ADF-3671] Remove fit from automation tests
2018-10-30 14:36:27 +00:00
jdosti
afd44afea6 [ADF-3700] Create an automated test to cover the process placeholder (#3921)
* [ADF-3700] Create an automated test to cover the start process placeholder

* adding space

* Moving the checks to existing tests
2018-10-29 17:21:40 +00:00
jdosti
baf6050111 [ADF-3696] Create an automated test to cover the search filter buckets scenario (#3915)
* [ADF-3696] Create an automated test to cover the search filter buckets

* Removing comments

* Removing spaces and xit

* Minor changes

* Add spaces where needed

* Changing locator

* Changes on the splitting of names

* Changing to single quotes
2018-10-29 15:52:35 +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
cristinaj
9599b84a84 Added a check to formName field from task details after the form was removed (#3923) 2018-10-26 14:02:20 +01:00
cristinaj
240f16a443
Merge pull request #3918 from Alfresco/dev-crisj-ADF-3477
[ADF-3477]Added a test for task details- no form
2018-10-26 11:54:57 +03:00
Marouan Bentaleb
79b1697fa4 [ADF-3681] Fixing skipped tests (#3913)
* [ADF-3681] Fixing skipped tests

* Requested changes
2018-10-25 23:15:50 +01:00
Cristina Jalba
555328363a Fixing lint errors 2018-10-25 15:21:10 +03:00
Cristina Jalba
d024d0ebf5 [ADF-3477]Added a test for task details- no form 2018-10-25 12:38:47 +03:00
cristinaj
021fc4218c Add automated tests for share files (#3917) 2018-10-25 10:22:08 +01:00
cristinaj
ed7ce4574a [ADF-3017]Update app (#3897)
* Add test

* Added some checks to the test

* Remove a method that is not used anymore

* Fix lint issues

* Rebase

* lock file

* update pacakge.json
2018-10-24 22:37:36 +01:00
Marouan Bentaleb
36a150af4f [ADF-3644] Automated test for search filters collapse (#3889)
* [ADF-3644] Automated test for search filters collapse

* Changing selectors

* Fixing [C277146] and changing methods in searchFiltersPage
2018-10-24 19:06:30 +01: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
cristinaj
85c022730b [ADF-3692] Add task details tests (#3905)
* Add task details tests

* Resolve lint issues

* Resolve lint errors

* Fix lint errors

* fix spellcheck

* Fixing a constant name
2018-10-24 07:53:00 +01:00
Denys Vuika
e39a2b149b [ADF-3591] spellcheck support for code (#3827)
* setup spellcheck
2018-10-23 15:05:38 +01:00
Eugenio Romano
2baf20b370 fix e2e metadata 2018-10-23 08:43:01 +01:00