297 Commits

Author SHA1 Message Date
Cristina Jalba
dc912aea5b
[AAE-3177] Fix tests that are using attach file widget (#5939)
* Fix few tests with alfresco content type

* Fix start-task-form-cloud suite: make tests independent

* no message

* Add new candidatebaseapp.zip - fix attach file widget with alfresco content & local type to have destination folder empty

* Fix json
2020-08-01 23:07:41 +01:00
Cristina Jalba
506f0dfbb1
[ACA-3590]Created process-instance-header, info-drawer and task-header POs (#5894)
* Created process-instance-header and info-drawer POs

* Refactor ADF tests to use ProcessInstanceHeaderPage

* Fix lint

* Fix card-view-date-item PO

* Add task-header PO

* no message

* Add set and get for due date property

* Changed how it was previously

* Exclude attach folder and attach file tests

* Bugs already fixed, remove excludes

* Modify data-table-item for cases when column title is empty

* Add new methods to datatable PO
2020-07-29 10:05:17 +01:00
Eugenio Romano
1581cfc662 fix change on nodeSelector interface 2020-07-28 17:27:18 +01:00
Urse Daniel
7c09fb1fb9
added functionality to view a previous version (#5913) 2020-07-27 09:29:29 +01:00
dhrn
a5972e753a
[ACA-3492] ADF - Expose new Groups Endpoints (#5893)
* [ACA-3492] ADF - Expose new Groups Endpoints

* * docs added

* * fix ut

* unit test split cloud

* Update data-table-component.page.ts

* unit test split cloud

Co-authored-by: Eugenio Romano <eugenio.romano@alfresco.com>
Co-authored-by: Eugenio Romano <eromano@users.noreply.github.com>
2020-07-22 11:20:07 +01:00
Eugenio Romano
7b1da04f77
Update login.page.ts
remove duplicate log [skip ci]
2020-07-22 09:27:57 +01:00
Eugenio Romano
44c5472fa2 fix build testing 2020-07-18 22:54:19 +01:00
Eugenio Romano
c31efa85af fix build 2020-07-18 00:45:42 +01:00
Iulia Burcă
dace956aa0
[ACA-3184][ACA-3185] Create Task Util class (#5863)
* Create Task Util page

* Export Task Util class

* Update Task Util

* Add checks for No Form fields
2020-07-16 11:57:05 +01:00
Cristina Jalba
f1bab75a79
[dev-crisj-ACA-3611]Refactor createUser method (#5872)
* Refactor createUser method

* Fix linting
2020-07-15 16:12:53 +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
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
Roxana Diacenco
934b51f4c7
Add resources for Process Cloud e2e tests (#5846) 2020-07-09 10:51:53 +01:00
Maurizio Vitale
33f4c01c2e
use the tag and not id because does not exist (#5847) 2020-07-09 10:51:34 +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
Denys Vuika
298fec08c1 production builds for CI runs 2020-07-03 18:25:49 +01:00
Denys Vuika
f691dc90dc
cleanup dependencies and fix versions (#5835)
* remove core-js

* fix lib versions

* remove unused lib

* upgrade rxjs
2020-07-03 18:08:37 +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
Pablo Martinez Garcia
90133b3bef
[AAE-2972] Add password visibility to login sso page (#5830)
* AAE-2972 Add password visibility to login sso page

* AAE-2972 Remove unuseful checks

* AAE-2972 Fix css selector
2020-07-02 08:56:55 +01:00
Pablo Martinez Garcia
e05c111c43
AAE-2972 Use BrowserActions in login page (#5825) 2020-07-01 09:10:09 +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
af47361f15 bump 3.9.0 2020-06-29 18:09:23 +01:00
Eugenio Romano
1aa1f12c64
[DO NOT MERGE] try reload search conf (#5820)
* try reload

* fix

* provide

* fix

* try
2020-06-27 14:26:51 +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
9fd10687e4
Update browser-actions.ts (#5807) 2020-06-23 16:37:52 +01:00
Eugenio Romano
9a156fa4fe
error message if log level is set with wrong name (#5805) 2020-06-22 18:46:45 +01:00
Eugenio Romano
20eaae5257 guard missing configuration 2020-06-22 15:07:28 +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
dc2060fe49
Add attach file forms and processes to resources file (#5793) 2020-06-18 17:56:57 +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
Cristina Jalba
8fb93fe1c0
Check for presence of the element before getText() in BreadcrumbPage PO. (#5776) 2020-06-15 22:04:50 +01:00
Eugenio Romano
6a20a7acef
fix start process testing (#5774) 2020-06-12 18:41:40 +01: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
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
siva kumar
b161ceab26
[ACA-3358] Show user friendly error templates when there are no applications/processDefinitions (#5746)
* * Added empty template on start process component

* * Removed errorMessageId

* * Added unit tests to recent changes

* * Added doc

* * fixed comments

* * Used showError notification

* * After rebase

* * Fixed failing e2e

* * Fixed comments
2020-06-09 09:15:22 +01:00
Eugenio Romano
76d391669c static async dropactions 2020-06-09 00:59:46 +01:00
Eugenio Romano
a37423b74a add drop actions utils 2020-06-08 23:59:36 +01:00
Eugenio Romano
5e09bbc252 fix param 2020-06-08 21:11:16 +01:00
Eugenio Romano
482c3023f8
fix testConfig Logger 2020-06-08 09:25:23 +01:00
Eugenio Romano
ffcd16aeaf
improve api service configuration (#5759) 2020-06-08 07:24:28 +01:00
Eugenio Romano
cafedf29f6
not use testconfig if is not present (#5758) 2020-06-08 00:10:13 +01:00
Eugenio Romano
8e241a9e8f
add export missing model (#5757)
simplify api
2020-06-07 21:46:37 +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
Cristina Jalba
492fba5f4e
[ACA-2989]Add doubleClickRow method (#5728)
* Add doubleClickRow method

* Renamed the method to be in sync with the actions made

* Modified the columns parameter from 'any' to 'Column[]'

* no message

* Make Column abstract again

* Add locators snackbar action

* Unblock Travis

* no message
2020-06-05 17:41:08 +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
Iulia Burcă
2372710f3d
[ACA-3332] Add Context menu click action for process and task list and selectRow for process list (#5730)
* Add click on context menu action

* Export context-menu class through public-api.ts

* Add isContextMenuDisplayed method

* Add select row method for process list

* Typo in context-menu class

* Move Context Menu class in core folder

* Add async and await to select process row method

* Remove return from select process row method

* Rename selectRow method for Process and Task list
2020-06-02 09:39:20 +01:00
Eugenio Romano
63a9c1a5be
fix peerDependencies testing 2020-05-26 22:22:46 +01:00