998 Commits

Author SHA1 Message Date
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
Eugenio Romano
4e94216d14
log demo shell not starting (#6954) 2021-04-27 17:01:49 +05:30
arditdomi
574db8d7cc
[AAE-4985] - Make SSO Role Service accept a content admin role that is not part of the JWT token (#6942)
* Add ability to check if the user is an ACS_ADMIN - not part of JTW token

* Make get user api call only once

* Add unit tests

* Add documentation

* Fix comments

* Exclude flaky tests, dependent on another test

* Fix unit test

* Fix comments

* Update documentation
2021-04-26 14:27:22 +01:00
Iulia Burcă
585a1b6918
Improve checkFilesAreAttachedToWidget() method (#6943)
* Improve checkFilesAreAttachedToWidget() method

* Add types for the parameters

* exclude test
2021-04-26 12:19:37 +03:00
Dharan
0635b7fd06
[ACA-4361] permission layout modified (#6937)
* * reusable data table column moved

* [ACA-4361] permission layout modified

* * build fixed

* fix build

* * import fixed

* * null safety operation

* * fixed comments

* * fix lint

* * wait for reload list

* * remove sleep

* * add sleep

* * fix comments

* * fix comments

* * floating promises fix

* * remove wait
2021-04-23 08:50:28 +01:00
Eugenio Romano
1a3cf77986
[ADF-5225] smoke test (#6929)
* change smoke test suite

* less

* fix error message undefined

* Update protractor.conf.js
2021-04-21 09:53:22 +01:00
Vito
e4288cd1f9
[ADF-5362] - Content type properties should be showed when content type is changed. (#6922)
* [ADF-5362] - Content type properties showed when content type changed

* [ADF-5362] - Added some fix and some unit tests

* [ADF-5370] - fixed e2e

* [ADF-5370] - fixed e2e
2021-04-15 09:56:21 +01:00
Cristina Jalba
cdaad8ebf1
[ADF-5374]Fix flaky filters tests (#6894)
* Check Travis

* Try with sleep

* Add more sleep and logs

* no message

* Fix

* no message

* no message

* Remove sleep
2021-04-06 14:36:31 +01:00
Cristina Jalba
39255ab02f
[AAE-4924]Add method for createProcess with variables (#6897)
* Add methos for createProcess with variables

* Exclude test due to bug
2021-04-06 09:25:31 +01:00
Eugenio Romano
c38993ee68
[skip ci] 2021-03-30 11:16:40 +01:00
Eugenio Romano
1957a8e5ca
Update protractor.conf.js 2021-03-29 17:00:17 +01:00
Eugenio Romano
1e22d43a02
Update protractor.conf.js 2021-03-29 16:43:14 +01:00
Eugenio Romano
29c9a6a2c0
smoke test suite (#6874) 2021-03-29 15:31:50 +01:00
Cristina Jalba
09834a1a70
[ACA-4337]Move APW tests: claim/release standalone task, json widget
* Move APW tests: claim/release standalone task, json widget

* Modify the form id

* Fix lint

* Fix lint

* Change test rail id

* no message
2021-03-25 10:27:19 +02:00
Denys Vuika
6ec9833b36
[MNT-22236] update e2e to reflect permission i18n support (#6852)
* update e2e to reflect permission i18n support

* use latest js-api SitesApi

* remove use of deprecated sites api in e2e

* fix test

* fix test
2021-03-24 20:51:01 +00:00
Eugenio Romano
ab6354d39a
Fix affect (#6846)
* fix affect

* one name
2021-03-23 17:12:55 +00:00
Dharan
8f8819c395
[ADF-5318] E2E Content Change type (#6799)
* [ADF-5318] E2E Content Change type

* Update metadata-content-type.e2e.ts
2021-03-22 09:25:50 +00:00
Eugenio Romano
cd915b307b
Remove demo shell test and make cloud a bit more stable (#6781)
* remove demo shell test and make cloud a bit more stable

* fix lint

* Update restore-content-directive.e2e.ts

* Update restore-content-directive.e2e.ts

* Update restore-content-directive.e2e.ts

* try fix attach

* Update .travis.yml

* sleep...

* remove about e2e demo shell....

* fix

* lint fix

* configure

* refactor buuild

* names and remove demo shell build from libs

* fix new build approach

* fix

* fix

* .

* uncomment

* .

* .

* fix

* fix

* .

* fix

* lock update

* fix demo shell errors

* use replay subject

* fix some console log error

* suffix problem

* split process e2e

* not need to check everywhere the pagination e2e

* split content

* fix

* fix

* fix

* fix

* reorg

# Conflicts:
#	.travis.yml
2021-03-17 15:17:46 +00:00
Eugenio Romano
b2a531c814
fix multilingualform id 2021-03-11 13:01:53 +00:00
davidcanonieto
994b4555af
[ADF-5353] WS Token refresh (#6774)
* [ADF-5353] WS Toke refresh

* Push UnauthorisedErrorHandler

* Remove Unauthorized error handler

* Remove app.config switch

* Fix unit test test

* Update app.module.ts

* Update task-filters-cloud.component.ts

* Excluded unstable flaky test under review

Co-authored-by: Vito Albano <vito.albano@alfresco.com>
2021-03-06 09:22:57 +00:00
Denys Vuika
a5eb5acf5d
[AAE-4749] process filter notification fixes (#6773)
* process filter notification fixes

* exclude flaky e2e
2021-03-05 07:44:23 +00:00
Vito
76c7825f40
Check if the test will run (#6779) 2021-03-04 14:38:01 +01:00
Vito
e05c80f04f
[ADF-5308] - re enabling excluded test (#6771) 2021-03-03 13:15:01 +00:00
Alexandra Abrudan
9231f62672
re-include test C299187 (#6752) 2021-03-01 13:58:59 +01:00
davidcanonieto
717f928d1c
[ACA-4299] Fix C593066 e2e test - task counter (#6741) 2021-02-26 14:44:20 +00:00
davidcanonieto
e96491fe25
[ACA-4299] Add e2e tests for task counters and notifications (#6726)
* [ACA-4299] Add ete tests for task counters and notifications

* Fix unit test

* Fix update for indirect counter changes
2021-02-26 08:57:27 +01:00
Denys Vuika
63969d65e7
[AAE-3992] Process Filter bug fixes and improvements (#6599)
* bug fixes

* bug fixes

* bug fixes

* cleanup tests

* travis workaround

* travis workaround

* travis workaround

* travis workaround

* travis workaround

* travis workaround

* Revert "travis workaround"

This reverts commit b67efccfb0aab8c7f6b9235d01525487771b8123.

* Revert "travis workaround"

This reverts commit 448f4e6d1211771e914f35183860af6df3452c16.

* Revert "travis workaround"

This reverts commit 542fae649c0501a9150ccac2e5a2cd54ee39a690.

* Revert "travis workaround"

This reverts commit 12f58568fbb0f8d2defb4c21a3ab1683bc8aa312.

* Revert "travis workaround"

This reverts commit b0ffef3bee0f81faf6088be8b5c2b072ad2762e7.

* Revert "travis workaround"

This reverts commit c6d95a2ff3b38b543fea83d3fc53016ac657b3bb.

* service fixes

* remove junk tests

* code fixes

* reduce code complexity

* update e2e

* update e2e

* fix i18n

* e2e fixes

* bug fixes

* rebase and fix

* properly serialize query params

* rework process filters demo

* remove dead code

* code fixes

* code fixes

* e2e improvements

* fix bug and remove e2e testing a bug

* bug fixes for date ranges

* fix e2e

* fix unit test

* reusable code

* fix flaky e2e

* fix angular cli version

* remove useless e2e (already tested by unit tests)

* remove useless e2e (already tested by unit tests)

* demo shell fixes

* remove fit

* disable flaky test

* update code as per review suggestions

* fix after rebase

* fix after rebase
2021-02-23 16:58:31 +00:00
arditdomi
c4030684b9
[ADF-5285] Re-include test (#6418)
* [ADF-5285] Re-include test

* Run e2e when protractor excluded json is changed
2021-02-23 14:58:28 +00:00
Popovics András
f84ea5da72
[AAE-4608] Use smartrunner version 2 and add SuperCache (workspaces + S3 combo)! (#6704)
* [AAE-4608] Use smartrunner version 2

* Fix npm installing and do not depend on develop cache

* Add Travis workspaces the simplest way

* Add missing dependencies

* Remove unnecessary npm install on lint

* Fix travis indentation

* Fix e2e missing adf packages

* Trying to fix Travis

* Remove debug information

* Use Travis workspaces for smartrunner and built artefacts caching instead of S3

* Implement nuclear caching for node_modules

* Quiet snyk running, since the log length kills Travis

* Maybe with -q

* Quieting snyk

* Why displaying the added packages??????

* Fix S3 persister/retriever scripts

* Restore back parallel build and lint, to gain 10 minutes
2021-02-22 08:57:08 +00:00
Eugenio Romano
4a381b46a5
[MNT-21636] Use URLTree for redirect (#6691)
* use URLTree for redirect

* use always urltree

* fix e2e

* fix
2021-02-18 17:42:57 +00:00