954 Commits

Author SHA1 Message Date
Mercy Chrysolite
ef73d812c4
[ACA-3751] Disable save & delete buttons for default task filters (#5897)
* [ACA-3751] Disable save & delete buttons for default task filters

* Added unit tests

* Added param types

* Updated e2e

* Updated e2e title
2020-07-26 22:12:45 +01:00
Alexandra Abrudan
94c99574f8
[ADF-1960] automated C315180, C310200 and C313200 (#5891)
* [ADF-1960] automated C315180, C310200 and C313200

* Add log and some fixes for scripts

* fix scripts e2e

Co-authored-by: Eugenio Romano <eugenio.romano@alfresco.com>
2020-07-21 01:59:32 +01:00
Eugenio Romano
721fc74a4d revert bigFile change 2020-07-16 22:49:25 +01:00
arditdomi
b9dc285d2b
[ACA-3596] Fix e2e due to process header properties changes (#5873)
* [ACA-3596] Fix e2e due to process header properties changes

* Change pages structure

* Move the build demoshell as last step and exclude for PR

* move more pages

* change testing pkg

* better JSON import

* update script

* move CLOUD in the right place

* some logs and not used methods

* retrycout

Co-authored-by: maurizio vitale <maurizio.vitale@alfresco.com>
Co-authored-by: Eugenio Romano <eugenio.romano@alfresco.com>
Co-authored-by: Eugenio Romano <eromano@users.noreply.github.com>
2020-07-16 22:22:22 +01:00
Eugenio Romano
d1672596ba
Unify hash url strategy (#5866)
* unify hash url startegy

* improve
2020-07-14 16:00:32 +01:00
Alexandra Abrudan
be83676a8e
fixed simpleapp (#5853) 2020-07-10 10:51:44 +01:00
Alexandra Abrudan
2ec7fad019
update simpleapp with 1 new process:interm-date-provar-timer,2 forms & 1 form updated (#5852) 2020-07-10 09:45:19 +01:00
dhrn
d7dc6d7230
[ADF-5191] move reusable actions to testing package (#5842)
* [ADF-5191] move reusable actions to testing package

* * tenant added

* * improved logic

* fix circular deps error and warns

* fix unit test
2020-07-08 09:11:30 +01:00
Roxana Diacenco
d7f6ec1a9c
[ACA-3546] Update simpleapp (#5837)
Add forms:
* multiple attach file widget + single attach file widget
* 2 x multiple attach files widgets
* single attach file widget + multiple attach file widget
Add 3 processes with the forms above on Start event
Add a Content UI
2020-07-06 13:39:30 +01:00
Denys Vuika
cd2b489100
[ADF-5146] Upgrade to Angular 10 (#5834)
* remove useless module

* upgrade to angular 8

* upgrade material to v8

* upgrade adf libs

* migrate demo shell to v8

* upgrade to angular 9

* upgrade material to v9

* remove hammer

* upgrade nx

* upgrade datetime picker

* upgrade flex layout

* update core api

* remove entry components

* code fixes

* upgrade testbed usage

* code fixes

* remove unnecessary core-js from tests

* upgrade CLI

* ts config fixes

* fix builds

* fix testing config

* compile fixes

* fix demo shell dev setup

* fix core tests

* fix card view import

* upgrade nx

* disable smart builds for now

* remove fdescribe

* restore smart builds

* fix issues

* unify tsconfigs and fix newly found issues

* fix configuration and cleanup package scripts

* improved production build from the same config

* use ADF libs directly instead of node_modules

* disable smart build

* single app configuration (angular)

* fix core build

* fix build scripts

* lint fixes

* fix linting setup

* fix linting rules

* various fixes

* disable affected libs for unit tests

* cleanup insights package.json

* simplify smart-build

* fix content tests

* fix tests

* test fixes

* fix tests

* fix test

* fix tests

* disable AppExtensionsModule (monaco example)

* remove monaco extension module

* upgrade bundle check rules

* fix insights tests and karma config

* fix protractor config

* e2e workaround

* upgrade puppeteer and split linting and build

* reusable resources config

* update protractor config

* fix after rebase

* fix protractor config

* fix e2e tsconfig

* update e2e setup

* Save demoshell artifact on S3 and remove travis cache

* Push the libs on S3 and fetch before releasing it

* Add deps

* Add dependencies among libs and run only affected unit test and build

* fix the travis stage name

* fix after renaming dev to demoshell

* force the order of the projects

* remove unused dependencies

* fix content e2e script

* exit codes fix

* add extra exit codes to core e2e

* postinstall hook and package cleanup

* cleanup packages

* remove deprecated code and dependency on router

* improve bundle analyzer script

* minor code fixes

* update spec

* fix code after rebase

* upgrade protractor after rebase

* fix e2e mapping lib

* Update tsconfig.e2e.json

* update e2e tsconfig

* fix angular config

* fix protractor runs

* cache dist folder for libs

* update material selectors for dropdowns

* selector fixes

* remove duplicated e2e that have unit tests already

* fix login selector

* fix e2e

* fix test

* fix import issues

* fix selector

* cleanup old monaco extension files

* cleanup demo shell login

* add protractor max retries

* disable customisations of protractor

* fix login validation

* fix after rebase

* fix after rebase, disable latest versions of libs

* Hide the report tab and rollback the localstorage

* rename protractor config back to js

* restore lint as part of build

* cleanup code

* do not copy anything to node_modules on dist test

* fix unit tests

* config fixes

* fix code

* fix code after rebase

* fix tests

* remove existing words from spellcheck

* remove useless directive decorators

* update package.json after rebase

* add js-api back

* code fixes

* add missing export

* update configs

* fix code

* try fix the sso login test

* fix

* remove puppeteer unit

* fix e2e script

* fix

* make provider easy

* fix routes module before upgrade

* fix unit tests

* upgrade angular cli

* upgrade to angular 10

Co-authored-by: maurizio vitale <maurizio.vitale@alfresco.com>
Co-authored-by: Eugenio Romano <eugenio.romano@alfresco.com>
Co-authored-by: Eugenio Romano <eromano@users.noreply.github.com>
2020-07-03 13:01:05 +01:00
davidcanonieto
2547f9692d
[ADF-5174] Add Permisssions Dialog to adf-testing Lib (#5824)
* [ADF-5174] Add Permisssions Dialog to adf-testing Lib

* Fix linting
2020-06-30 11:39:01 +01:00
Eugenio Romano
094f247889
Fix unknown style (#5810)
* fix unknown style

* missing var

* remove delete because there is already delete site

* fix test
2020-06-24 11:22:09 +01:00
Eugenio Romano
b62794e385 remove global configuration and add timeout configuration 2020-06-22 13:22:34 +01:00
Eugenio Romano
2a5fa954bd
exclude failing test before the revert of the time modify is finalized (#5794)
* exclude test

* remove exclude and add more log power

* fix

* correct issue
2020-06-19 23:04:21 +01:00
Denys Vuika
e9350bd297
various code quality fixes (#5792)
* various code quality fixes

* reduce duplicated code

* add safety check
2020-06-18 17:57:46 +01:00
Roxana Diacenco
6fc97895ab
[ACA-3373] Update simpleapp (#5784)
* Add forms and processes for attach file widget e2e tests
in Process Cloud Service
2020-06-16 16:48:04 +01:00
Iulia Burcă
3651cc0235
[ACA-3329] Refactor isCompleteFormButtonDisabled method (#5765)
* Refactor isCompleteFormButtonDisabled method

- Change the isCompleteFormButtonDisabled() method structure as per the Code Style E2E 03-01
- Replace the isCompleteFormButtonDisabled() with isCompleteFormButtonEnabled() in the tests
- Add lists with the default tasks and process filters name in order to use a variable instead of a string (ADW eg. in the breadcrumb checks)

* Add visibility wait in isCompleteFormButtonEnabled method

* Refactor isProcessListDisplayed method

- Change the isProcessListDisplayed() method structure as per the Code Style E2E 03-01
- Replace the checkProcessListIsDisplayed() with isProcessListDisplayed() in the tests

* Fix isCompleteFormButtonEnabled and isCancelButtonEnabled methods

* Fix isCompleteFormButtonEnabled method

* Create separate method to check for Complete button visibility

* fix tslint
2020-06-16 12:51:34 +01:00
Mercy Chrysolite
0349280d42
[ACA-3109] Change order of default process filters for DW (#5760)
* [ACA-3109] Change order of default process filters

* Updated strings to constants; Fixed failing e2e

* fixed lint

* Fixed failed e2e
2020-06-16 10:44:28 +02:00
Denys Vuika
8025434de9
fix e2e tests and cleanup e2e typings (#5770)
* cleanup e2e typings

* fix e2e tests
2020-06-10 20:37:21 +01:00
Denys Vuika
98774395d2
fix imports (#5769) 2020-06-10 15:29:02 +01:00
Eugenio Romano
d263ee7142
Update test.config.js 2020-06-09 16:00:45 +01:00
arditdomi
8a36e7fd3f
[ACA-3348] Add default process name pipe (#5745)
* [ACA-3348] Add default process name pipe

* [ACA-3348] Add documentation

* [ACA-3348] Change transform function to recieve a process def parameter, Update documentation

* Change parameter type to fix build

* Fix lint errors

* Move unit test to the correct describe

* Fix lint errors

* Move from one core pipe to different for APS1 and Cloud

* Add Pipe to process cloud providers

* Update documentation

* Revert demo-shell default process name

* Fix pipe version in documentation

* e2e - select process definition and then type name

* Fix process services e2e

* Align process filters e2e

* Align start-task-form cloud e2e

* Use processInstance model instead of processDefinition as a parameter for transform function
2020-06-09 13:35:13 +01:00
Eugenio Romano
fffa97c7f8 use new static drop actions 2020-06-09 01:25:08 +01:00
Eugenio Romano
1c030d7b48
improve e2e configuration (#5752)
* improve e2e configuration

* fix login

* fix login

* use storage

* fix

* default oauth

* improve share file test and add baseShareUrl init in e2e

* some click script better usage
2020-06-06 20:12:54 +01:00
Eugenio Romano
a78f24ada1
[ACS-259] refactor login page (#5733)
* refator login page

* refator login page

* remove obsolete classes and move what is needed in the test pck

* fix const

* revert modify

* remove duplicate browser property

* fix build

* fix

* fix

* fix lint

* move drop action in testing
remove not necessary space
js-api centralize content

* first refactor use js-api

* fix protractor

* refactor test config

* simplify properties
fix namings

* ps cloud simplify
remove unused js files

* id fix

* fix search test
simplify environment var step 1

* fix lint

* first user iteration fix

* fix model

* unify use of apiService

* first step automatic user creation Identity

* refactor creation user content-services

* refactor creation user search

* refactor creation user core

* process service refactoring 1

* process service refactoring 1

* process service refactoring 2

* fix process

* appconfig

* fix process util

* fix gallery

* fix "this" reference issues

* fix incorrect import paths

* fix core

* some fixes

* allign

* fix some test
remove structure folder and move in actions

* fixes

* move folders in the right place

* fix

* fix rebase

* solve build issue

* fix e2e

* change init aae

* order api and some fixes

* fix possible not valid password

* fix some ps test

* replace host port also in objects

* Update app-config.service.ts

* fix process

* fix process test

* process service cloud fix

* fiexs

* modify init script

* fix two test

* remove unused property

* host issue

* not use npx

* fix ps cloud test

Co-authored-by: Denys Vuika <denys.vuika@gmail.com>
2020-06-04 14:41:30 +01:00
Cristina Jalba
6b06fd6364
[ACA-3390]Add startProcessWithApplication method on StartProcessPage (#5741)
* Add startProcessWithApplication method on StartProcessPage

* Removed one method

* Fix comments
2020-06-02 10:31:32 +01:00
Vito
6810f7a7a2
Fixed simple app for DT problem (#5731) 2020-05-27 19:11:33 +01:00
Alexandra Abrudan
df6627a658
update simpleapp with different ids and names for messages in pools-processes (#5719) 2020-05-21 17:41:45 +01:00
Cristina Jalba
5133705469
[ACA-3028]Move breacrumb page to adf testing package (#5705)
* Move breacrumb page to adf testing package

* no message
2020-05-14 23:51:34 +01:00
Eugenio Romano
c26b8e046c
stabilize some e2e cloud (#5701)
* stabilize some e2e cloud

* Update protractor.conf.ts

* Update protractor.conf.ts

* improve some other test

* fix
2020-05-14 09:42:40 +01:00
Eugenio Romano
bf729f60a2
[Impreove e2e] Dev delete sites e2e missing (#5695)
* fix e2e sites delete

* fix lint

* permamenent
2020-05-13 22:35:31 +01:00
siva kumar
2b7943919d
[ADF-5103] FE - Process/task filter - Backporting the components styles to ADF (#5614)
* * New Filters style

* * Improved css

* * Fixed wrong css selector

* * Fixed failing unit tests

* * Fixed failing tests
ests

* * FIXED E2E PROCESS-SERVICE TESTS

* * Fixed failing e2e

* * FIxed process-service cloud e2e

* * Removed xpath locator

* * New Filters style

* * Improved css
2020-05-13 14:43:05 +01:00
Cristina Jalba
24786b54e3
[ACA-3269]Move notificationPage to adf testing package (#5687)
* Move notificationPage to adf testing package

* Fix lint

* Fix test

* Fix test

* Wait for snackbar to be closed in the tests

* Fix notification tests
2020-05-12 23:09:55 +01:00
Vito
f5fe125c9e
[AAE-2557] - fixed variable mapping on start process (#5680)
* [AAE-2557] - fixed variable mapping on start process

* [AAE-2557] - fix for randomly failing e2e

* run

* uopdate process

* fix unit

* increase timeout

* Update edit-process-filter-cloud-component.page.ts

* [AAE-2557] - removed trailing whitespaces

* create only if change processes

* [create preview]

* trigger build

* [AAE-2557] - correct all filter on process filter selection

Co-authored-by: Eugenio Romano <eugenio.romano@alfresco.com>
Co-authored-by: Eugenio Romano <eromano@users.noreply.github.com>
2020-05-12 20:35:45 +01:00
Alexandra Abrudan
d331e32174
updating simpleapp with new processes with pools (#5688) 2020-05-12 16:16:04 +01:00
Eugenio Romano
f72f82ed4a
fix e2e (#5686)
* fix e2e

* Update notifications-component.e2e.ts

* fix e2e

* fix e2e

* try with interval

* Update version-actions.e2e.ts
2020-05-12 10:04:55 +01:00
Eugenio Romano
7734e6dba9
Update start-task-group-cloud.e2e.ts 2020-05-01 19:34:37 +01:00
Eugenio Romano
dae4c9b32e
remove excluded test C260249 (#5664) 2020-05-01 13:02:31 +01:00
Eugenio Romano
fb3ec899ef
Update protractor.excludes.json 2020-05-01 12:00:46 +01:00
dhrn
7cc1ba6042
[ADF-5123] C315268 not working correctly (#5643)
* [ADF-5123] C315268 not working correctly

* * improved code

* * fixed process list error

* * fixed process list error

Co-authored-by: Eugenio Romano <eromano@users.noreply.github.com>
2020-05-01 10:38:45 +01:00
dhrn
7d2af84a58
[AAE-2505] [PS cloud] Should not allow to start the process if is not created (#5659)
* * fixed bug

* * cherry pick
2020-05-01 09:40:40 +01:00
davidcanonieto
b77384331f
[ADF-5122] Unexclude C309674 test (#5655)
* [ADF-5122] Unexclude C309674 test

* Improve affected libs script to run tests if tests exclussion changed
2020-04-30 14:47:18 +01:00
Eugenio Romano
04a29ebc05
APS11 (#5654)
modify e2e for 1.11 APS
2020-04-29 18:20:14 +01:00
Cristina Jalba
7c0096eaa6
[ACA-3040]Modify some methods of start-process PO (#5650)
* Modify some methods of start-process PO

* Fix tests

* Fix test
2020-04-29 09:18:21 +01:00
Eugenio Romano
c0664341a0 fix search string 2020-04-28 22:36:59 +01:00
Eugenio Romano
bb17876ac8 fix e2e test after string changes 2020-04-28 19:12:35 +01:00
davidcanonieto
8f68899ce0
[ADF-4900] Card View and Metadata Components refactoring (#5592)
* [ADF-4900] Card View and Metadata Components refactoring

* CSS linting

* Unit test excluded

* Rebase branch

* Fix unit tests

* Fix linting

* Fix e2e tests

* Fix 2e2 tests

* Fix process-services e2e tests

* More fixes

* Fix more e2e tests

* Fix unit test

* Improve flaky unit test

* Fix process services e2e tests

* Update Process Header Cloud Page

* Fix linting

* Fix timing issue

* Lintintg

* Fix selectors

* Fix e2e tests

* Fix timing issue

* Fix C260328

* Fix spellcheck

* save screenshot

* performance issue

* Fix unit tests and e2e tests

* fix e2e

* refactoring

* fix lint

* fix e2e

* Fix C309698

* fix other e2e

* fix lint

* increase timeout

Co-authored-by: Eugenio Romano <eugenio.romano@alfresco.com>
2020-04-27 00:09:52 +01:00
Vito
d0f58600bc
[DW-1669] [ADF-5107]- Added new api call for creating and starting a process in… (#5602)
* [DW-1669] - Added new api call for creating and starting a process instance

* [DW-1669] - fixed linting

* [DW-1669] - fixed process default issue

* [DW-1669] - fixed problem on start process cloud

* [DW-1669] - removed check on valid form as it might interact with the correct behaviour

* [DW-1669] - added a small delay before pressing start as a debounce time was added and the click on start is too fast

* [DW-1669] - added a small delay before pressing start as a debounce time was added and the click on start is too fast

* [DW-1669] - removed wrong fdescribe

* [DW-1669] - added a small delay before pressing start as a debounce time was added and the click on start is too fast
2020-04-24 14:27:31 +01:00
Eugenio Romano
b9842ba12b
add slower type method for user picker (#5632)
* add slower type method for user picker

* add slower type method for user picker

* slower

* other fixes

* remove slow digit

* fix some more test

* slow down

* fix some more test

* exclude test

* exclude C315268
2020-04-23 23:23:32 +01:00
Cristina Jalba
098b9881eb
[ACA-3023]Refactor APS1 PO and ACS API calls of ADF testing package (#5629)
* Change the uploadFile method from ADF testing package

* Fix lint

* no message

* Fix a part of the tests

* Fix last tests

* Fix test

* Fix tests

* Fix test
2020-04-23 09:49:41 +01:00