Commit Graph
274 Commits
Author SHA1 Message Date
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 RomanoandDenys Vuika 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
Eugenio Romano f4ee057193 Update login-sso.page.ts (#5725) 2020-05-26 20:03:30 +01:00
Cristina Jalba 97b8e995be [ACA-2989]Creating data-table-component PO to support all kind of columns, including custom (#5715)
* POC for refactoring data-table-component.page.ts [PO for datatable from adf testing package]. Currently the majority of the methods that we have on this class are working only on 'text' column type. The scope of this PR was to make them work on all types of columns (text, image, date, fileSize, location, json) and also custom columns that may be created on different applications or other pages.

* Set 'text' as default and add rootElement

* Remove comments
2020-05-26 11:56:10 +01:00
Iulia Burcă a8251fa7ef [ACA-3314] Add cancelButton and noFormTemplate form elements (#5723)
* Add method to click on task
2020-05-22 17:09:37 +01:00
Alexandra Abrudan 7b823834bc updated resources file with the new added processes & form (#5711) 2020-05-18 15:35:20 +01:00
Denys Vuika 347e64fd91 Pre-Angular upgrade fixes (#5709)
* code fixes

* code fixes

* more code fixes

* even more fixes

* add missing typescript for cli

* rollback info drawer test changes

* use npx for cli commands

* restore attach providers
2020-05-18 14:02:15 +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
Maurizio Vitale 1043748765 Ability to chage the route (#5703) 2020-05-14 12:44:20 +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
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
Eugenio Romano 63d59f7ffd revert used by app method 2020-05-13 01:32:09 +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
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
davidcanonieto b32f3f7f01 Fix resources path for releasing apps (#5691) 2020-05-12 18:15:18 +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
dhrn 85457d60d8 [ADF-5135] Eventual Consistency Helper for e2e tests. (#5668)
* [ADF-5135] Eventual Consistency Helper for e2e tests.

* [ADF-5135] Eventual Consistency Helper for e2e tests.
2020-05-11 11:38:51 +01:00
Alfresco Build UserandEugenio Romano fa1e691bd2 Update JS-API packages version 3.8.0 (#5670)
* Update JS-API packages version 3.8.0-beta10

* bump 3.8.0

Co-authored-by: Eugenio Romano <eugenio.romano@alfresco.com>
2020-05-04 17:01:54 +01:00
dhrnandEugenio Romano 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
Eugenio Romano 04a29ebc05 APS11 (#5654)
modify e2e for 1.11 APS
2020-04-29 18:20:14 +01:00
dhrn 30dd6168d5 * start process error (#5653) 2020-04-29 15:27:16 +01:00
Vito f76e6a3516 [DW-1530] - created extra method for process definition key set on filters (#5651) 2020-04-29 11:35:03 +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
Vito 13e17f8673 [AAE-2456] - added lowercase random string generator for e2e tests (#5645) 2020-04-27 17:18:24 +01:00