977 Commits

Author SHA1 Message Date
Ardit Domi
d8a4b5bcdb
[AAE-8748] - Auth guards call api when access is not in JWT (#7662)
* [AAE-8748] - Auth guards call api when access is not in JWT

* [ci:force] fix unit tests

* Remove fdescribe

* Add documentation and unit tests for the user access service

* Rename mocks, make e2e independent

* Fix login e2e

* Move forbidden access e2e under cloud
2022-06-07 10:21:54 +02:00
Michał Dobkiewicz
dbbfa11f50
test: remove flaky file upload e2e test (#7648)
* test: remove flaky file upload e2e test
2022-05-24 14:03:36 +02:00
Bartosz Sekuła
5cfbd6ffc2
Added font awesome to icons model map (#7616)
* Added font awesome to icons model map

* update
2022-05-10 15:07:53 +02:00
Nazareth Jimenez
dec6f09858
AAE-8476 Update sample app (#7603) 2022-04-26 16:30:43 +01:00
Maurizio Vitale
9ff1f65841
[AAE-8061] Fix the group restriction for people widget (#7601)
* FIx the restrinction

* Fix unit test about restricted groups

* Add a small sleep to make it green

* Add sleep to other checks

* Remove sleeps, improve assertions

Co-authored-by: MichalFidor <michal.fidor@hyland.com>
2022-04-26 15:29:06 +01:00
Tomasz Gnyp
7141230649
[AAE-7313] User can claim a task only if he is an candidate and relea… (#7558)
* [AAE-7313] User can claim a task only if he is an candidate and release if he is assigned

* [AAE-7313] unit test improvements

* revert change on  angular.json

* [AAE-7313] removed focus from unit test describe

* Trigger travis

* Trigger travis

* [AAE-7313] exclude C593997 e2e
2022-04-19 11:05:24 +02:00
Bartosz Sekuła
48c3fac018
[AAE-7819] Change column order - enable drag and drop for datatable - [1/3] (#7567)
* [AAE-7819] Enable drag and drop for datatable [1/3]

* [AAE-7819] Change column order - load and save columns order preferences for PROCESSES - [2/3] (#7568)

* [AAE-7819] Load and save column order preferences for processes

* [AAE-7819] Load and save column order preferences for tasks [3/3] (#7569)

* fix css

* fix icon module import

* Fix unit tests

* Fix test

* Fix e2e

* Fix C279927
2022-04-11 08:01:02 +02:00
Eugenio Romano
f992ea06df
Fix new URL configuration (#7557)
* Fix new URL configuration

* Update check-ps-cloud-env.sh

* Update check-ps-cloud-env.sh

* Update .travis.yml

* Update test.config.js
2022-03-17 15:29:53 +00:00
rafalszmit
b4b25ca71e
[AAE-7705] unexclude fixed test (#7547)
* [AAE-7705] unexclude fixed test

* trigger travis
2022-03-10 13:37:15 +01:00
MichalFidor
25eaf9d024
[ADF-5470] [E2E Automation] Test cases failing on the newest Chrome b… (#7539)
* [ADF-5470] [E2E Automation] Test cases failing on the newest Chrome browser 98
2022-03-04 16:36:31 +01:00
rafalszmit
75f7360a35
[AAE-7662] attach file modal TabPage selector update - protractor (#7538)
* tab selector update

* trigger travis

* exclude failing test
2022-03-03 18:26:48 +01:00
Denys Vuika
6ccc39d0f4
[ACA-4557] Upload Dialog fixes and refactoring (#7507)
* fix random errors for versioning

* remove node deletion on upload cancel

* fix after rebase

* restore the "complete" button

* simplify e2e

* delete obsolte test
2022-02-18 17:04:37 +00:00
Denys Vuika
1a6746ff3c
[MNT-22649] Support for concurrent uploads and configurable thread count (#7496)
* eslint fixes

* try remove upload restrictions

* disable unit test

* support threading count for upload

* update docs

* remove comment

* fix unit test

* remove fdescribe

* make 1 thread by default

* exclude e2e
2022-02-14 09:38:24 +00:00
Tomasz Gnyp
3205a3da7c
[AAE-5869] Added missing methods for e2e's (#7480)
* [AAE-5869] added missing methods for e2e's

* [AAE-5869] use TestElement

* [AAE-5869] added method to display no content container

* [AAE-5869] added method to wait for file properties table

* trigger travis

* [AAE-5869] upgrade simpleapp id of new widget

* trigger travis

* [AAE-5869] upgrade simpleapp

* trigger travis

* [AAE-5869] removed check for table display for file not attached method

* [AAE-5869] fixed string lint

* [AAE-5869] fixed lint error
2022-02-03 16:34:49 +01:00
Denys Vuika
b8bb234410
[AAE-7100] ESLint support for ADF Core and DemoShell projects (#7481)
* remove tsconfig.base as per eslint schematics

* add schematics

* upgrade demoshell to eslint

* fix eslint issues for demoshell

* integrate eslint for ADF core and fix some issues

* turn into warn

* fix code

* workaround for Chrome clipboard issue

* exclude e2e tests

* exclude e2e
2022-02-02 18:01:47 +00:00
Tomasz Gnyp
d6dd595c0e
Upgrade simpleapp - added attach file form with invalid destination path (#7482)
* Upgrade simpleapp - added attach file form with invalid destination path

* trigger travis
2022-02-02 08:55:42 +01:00
Sushmitha V
615d639241
[ci:force][AAE-7062] Fixed failing e2e tests (#7462) 2022-01-24 10:49:07 +01:00
Davide Cerbo
d605efaacb
ADF-5497 re-enable test (#7455) 2022-01-24 09:33:37 +01:00
Andrea Ligios
214cb321e9
AAE-6861 - Add runtimeBundleVersion property to the Model (#7443)
* AAE-6861 - Add runtimeBundleVersion property to the Model

* AAE-6861 - Excluded test C260385 due to regression bug ADF-5467
2022-01-13 11:48:26 +01:00
Denys Vuika
65a9d2bbfa
[AAE-5343] add update person api (#7426)
* add update person api

* fix e2e tests
2021-12-16 11:08:09 +00:00
MichalFidor
75adf217d1
[AAE-6742] Create E2Es for dropdown search capability (#7425)
* AAE-6742 Create E2Es for dropdown search capability

* Change protractor elementFinder to TestElement class in dropdown-widget.page.ts
2021-12-15 08:43:39 +01:00
Eugenio Romano
ddcd97ca37
[ADF-5228] Remove duplicate E2E os Unit (#7413) 2021-12-09 17:13:19 +01:00
MichalFidor
dcb966f391
Update simpleapp.zip with multiselect dropdown process with it (#7384) 2021-11-23 09:03:50 +00:00
MichalFidor
213455e060
AAE-6348 E2E for multiselect dropdown (#7376)
* AAE-6348 E2E for multiselect dropdown
2021-11-19 08:55:58 +01:00
Dharan
b9997be4ab
[AAE-5971] [Form] Support for multi select drop down (#7321)
* [AAE-5971] [ADF][Form-cloud] Support for multi select drop down

* * fix drop down validation

* * minor changes

* * fix tests

* * minor changes

* * fix comments

* * fix e2e
2021-10-27 09:15:28 +01:00
Sushmitha V
0270608bb0
[ADF-5405] Resolved process-filters action buttons disabling/enabling… (#7140)
* [ADF-5405] Resolved process-filters action buttons disabling/enabling issue

* Changes done as per comments on PR

* Added unit tests

* Changes done as per the comments on PR

* Fixed the failing e2es

* Fixed linting

* REsolved build failure

* Resolved failing e2e tests

* Resolved lint errors
2021-10-21 10:54:04 +05:30
MichalFidor
1e62b46060
[ADF-5463] Rework Protractor tests - changes related to element/element… (#7284)
* ADF-5463 Rework Protractor tests - changes related to element/elements and duplication of locators

* Fix one which I missed

* Remove console.logs

* Remove console.logs

* Reverse the timeouts

* Fixed things TSLint

* Remove unused import

* Fixed broken tests

* Last test fixed
2021-10-08 17:28:37 +02:00
arditdomi
df08e36d24
[AAE-5843] - Add e2e method to check the visibility of the upload fro… (#7262)
* [AAE-5843] - Add e2e method to check the visibility of the upload from local tab

* Remove expectation from page method

Co-authored-by: Ardit Domi <arditdomi@apl-c02g64vpmd6t.home>
Co-authored-by: Ardit Domi <arditdomi@apl-c02g64vpmd6t.broadband>
2021-09-28 09:14:02 +01:00
Pablo Martinez Garcia
e5192c10d6
Update candidatebaseapp to remove start event referencing unexisting form (#7231) 2021-09-02 10:25:07 +01:00
Dharan
29b4190888
[ACS-1767] [ADF] - Convert C329803 and C329800 cases (#7170) 2021-07-28 11:36:07 +01:00
Vito
bd1b879e44
[MNT-22348] - Fixed visibility when complex cases are appling (#7176)
* [MNT-22348] - Fixed visibility when complex cases are appling

* [MNT-22348] - Fixed lint errrors

* [MNT-22461] Unit test for visibility condition behaviour for checkxox expression is added

* fixed unit test for visibility condition

* [MNT-22348] - Fixed wrong form definition

* [MNT-22348] - Fixed wrong quote

* [MNT-22348] - Fixed wrong form definition

* [MNT-22348] - fixed form definition

Co-authored-by: Ketevani Kvirikashvili <qqetikv@gmail.com>
2021-07-28 11:30:40 +01:00
Alfresco Build User
d6499792bd
Update branch for JS-API PR#3674 (#7154)
* [ci:force][auto-commit] Update JS-API to 4.5.0-3672 for branch: update-js-api originated from JS-API PR: 3674

* Update search-filters.e2e.ts

Co-authored-by: Travis CI User <travis@example.org>
Co-authored-by: Eugenio Romano <eromano@users.noreply.github.com>
2021-07-07 11:36:29 +02:00
Dharan
cb5c3abd7c
[ADF-5440] update ADF e2e for APS 2.0 (#7150)
* [ADF-5440] update PS  e2e for APS 2.0
[ci:force] run all e2e

* [ci:force] run all e2e

* [ci:force] revert old app config value
2021-07-05 16:12:46 +02:00
Eugenio Romano
91b6dc176b
Update protractor.excludes.json (#7132) 2021-06-30 12:30:55 +02:00
arditdomi
7f7b61bda1
[ACA-4479][ACA-4480] - Enable Save button when the form is invalid (#7131)
* [ACA-4479][ACA-4480] - Enable Save button when the form is invalid

* Add a unit test for form cloud

* Fix e2e
2021-06-29 14:36:19 +01:00
Popovics András
1ecc14f184
Refactor e2e's ApiService (#7101)
* Refactor e2e's ApiService

* Fix bits here and there

* [ci:force] Remove unused imports

* [ci:force] Extract shared part from adf-testing

* [ci:force] Extract StringUtils as well

* Make protractor's Logger not have duplicated code

* [ci:force]
2021-06-19 23:03:17 +02:00
Eugenio Romano
558056b05c
test if we can remove compatibility (#7064)
remove compatibility
2021-06-10 14:38:12 +02:00
Cristina Jalba
4dc98eb288
[ADF-5421]Include C307988 test back 2021-06-10 12:56:24 +03:00
Cristina Jalba
6400fd6ba8
[ACA-4474]Add isStartProcessButtonEnabled method
* [ACA-4474] Add isStartProcessButtonEnabled method

* Refactor tests

* Fix lint error

* Refactor isStartProcessButtonEnabled method

* Fix startProcessWithProcessDefinition method

* Fix tests

* no message

* Fix isStartProcessButtonDisabled method

* Exclude failing e2e
2021-06-08 18:58:11 +03:00
Eugenio Romano
9e0000a307
disable w3c due getValue problem (#7067)
* [ci:force]disable w3c due getValue problem

* unify get Input value

* [ci:force]fix

* [ci:force] remove

* [ci:force]remove all getAttribute

* fix lint

* fix lint

* fix

* fix

* fix

* fix

* different fix try

* rewrite wait for for value

* fix lint

* remove e2e already covered by unit

* fix lint

* fix
2021-05-28 18:08:49 +01:00
Eugenio Romano
0fcb15c9c5
Remove e2e already covered by unit test (#7058)
* remove e2e not possible to automate

* remove e2e already covered by unit test

* Update login-component.e2e.ts
2021-05-25 17:14:17 +01:00
Cristina Jalba
12c3fec51a
e2e: Improve cloud custom filters
* Improve cloud custom filters
2021-05-25 16:30:54 +03:00
arditdomi
bd96dfddde
[ADF-5387] - Fix dropdown tests, remove call to external API (#7044)
* [ADF-5387] - Fix dropdown tests, remove call to external API

* Update simpleapp

* Re-include test

* Fix comment

* Fix lint errors
2021-05-21 22:01:02 +02:00
Cristina Jalba
a5e85b44f8
[ACA-4458]Add expand cloud custom filter method
* [ACA-4458]Add expand cloud custom filter method

* Fix comment

* Rename method

* Fix comment

* Fix comment
2021-05-20 18:56:08 +03:00
Dharan
e603486b00
[AAE-5139] User name style and Discovery service initialization fix (#7010)
* [AAE-5139] User name style fix and Discovery serice fixed

* * fixed unit test

* * fixed test and us latest js-api events

* * tests fixed

* * update js api

* * fixed test and lint
2021-05-12 00:10:21 +05:30
davidcanonieto
bd805cb34b
[ADF-5390] [ADF-5391] Add multivalue cardview for Date, Datetime, Integers and Decimal properties. (#6980)
* [ADF-5390] Addd multivalue cardview for Date, Datetime, Integers and Decimal properties

* Fix unit test

* Fix linting

* Fix e2e tests

* fix e2e

Co-authored-by: Eugenio Romano <eugenio.romano@alfresco.com>
2021-05-09 04:05:26 +01:00
Urse Daniel
e8ffe8e35e
[ADF-5378] ADF Previewer: Image Rotate + Save (#6958)
* updates including cropperJS

* update on rotation + unit tests

* small fix

* hide toolbar on save

* remove unused & duplicate method

* added readonly & prettier code

* include readOnly mode to hide/show media management actions

* updated dependencies

* fix emit spy

* ADF-5378: Fix failing e2es

* Fix comments for unit tests

* ADF-5378: Removed obsolete buttons from e2e

Co-authored-by: kristian <kristian.dimitrov@alfresco.com>
Co-authored-by: adomi <ardit.domi@alfresco.com>
2021-05-01 15:54:37 +01:00
Dharan
8b5e45f4eb
[ADF-5366] initialize discovery and version compatibility service for oauth based session (#6864)
* [ADF-5366] initialize discovery and version compatibility service for oauth based session

* better error message

* * fix spaces

* * revert the search service

* * fix build

* * check properties after type update

* * check properties after type update

* * check properties after type update

* * fix infinite loop

* * fix test without title

* * wait for options

* * wait for session

* Update metadata-content-type.e2e.ts

* Update metadata-content-type.e2e.ts

* Update protractor.excludes.json

* Update protractor.excludes.json
2021-04-29 13:40:49 +01:00
Eugenio Romano
42c81e46bb
fix e2e protractor (#6962) 2021-04-28 14:03:30 +01:00
Adina Parpalita
ba1b337433
rename env variable (#6956)
* rename env variable LOG_LEVEL to E2E_LOG_LEVEL in order to be consistent with the rest of the apps

* revert part of the renaming
2021-04-27 14:41:32 +01:00