41 Commits

Author SHA1 Message Date
Eugenio Romano
08da9ae2c3
[AAE-12501] move auth in ADF (#8689)
* remove unneeded JS-API dep
move auth in the right place

* [AAE-12501] Replace alfresco api client with AdfHttpClient

* [AAE-12501] Restore get username methods

* [AAE-12501] Get username with authentication service

* [AAE-12501] Create a request options interface with the needed props, remove the import from js-api, return the body from request

* add emitters

* [AAE-12501] Replace Math.random() to fix hospot security issue, fix lint issues

* [AAE-12501] Comment temporary setCsrfToken because is not possible to import app config service from core due to circular dependencies

* [AAE-12501] Get disableCsrf from app config serviice when app configuration is loaded

* [AAE-12501] Remove wrong character

* Pass down the requestUrl for request interception
bring back check from js-api
fixing isLogin issues part1
some fix around emit
Narrow access for methods
fix sso username issue
Switch to dynamic service injection
add emitters
move auth inside ADF

* clean

* fix unit test

* fix lint

* Fix exports

* Fix process-services unit tests

* Fix core unit tests

Fix core unit tests

Fix core unit tests

Fix core unit tests

Fix core unit tests

Fix core unit tests

Fix core unit tests

* Fix content-services unit tests: getEcmUsername from authentication service

Fix content-services unit tests: alfresco api service has been replaced by authentication service

* Fix circular dependecies issue importing AppConfigService outside the api entrypoint dir

* Import AuthModule even in not only canary mode to let the e2es run

* Fix authentication unit tests

* Fix unit test '[ECM] should return a ticket undefined after logout'

* Remove AlfrescoApiService is not used anymore

* Fix unit test '[BPM] should return an BPM ticket after the login done': add Basic suffix to basicAuth

* Fix unit tests core

* Fix login errors with the BASIC authentication

* Fix missing onLogin event

* Temporary skip unit tests to check e2es

* Fix login component doesn't add the authorization header

* Fix prefix is undefined

* Fix image is not showed by the alfresco file viewer because alf_ticket is not added to the content url query params, pass ticketEcm to the alfrescoApi configuration used by alfrescoApiClient.ts getAlfTicket()

* Fix C280012: set app prefix before calling content api

* Revert "Fix image is not showed by the alfresco file viewer because alf_ticket is not added to the content url query params, pass ticketEcm to the alfrescoApi configuration used by alfrescoApiClient.ts getAlfTicket()"

This reverts commit afbf086b98d72835aab8b15d4af433efeaac2d3b.

* try to change adf core autoamtion service init

* go back

* grant type password login

* fix

* remove automatic login in reset try

* fix not silent login

* lint happy

* fix

* Update alfresco-api-v2-loader.service.ts

* fixint

* Revert "Temporary skip unit tests to check e2es"

This reverts commit a0adc7e58a001a54442c82952761bff891caa5cd.

* fix modules

* fix app config stream in storing service
fix app config stream for sub property

* fix identity test to use the real service

* fix unit

* fix unit

* fix unit

* remove test that are probably have never been green

* fix

* fix PC

* fix localstorage

* fix

* fix

* fix

* fix

* fix storybook
move e2e in content for versioning
fix lint

* fix

* fix size

* enable log

* some fix for usernames

* remove log

* fix rebase

* [AAE-12502] Restore isKerberosEnabled into authentication service

* subject onLogin

* fix unit

* Fix lint issue

* fix

* Update error message

* Revert change did by b79c5d37d6\#diff-ad85723e21276e05e577bab652c6ab0d243bd0ad54d4cc70ef6e60dc5e635c33L38

* Refresh the browser to wait for the user to click process cloud page

* Remove e2e, the application list is already tested by the app-list-cloud.component.spec.ts https://github.com/Alfresco/alfresco-ng2-components/blob/dev-eromano-AAE-12501-2/lib/process-services-cloud/src/lib/app/components/app-list-cloud.component.spec.ts\#L147

* [12502] Add getUsername method to the AuthenticationService

* [12501] restore mutlipart/form-data header needed by angular http-client to to fix 415 unsupported media type

* Revert "[12501] restore mutlipart/form-data header needed by angular http-client to to fix 415 unsupported media type"

This reverts commit d8c584b94f649b57859d74157ec0861f2ebddebb.

* [12501] fix unsupported upload file on admin-apa, append json content type only calling alfresco api

* [12501] fix unsupported upload file on admin-apa

[12501] fix unsupported upload file on admin-apa

* Revert "[12501] fix unsupported upload file on admin-apa"

This reverts commit 53cda21d795588d87244c78c5a5347afd04ea2b1.

* Improve getHeaders

* Revert change

* Set application/json content type if request body is not a FormData

* Logout by the authenticationService

* Update returned error message

* Fix lint issues after rebasing

* [12502] Add basic template with data-automation-ad selector to check when is attached to the Dom

* Fix issues after rebase

---------

Co-authored-by: Amedeo Lepore <amedeo.lepore@hyland.com>
Co-authored-by: Andras Popovics <popovics@ndras.hu>
2023-11-06 14:25:27 +01:00
Ardit Domi
c0611e4642
Be able to provide the email domain for test users from an env var (#7914)
* Be able to provide the email domain for test users from an env var

* Change default domain to example.com
2022-10-21 14:32:23 +01:00
Ardit Domi
b64d1583e2
Change email domain for users created by e2e to example.com (#7911) 2022-10-20 11:58:28 +01:00
Ardit Domi
1a76776e65
Change email domain for users created by e2e (#7910)
* Change email domain for users created by e2e

* Fix typo

* Use example.net as default
2022-10-20 08:59:08 +01:00
Popovics András
c974623741
🚀🚀🚀 Release 5.0.0-angular.13 🚀🚀🚀 (#7751)
* Angular 13 migration

author Denys Vuika <denys.vuika@gmail.com> 1645535464 +0000
committer Andras Popovics <popovics@ndras.hu> 1658854099 +0200
gpgsig -----BEGIN PGP SIGNATURE-----

 iHUEABYKAB0WIQQp4kkcEG/HRJq2bsSpIH4RXC/6cgUCYuAa0wAKCRCpIH4RXC/6
 cpbgAQDdXzCpsWqAu2yGX+KHYg+pO1mY/ChSMVyqmEpJ92cf2QEAj+4v68ezwM7R
 eWYLTjZtLXNu0oHKejFZbDT2QgR6dQk=
 =PM8X
 -----END PGP SIGNATURE-----

Angular 13 upgrade

ng 11

material 11

remove node-sass

flex layout upgrade

angular 12 with theming workaround

flex 12

upgrade nrwl libs

update lock file

update builder configs

update lock file

Angular 13 upgrade

fix

fix lint

workaround to remove
remove some unused dependencies

fix flex import

Signed-off-by: eromano <eugenioromano16@gmail.com>

renmove gropu and container as form field to review
fix most of the content cycle deps

Signed-off-by: eromano <eugenioromano16@gmail.com>

nx

Signed-off-by: eromano <eugenioromano16@gmail.com>

all build not sure all work

Signed-off-by: eromano <eugenioromano16@gmail.com>

fix demo shell

Signed-off-by: eromano <eugenioromano16@gmail.com>

fix demo shell

Signed-off-by: eromano <eugenioromano16@gmail.com>

[AAE-7662] attach file modal TabPage selector update - protractor (#7538)

* tab selector update

* trigger travis

* exclude failing test

[AAE-6345] New start process page APA (#7521)

* [AAE-6345] New start process page APA

* [AAE-6345] Added test

* [AAE-6345] Update

* CR

* Revrite wrapper to component

* Quick fix to e2e

* Show errors as ng-content

* Add Inplace word

* Fix unit tests

* Fix e2e

[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

[AAE-7160] Setup Playwright in ADF - Storybook testing (#7537)

* [AAE-7160] Setup Playwright in ADF - Storybook testing

* New test cases for groups component. Reorganize the files

* Add to package.json scripts - npm run playwright

* Change amount of workers

* Change workesr to 2

[AAE-7338] Changed endpoint for process task list (#7522)

* [AAE-7338] Changed approach to use token injection

* [AAE-7338] moved model files up

* [AAE-7338] fixed imports

* [AAE-7338] changed class to interface

* [AAE-7338] fixed model imports

* * Fixed failing unit tests due recent changes

* [AAE-7338] fixed unit test

Co-authored-by: sivakumar414ram <sivakumar414ram@gmail.com>

[AAE-7765] Improved display mandatory form fields (#7531)

* [MNT-22765] Improved display mandatory form fields

* [MNT-22765] added unit tests

* [MNT-22765] fixed test with error icon on rest fail

* Trigger travis

* [MNT-22765] removed underscore from var name

* [AAE-7765] removed underscore from unit test

* [AAE-7765] fixed css lint

* [AAE-7765] fixed e2e error message css class

* [AAE-7765] fixed storybook e2e

additional unit tests for Viewer component (#7543)

* additional unit tests for Viewer component

* extra unit tests

* fix unit test

[ADF-5472] Missing placeholder for inplace input (#7541)

[AAE-7801] Export TaskListCloudServiceInterface and BaseCloudService (#7546)

[AAE-7376] Added process instance link in task details (#7544)

* [AAE-7376] Added process instance link in task details

* [AAE-7376] removed redirect logic from ADF

* Trigger travis

* [AAE-7376] added unit test

Playwright travis.yml update (#7545)

* Playwright travis.yml update

* Travis: Trigger

[AAE-7705] unexclude fixed test (#7547)

* [AAE-7705] unexclude fixed test

* trigger travis

LOC-359 - Full fix - UI files localized in 16 languages for ADF 4.9 (#7551)

Fail in case of error (#7550)

Release 4.9.0 (#7552)

* bump versions

* generate reports

* release notes

* update release link

Update .travis.yml (#7555)

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

[AAE-5880] Add Tasks Create, DueDate range testing methods in the testing page (#7549)

* [AAE-5880] Add Tasks Create, DueDate range testing methods in the testing page

* [AAE-5880] fixed process definition name dropdown select

Co-authored-by: Tomasz <tomasz.gnyp@hyland.com>

[ci:force] Manually upgrade to latest js-api (#7560)

[AAE-7818] e2e - Task involved users can access process instance details (#7554)

* [AAE-7818] e2e - Task involved users can access process instance details

* Trigger travis

Bump eslint-plugin-import from 2.22.1 to 2.25.4 (#7527)

Bumps [eslint-plugin-import](https://github.com/import-js/eslint-plugin-import) from 2.22.1 to 2.25.4.
- [Release notes](https://github.com/import-js/eslint-plugin-import/releases)
- [Changelog](https://github.com/import-js/eslint-plugin-import/blob/main/CHANGELOG.md)
- [Commits](https://github.com/import-js/eslint-plugin-import/compare/v2.22.1...v2.25.4)

---
updated-dependencies:
- dependency-name: eslint-plugin-import
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

Bump minimist from 1.2.5 to 1.2.6 (#7563)

Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases)
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6)

---
updated-dependencies:
- dependency-name: minimist
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

Bump minimist from 1.2.5 to 1.2.6 in /tools/doc (#7561)

Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases)
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6)

---
updated-dependencies:
- dependency-name: minimist
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

Bump minimist from 1.2.5 to 1.2.6 in /lib/cli (#7562)

Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases)
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6)

---
updated-dependencies:
- dependency-name: minimist
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

Update header.component.md

[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

[AAE-8086] Propagate form events (#7572)

* [AAE-8086] Propagate events

* [AAE-8086] Add form rules manager to the form renderer

* [AAE-8086] Extensibility improvements

* [AAE-8086] Fix wrong import

* [AAE-8087] Add form actions

* [AAE-8086] Initialize form rules manager on form renderer component changes

* [AAE-8087] Fix form actions

* [AAE-8087] Fix unit tests for field visibility

* trigger travis

Provide preference services on for tasks/processes on component module level (#7579)

[AAE-8086] Remove form rules events that kill performance (#7583)

* [AAE-8086] Remove form rules events that kill performance

* [AAE-8086] Handle form loaded event in form rules

[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

[AAE-8086] Add form field changed event (#7584)

* [AAE-8086] Add form field changed event

* [AAE-8086] Send field changed event only qhen value changes (not in visibility check)

[AAE-8061] Add groups restriction to people widget (#7586)

* [AAE-8061] add groups restriction to people widget

* Trigger travis

* [AAE-8061] fix lint

* [AAE-8061] fix unit tests

[AAE-7819] Fix for custom header (#7585)

Update branch for JS-API PR#63 (#7581)

* [ci:force][auto-commit] Update JS-API to 4.10.0-63 for branch: update-js-api originated from JS-API PR: 63

* [ci:force][auto-commit] Update JS-API to 4.10.0-64 for branch: update-js-api originated from JS-API PR: 64

* [ci:force][auto-commit] Update JS-API to 4.10.0-65 for branch: update-js-api originated from JS-API PR: 65

* [ci:force][auto-commit] Update JS-API to 4.10.0-66 for branch: update-js-api originated from JS-API PR: 66

* [ci:force][auto-commit] Update JS-API to 4.10.0-69 for branch: update-js-api originated from JS-API PR: 69

* [ci:force][auto-commit] Update JS-API to 4.10.0-70 for branch: update-js-api originated from JS-API PR: 70

* [ci:force][auto-commit] Update JS-API to 4.10.0-77 for branch: update-js-api originated from JS-API PR: 77

* generate package lock

* fix eslint plugin versions

Co-authored-by: Denys Vuika <denys.vuika@gmail.com>

[ci:force][auto-commit] Update JS-API to 4.10.0-78 for branch: update-js-api originated from JS-API PR: 78 (#7589)

Bump karma from 6.3.16 to 6.3.17 (#7576)

Bumps [karma](https://github.com/karma-runner/karma) from 6.3.16 to 6.3.17.
- [Release notes](https://github.com/karma-runner/karma/releases)
- [Changelog](https://github.com/karma-runner/karma/blob/master/CHANGELOG.md)
- [Commits](https://github.com/karma-runner/karma/compare/v6.3.16...v6.3.17)

---
updated-dependencies:
- dependency-name: karma
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

Bump moment from 2.29.1 to 2.29.2 in /tools/doc (#7574)

Bumps [moment](https://github.com/moment/moment) from 2.29.1 to 2.29.2.
- [Release notes](https://github.com/moment/moment/releases)
- [Changelog](https://github.com/moment/moment/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/moment/moment/compare/2.29.1...2.29.2)

---
updated-dependencies:
- dependency-name: moment
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

[AAE-8554] - Fix linked dropdown values are displayed but not submitted (#7590)

* [AAE-8554] - Fix dropdown values are displayed but not submitted

* Make eslint allow ternary

[ADF-5480] Fix partially hidden icon on permissions (#7591)

Fix reules event filtering when no form is provided (#7592)

[AAE-8565] multiple use viewer in form (#7594)

* multiple use viewer

multiple use in the form of viewer needs multiple instance of ViewUtilService

* Update viewer.component.spec.ts

* Update viewer.component.spec.ts

* Update viewer.component.spec.ts

* Update viewer.component.spec.ts

use all the filter fields to count the elements (#7595)

[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>

AAE-8476 Update sample app (#7603)

Release 4.10.0 (#7602)

* bump library versions

* update package lock

* generate reports

* release notes for 4.10.0

Fix demo shell proxies (#7613)

Added font awesome to icons model map (#7616)

* Added font awesome to icons model map

* update

Update branch for JS-API PR#5 (#7615)

* [ci:force][auto-commit] Update JS-API to 4.11.0-121 for branch: update-js-api originated from JS-API PR: 5

* [ci:force][auto-commit] Update JS-API to 4.11.0-122 for branch: update-js-api originated from JS-API PR: 122

[AAE-7817] Show hide columns on datatable (#7580)

* [AAE-7817]  Show hide columns for data-table

* Update

* update tests and uses material harness

* added pipes test

* update

* update

* added tests for datatable

* update

* Added documentation

* Fix for drop column header

* lint fix

* fix lint

Update branch for JS-API PR#9 (#7625)

* [ci:force][auto-commit] Update JS-API to 4.11.0-124 for branch: update-js-api originated from JS-API PR: 9

* [ci:force][auto-commit] Update JS-API to 4.11.0-125 for branch: update-js-api originated from JS-API PR: 125

[AAE-8659] fix eslint configuration for rxjs (#7607)

* fix eslint configuration for rxjs

* update vs code settings

* disable arror-functions warning

[MNT-22924] Fix slow search results loading, limit number of pages (#7609)

* [MNT-22924] Fix slow search results loading, limit number of pages

* Add unit test

* Changed some of the values

Add eslint ban rule (#7611)

[AAE-8648] Fix deprecated copy to clipboard api (#7610)

[ci:force] Fix failing copy to clipboard test (#7631)

Added missing top-level export for MainMenuDataTableTemplateDirective (#7633)

[AAE-8639] Discovery OpenId - Load discovery and pass info to jsapi (#7632)

* Load discovery and pass info to jsapi

* fix the roles empty scenario tests

* Make lint happier

* Rename the initApi method

* Add secret field

Co-authored-by: arditdomi <ardit.domi@hyland.com>

[AAE-8764] Enable left labels in text, number and dropdown cloud widget (#7628)

Update branch for JS-API PR#126 (#7629)

* [ci:force][auto-commit] Update JS-API to 4.11.0-126 for branch: update-js-api originated from JS-API PR: 126

* [ci:force][auto-commit] Update JS-API to 4.11.0-127 for branch: update-js-api originated from JS-API PR: 127

* [ci:force][auto-commit] Update JS-API to 4.11.0-131 for branch: update-js-api originated from JS-API PR: 131

* [ci:force][auto-commit] Update JS-API to 4.11.0-132 for branch: update-js-api originated from JS-API PR: 132

* [ci:force][auto-commit] Update JS-API to 4.11.0-133 for branch: update-js-api originated from JS-API PR: 133

[AAE-7077] Reset people content service cache on logout (#7637)

* reset people content state on logout

* unit test

* use property accessor

[AAE-7817] Add columns selector for processes and tasks tasks (#7612)

* [AAE-7817] Add columns selector for processes and tasks tasks

* cr

* Update

* fix unit tests

* preserve order while sorting

* add input toggle to show main actions

* fix test

[AAE-8713] feat: create api registry with factories support (#7634)

Co-authored-by: Andras Popovics <popovics@ndras.hu>
Co-authored-by: Michal Dobkiewicz <michal.dobkiewicz@hyland.com>
Co-authored-by: Michał Dobkiewicz <ddohcim@users.noreply.github.com>

use default profile email as scope (#7639)

[AAE-8856] Enable left label for form widgets in several widgets (#7640)

test: remove flaky file upload e2e test (#7648)

* test: remove flaky file upload e2e test

Revert "[AAE-8713] feat: create api registry with factories support (… (#7647)

* Revert "[AAE-8713] feat: create api registry with factories support (#7634)"

This reverts commit 226a6548a1fbaecad9f340e0ac688ef334ab4049.

fix small viewport attach file (#7650)

[AAE-6242] upload a new version of a file attached in a form (#7651)

* [AAE-6242] Create upload new version dialog to handle the upload of the new file version

* [AAE-6242] Create version manager service to open version manager dialog

* [AAE-6242] Export service and dialog

* [AAE-6242] add adf-upload button to the show the upload new file button

* [AAE-6242] open upload new version dialog

* [AAE-6242] Removed console log

* [AAE-8798] display update option name to newVersion

* [AAE-8799] Emit version manager data when new file version is uploaded

* [AAE-8799] When a new file version is uploaded open new version dialog and update current file version with the new file version

* [AAE-8799] Rename UploadNewVersionDialogComponent to VersionManagerDialogComponent and UploadNewVersionDialogData to VersionManagerDialogData

* [AAE-8799] Use default root folder id

* [AAE-8799] Add #uploadSingleFile ViewChild in order get the input reference

* [AAE-8799] Trigger adf-upload-button by clicking on the button in order to open the file chooser and upload a new file version

* [AAE-8799] Version manager dialog emits file upload error

* [AAE-8799] Format version manager dialog code

* [AAE-8799] Reject upload and permission errors

* [AAE-8799] Catch upload new version errors

* [AAE-8799] Update allowable operation type

* [AAE-8799] Rename VersionManagerDialogComponent into NewVersionUploaderDialogComponent and VersionManagerService into NewVersionUploaderService, create specific folder for new version uploader component and service

* Restore previous UploadButtonComponent version

* [AAE-8799] Use [adf-upload] directive to upload new file version

* [AAE-8799] Add mock file for new version uploader unit tests

* [AAE-8799] Override mat dialog configuration

* [AAE-8799] Add unit test related to event emitted from Dialog

* [AAE-8799] Create model to handle New Version Uploader data

* [AAE-8799] Return data on dialog close

* [AAE-8799] Add showVersionsOnly property to dialog to show only file version list

* [AAE-8799] Add dialogAction to emit dialog actions

* [AAE-8799] Return observable instead of promise

* [AAE-8799] Update new file version type

* [AAE-8799] Subscribe dialog because return an Observable

* [AAE-8799] Add license header

* [AAE-8799] Add i18n new version uploader translations

* [AAE-8799] If data.title is not provided, add a default title

* [AAE-8799] Change panelClass for manage versions visualizations, add dialog styles

* [AAE-8799] Add upload new version dialog unit test

* [AAE-8799] Add upload new version dialog unit test related to manage versions section

* [AAE-8799] Add onUploadNewFileVersion unit tests

* [AAE-8799] Test new dialog panelClass

* [AAE-8799] Create a method to set dialog title, if title isn't provided from parent component, a default title is set

* [AAE-8799] Add doc to new-version-uploader-dilog component and service

* [AAE-8799] Add new-version-uploader.dialog.service documentation

[AAE-8929] Get start event form static inputs (#7652)

* [AAE-8929] Get start event form static inputs

* [AAE-8929] Fix tests

[AAE-8948] Fix placeholders styles for left labels (#7656)

[AAE-8740 Add a confirmation message in ADW (#7660)

* [AAE-8740 Add a confirmation message in ADW

* update tests

* use MatDialogHarness for tests

* Cleaning tests

Co-authored-by: Bartosz Sekula <Bartosz.Sekula@hyland.com>

[AAE-7856] Show process variables in table (#7630)

* [AAE-7856] Show variables in table

* Exclude flaky tests

* Revert "Exclude flaky tests"

This reverts commit 6ac24cc14a90d7b494fbc4dcc72e073e83a46457.

[AAE-7856] Show variables columns for tasks (#7659)

* Exclude flaky tests

* Revert "Exclude flaky tests"

This reverts commit 6ac24cc14a90d7b494fbc4dcc72e073e83a46457.

* [AAE-7856] Show variable columns in tasks

* revert loadTask to reload method name

* Temporary solution due to incompatible type used for dates

Update process variable column type (#7664)

[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

[AAE-8740] Fix default ConfirmDialogComponent title (#7665)

[ADF-5272] fe files upload form width is increasing if we upload file name too long (#7666)

* [ADF-5272] Add tooltip to show the entire filename

* [ADF-5272] Set max-width to div that contains filename to show ellipsis

[AAE-8155] Check if it is content admin only when content provider is available (#7667)

[AAE-8155] Fix typo in providers (#7669)

Update content-node-selector.component.scss (#7673)

[ADF-5479] Disable clam/release button for standalone tasks on APA (#7670)

* [ADF-5479] Disable clam/release button for standalone tasks on APA

* [ADF-5479] remove focus on unit test describe

* Trigger travis

[AAE-8076] Add groupsRestriction input to docs (#7645)

* [AAE-8076] revert storybook changes

* Trigger travis

[AAE-9094] - Fix app breaking when configured with BASIC auth (#7672)

Update branch for JS-API PR#134 (#7638)

* [ci:force][auto-commit] Update JS-API to 4.11.0-134 for branch: update-js-api originated from JS-API PR: 134

* [ci:force][auto-commit] Update JS-API to 4.11.0-136 for branch: update-js-api originated from JS-API PR: 136

* [ci:force][auto-commit] Update JS-API to 4.11.0-137 for branch: update-js-api originated from JS-API PR: 137

* [ci:force][auto-commit] Update JS-API to 4.11.0-138 for branch: update-js-api originated from JS-API PR: 138

* [ci:force][auto-commit] Update JS-API to 4.11.0-138 for branch: update-js-api originated from JS-API PR: 139

* [ci:force][auto-commit] Update JS-API to 4.11.0-140 for branch: update-js-api originated from JS-API PR: 140

* [ci:force][auto-commit] Update JS-API to 4.11.0-142 for branch: update-js-api originated from JS-API PR: 142

* [ci:force][auto-commit] Update JS-API to 4.11.0-144 for branch: update-js-api originated from JS-API PR: 144

* [ci:force][auto-commit] Update JS-API to 4.11.0-145 for branch: update-js-api originated from JS-API PR: 145

* [ci:force][auto-commit] Update JS-API to 4.11.0-146 for branch: update-js-api originated from JS-API PR: 146

* [ci:force][auto-commit] Update JS-API to 4.11.0-147 for branch: update-js-api originated from JS-API PR: 147

* [ci:force][auto-commit] Update JS-API to 4.11.0-148 for branch: update-js-api originated from JS-API PR: 148

* [ci:force][auto-commit] Update JS-API to 4.11.0-149 for branch: update-js-api originated from JS-API PR: 149

* [ci:force][auto-commit] Update JS-API to 4.11.0-150 for branch: update-js-api originated from JS-API PR: 150

* [ci:force][auto-commit] Update JS-API to 4.11.0-154 for branch: update-js-api originated from JS-API PR: 154

* [ci:force][auto-commit] Update JS-API to 4.11.0-154 for branch: update-js-api originated from JS-API PR: 157

* [ci:force][auto-commit] Update JS-API to 4.11.0-158 for branch: update-js-api originated from JS-API PR: 158

* [ci:force][auto-commit] Update JS-API to 4.11.0-159 for branch: update-js-api originated from JS-API PR: 159

* [ci:force][auto-commit] Update JS-API to 4.11.0-161 for branch: update-js-api originated from JS-API PR: 161

* [ci:force][auto-commit] Update JS-API to 4.11.0-162 for branch: update-js-api originated from JS-API PR: 162

* [ci:force][auto-commit] Update JS-API to 4.11.0-163 for branch: update-js-api originated from JS-API PR: 163

* [ci:force][auto-commit] Update JS-API to 4.11.0-164 for branch: update-js-api originated from JS-API PR: 164

* [ci:force][auto-commit] Update JS-API to 4.11.0-165 for branch: update-js-api originated from JS-API PR: 165

* [ci:force][auto-commit] Update JS-API to 4.11.0-166 for branch: update-js-api originated from JS-API PR: 166

* [ci:force][auto-commit] Update JS-API to 4.11.0-167 for branch: update-js-api originated from JS-API PR: 167

* [ci:force][auto-commit] Update JS-API to 4.11.0-169 for branch: update-js-api originated from JS-API PR: 169

Convert login fields validation e2e to unit (#7674)

[ci:force][auto-commit] Update JS-API to 4.11.0 for branch: update-js-api originated from JS-API PR: 173 (#7675)

[ADF-5494] Remove useless imports (#7678)

* Remove useless imports

* rollback constants

* Remove useless variable

[ACS-3108] Release 4.11.0 (#7677)

* bump versions

* generate reports

* release notes

Transform e2e into unit (#7671)

[AAE-8713] feat: create api registry with factories support (#7649)

Co-authored-by: Andras Popovics <popovics@ndras.hu>
Co-authored-by: Michal Dobkiewicz <michal.dobkiewicz@hyland.com>
Co-authored-by: Michał Dobkiewicz <ddohcim@users.noreply.github.com>

Fix the nx path to avoid installing it globally (#7681)

* fix nx path

* fix nx

* fix nx

* fix nx

* fix nx

* fix nx

* fix nx

[AAE-9293] Allow editing and restoring default process cloud filter (#7684)

* [AAE-9293] Allow editing and restoring default process cloud filter

* [AAE-9293] Fix e2e tests

* [AAE-9293] Fix review comments

[AAE-9135] Print simple form (#7683)

Fetch the userInfo once loggedIn and expose the capability of admin (#7682)

* Fetch the userInfo once loggedIn and expose the cabilibility of admin

* Rollback method

* Return same use if defined

* Use the same pepleContent service for UserInfoCOmpnent

* Remove useless import

* Use interface

* Use angular resolver instead of guard

* Remove fdescribe

* Fix linting

* Regenerate doc

* Improve doc

* Fix optional

* Fix the unit test

* Fix comment

* Fix lint

* Fix unit

* Add fetch user as part of the ssoGuard

* Fix unit test after fetch

* Add additional unit

* Fix await

[AAE-9337] Improve update project script (#7687)

[ci:force][auto-commit] Update JS-API to 4.12.0-191 for branch: update-js-api originated from JS-API PR: 32 (#7676)

APPS-1568 ACA should be extended to support visibility rules for Document List columns (#7685)

* APPS-1568 Extended rules functionality for Document List columns

[AAE-9298] FE ADF Date widget handle dynamic date values (#7689)

* [AAE-9298] Add dynamic date fields to FormFieldModel

* [AAE-9298] Change dynamic date range types from string to integer

* [AAE-9298] If dynamicDateRangeSelection is true, it will evaluate minDateRangeValue and maxDateRangeValue to set min and max date if are set

* [AAE-9298] Check if date range values are numbers

[AAE-9314] Fix preselected user display in completed task (#7688)

* [AAE-9314] Fix preselected user display in completed task

* [AAE-9314] add unit tests

* Trigger travis

[AAE-9019] - People/Group cloud with HxP (#7658)

* Cover the use cases by mocking them

* Replace the mock with real stream and remove useless code

* Provide new service to fetch groups

* Fix group tests

* Use the interface and token injection

* [AAE-8870] add unit test and mock for new service

* Improve roles condifion

* initialize the stream as part of NgOnInit to be sure it relies on the correct FormControl instance(input)

* Rollback tmp change for roles

* [AAE-8641] people abstraction mock

* [AAE-8641] revert angular.json changes

* [AAE-8641] few conditions and code improvements

* [AAE-8641] revert change input controls name

* [AAE-8641] initialize the stream as part of ngOnInit

* [AAE-8641] people abstraction improvements

* [AAE-8870] cherry pick people abstraction

* [AAE-8641] fix people-group e2es

* fix lint

* remove hardcoded identityHost

* Use the identityhost api in case of cloud

* Solve issue with returnType array string

* Rebase and use GroupModel from cloud

* Rebase and use GroupModel from cloud

* Use the bpmHost instead of identityFor

* Add identity ingress for user access service

* Rename test

* Fix linting issues

* Fix playwright storybook e2e for people and group

* Trigger travis

* Fix people group e2e

* improved formatting

* Remove not needed travis var override

* Remove unused import after rebase

* Make roles in filter optional + remove comments

Co-authored-by: Tomasz <tomasz.gnyp@hyland.com>
Co-authored-by: arditdomi <ardit.domi@hyland.com>

[AAE-9365] - Auth guards should return true when no roles to check are passed (#7695)

[AAE-9190] - ATTACH FILE: view file content directly by clicking (#7693)

* [AAE-9190] ATTACH FILE: view file content directly by clicking

* unit test added

* fix

* delete comment

* fix CR

* fix

* fix identation

* delete extra spaces

* change import in unit test

* fix

* fix space lint

[AAE-9112] Included a output event on change of language (#7697)

[AAE-9382] SSOGuard - Call the acs user only in case of ECM (#7696)

* Call the acs user only

* Fix and add unit test

[AAE-9370] Add manageruser to default apps (#7698)

* Add manageruser to default apps

* Try to ignore resource file to avoid affected

[ci:force][auto-commit] Update JS-API to 4.12.0-197 for branch: update-js-api originated from JS-API PR: 197 (#7692)

[AAE-9310] Add missing initial on task assignment dialog (#7694)

* [AAE-9310] Add missing initial on task assignment dialog

* [AAE-9310] rewrite full-name pipe

* [AAE-9310] improved build username or email

* Trigger travis

* [AAE-9310] improve buildFromUsernameOrEmail

[AAE-7865] Added process with displayable variables (#7703)

[AAE-7865] Configuration of columns in Task and Process Lists in ADW e2e (#7701)

* [AAE-7865] Configuration of columns in Task and Process Lists in ADW e2e test

* Update

* Cr

* Added variable task data

Angular 13 upgrade

Signed-off-by: eromano <eugenioromano16@gmail.com>

make unit test start

Signed-off-by: eromano <eugenioromano16@gmail.com>

some fix for unit test

Signed-off-by: eromano <eugenioromano16@gmail.com>

full compilation mode

Signed-off-by: eromano <eugenioromano16@gmail.com>

fix

Signed-off-by: eromano <eugenioromano16@gmail.com>

core fix

Signed-off-by: eromano <eugenioromano16@gmail.com>

fix cloud unit test

Signed-off-by: eromano <eugenioromano16@gmail.com>

nx 13

Signed-off-by: eromano <eugenioromano16@gmail.com>

remove S3

Signed-off-by: eromano <eugenioromano16@gmail.com>

fix command

Signed-off-by: eromano <eugenioromano16@gmail.com>

fix

Signed-off-by: eromano <eugenioromano16@gmail.com>

fix

Signed-off-by: eromano <eugenioromano16@gmail.com>

fix

Signed-off-by: eromano <eugenioromano16@gmail.com>

fix lint

Signed-off-by: eromano <eugenioromano16@gmail.com>

fix

Signed-off-by: eromano <eugenioromano16@gmail.com>

rebase

Signed-off-by: eromano <eugenioromano16@gmail.com>

fix

Signed-off-by: eromano <eugenioromano16@gmail.com>

fix

Signed-off-by: eromano <eugenioromano16@gmail.com>

Fix imports and storybook stories

fix

Signed-off-by: eromano <eugenioromano16@gmail.com>

revert modify package.json and uncommented code

Signed-off-by: eromano <eugenioromano16@gmail.com>

fix lock

Signed-off-by: eromano <eugenioromano16@gmail.com>

fic

Signed-off-by: eromano <eugenioromano16@gmail.com>

Use proper file name

fix

Signed-off-by: eromano <eugenioromano16@gmail.com>

fix

Signed-off-by: eromano <eugenioromano16@gmail.com>

fix

Signed-off-by: eromano <eugenioromano16@gmail.com>

revert

Signed-off-by: eromano <eugenioromano16@gmail.com>

fix travis before and after e2e

Signed-off-by: eromano <eugenioromano16@gmail.com>

try

Signed-off-by: eromano <eugenioromano16@gmail.com>

ls  node

Signed-off-by: eromano <eugenioromano16@gmail.com>

tentative n1

Signed-off-by: eromano <eugenioromano16@gmail.com>

before

Signed-off-by: eromano <eugenioromano16@gmail.com>

release alpha version A13

Signed-off-by: eromano <eugenioromano16@gmail.com>

release alpha

Signed-off-by: eromano <eugenioromano16@gmail.com>

fix

Signed-off-by: eromano <eugenioromano16@gmail.com>

partial

Signed-off-by: eromano <eugenioromano16@gmail.com>

refactor form rendering :
remove tabs widget and container widget due dependency loop

Signed-off-by: eromano <eugenioromano16@gmail.com>

lint

Signed-off-by: eromano <eugenioromano16@gmail.com>

handle group

Signed-off-by: eromano <eugenioromano16@gmail.com>

[AAE-7958] update - playwright and C260040 exclude

fix build content

Signed-off-by: eromano <eugenioromano16@gmail.com>

fix

Signed-off-by: eromano <eugenioromano16@gmail.com>

fix

Signed-off-by: eromano <eugenioromano16@gmail.com>

fix

Signed-off-by: eromano <eugenioromano16@gmail.com>

fix render dynamic table

Signed-off-by: eromano <eugenioromano16@gmail.com>

fix

Signed-off-by: eromano <eugenioromano16@gmail.com>

fix unit

Signed-off-by: eromano <eugenioromano16@gmail.com>

revert

Signed-off-by: eromano <eugenioromano16@gmail.com>

fix
increase use of the field cache
check before if tab is visible improve performance tabs  visibility

Signed-off-by: eromano <eugenioromano16@gmail.com>

fix

Signed-off-by: eromano <eugenioromano16@gmail.com>

fix

Signed-off-by: eromano <eugenioromano16@gmail.com>

fix

Signed-off-by: eromano <eugenioromano16@gmail.com>

fix style

Signed-off-by: eromano <eugenioromano16@gmail.com>

fix module

Signed-off-by: eromano <eugenioromano16@gmail.com>

fix

Signed-off-by: eromano <eugenioromano16@gmail.com>

fix after rebase

Signed-off-by: eromano <eugenioromano16@gmail.com>

fix after rebase

Signed-off-by: eromano <eugenioromano16@gmail.com>

fix import

Signed-off-by: eromano <eugenioromano16@gmail.com>

update lock

Signed-off-by: eromano <eugenioromano16@gmail.com>

node 14 back

Signed-off-by: eromano <eugenioromano16@gmail.com>

fix lock

Signed-off-by: eromano <eugenioromano16@gmail.com>

cli build

Signed-off-by: eromano <eugenioromano16@gmail.com>

fix

Signed-off-by: eromano <eugenioromano16@gmail.com>

fix build testing and cli

Signed-off-by: eromano <eugenioromano16@gmail.com>

version bump 5

Signed-off-by: eromano <eugenioromano16@gmail.com>

fix

Signed-off-by: eromano <eugenioromano16@gmail.com>

fix build cli

Signed-off-by: eromano <eugenioromano16@gmail.com>

fix cli

Signed-off-by: eromano <eugenioromano16@gmail.com>

fix duplicate build and themes

Signed-off-by: eromano <eugenioromano16@gmail.com>

fix storybook

Signed-off-by: eromano <eugenioromano16@gmail.com>

fix unit test

Signed-off-by: eromano <eugenioromano16@gmail.com>

update package json files to reflect esm reqs

fix lib path

remove type module for karma sake

Get rid of moment-es6 package

fix after rebase

fix different  version commander

use same commander main pkg

new release strategy for ng next

Signed-off-by: eromano <eugenioromano16@gmail.com>

peer dep

Signed-off-by: eromano <eugenioromano16@gmail.com>

fix test

Signed-off-by: eromano <eugenioromano16@gmail.com>

fix shared enty point testing

Signed-off-by: eromano <eugenioromano16@gmail.com>

fix moment import

Signed-off-by: eromano <eugenioromano16@gmail.com>

fix moment in testing

fix moment

Signed-off-by: eromano <eugenioromano16@gmail.com>

Update mat-datetimepicker package version

Update peerDeps version to match the ones in the root

Fix invalid storybook configuration

Revert the file due a wrong rebase (I suppose) aligning the file with latest develop

Revowe flaky e2e that will be replaced by storybook

Fix the autoscaling for page-fit

* Syncing angular version to be patch perfect

* Pre-release of 5.0.0-angular.13

Co-authored-by: Denys Vuika <denys.vuika@gmail.com>
2022-08-08 18:07:58 +02:00
Maurizio Vitale
e27833d770
[AAE-9019] - People/Group cloud with HxP (#7658)
* Cover the use cases by mocking them

* Replace the mock with real stream and remove useless code

* Provide new service to fetch groups

* Fix group tests

* Use the interface and token injection

* [AAE-8870] add unit test and mock for new service

* Improve roles condifion

* initialize the stream as part of NgOnInit to be sure it relies on the correct FormControl instance(input)

* Rollback tmp change for roles

* [AAE-8641] people abstraction mock

* [AAE-8641] revert angular.json changes

* [AAE-8641] few conditions and code improvements

* [AAE-8641] revert change input controls name

* [AAE-8641] initialize the stream as part of ngOnInit

* [AAE-8641] people abstraction improvements

* [AAE-8870] cherry pick people abstraction

* [AAE-8641] fix people-group e2es

* fix lint

* remove hardcoded identityHost

* Use the identityhost api in case of cloud

* Solve issue with returnType array string

* Rebase and use GroupModel from cloud

* Rebase and use GroupModel from cloud

* Use the bpmHost instead of identityFor

* Add identity ingress for user access service

* Rename test

* Fix linting issues

* Fix playwright storybook e2e for people and group

* Trigger travis

* Fix people group e2e

* improved formatting

* Remove not needed travis var override

* Remove unused import after rebase

* Make roles in filter optional + remove comments

Co-authored-by: Tomasz <tomasz.gnyp@hyland.com>
Co-authored-by: arditdomi <ardit.domi@hyland.com>
2022-06-28 16:21:59 +01: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
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
Alexandra Abrudan
87f60a5b72
[AAE-3472] e2e service task (#6460)
* [AAE-3472-adf] added e2e service task test

    fixed spell-check & re-included C311290

* added super admin as user

* spellcheck disabled for superad

* improved steps

* simplified & used API method

* disabled check spell for a line
2021-01-07 10:44:26 +00:00
Eugenio Romano
1c51b2a1a6
Use hash strategy in demo shell as the other apps (#6402)
* hash startegy

* use hash in e2e

* trigger build

* fix

* fix

* remove children router overwrite crazynes

* Update login.module.ts

* revert not needed changes

* some fixes

* fix

* remove fdescribe

* fix

* fix

* Update share-file.e2e.ts

* Update lock-file.e2e.ts

* Update share-file.e2e.ts

* some fix

* some other fixes

* username as id

* fix after rebase

* username

* fix usernamee

* Fix the errorComponent

* Attempt to fix unit test - to check

* * Fixed circular dependency error while building adf-testing package

* * Fixed failing UT

* fix

* use username

* some fixes

* some fix

* fix

Co-authored-by: Maurizio Vitale <maurizio.vitale@alfresco.com>
Co-authored-by: Vito Albano <vitoalbano@vitoalbano-mbp-0120.local>
Co-authored-by: sivakumar414ram <siva.kumar@muraai.com>
2020-12-16 18:46:56 +00:00
Eugenio Romano
fca378a12b
move users in the users object to make loginWithProgile general purpose (#6270)
* move users in the users object to make loginWithProgile general puropose

* add loginProfile in login page too

* fix

* fix

* fix

* fix

* fix

* fix

* more fix

* fix

* fix

* fix

* change

* fix script

* fix
2020-10-26 17:46:54 +00:00
Eugenio Romano
46ccda68b3
[ADF-5235] Facet fix and improve search test (#6122)
* improve search test

* fix

* fix

* fix

* changes

* modify

* logout public URL

* improve stability some e2e

* fx lint

* fix

* fix

* improve

* fix

* improve

* fix

* fix

* fix

* fix [skip ci]

* fix

* some fix [skip ci]

* fix

* fix lint

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* convert C291893 in manual test case in testrail

* fix

* fix
2020-09-21 09:35:01 +01:00
Eugenio Romano
a630cfb390
Fix e2e (#6087)
* fix protractor conf

* remove update env

* fix cli error script cs

* change screenshot plugin

* remove unused param

* fix

* fix

* fix

* moment comment nvm

* fix

* fix

* fix

* fix

* remove adf redirect

* fix

* fix

* save remote report

* report fix

* improve save result

* fix folder save

* fix folder save

* fix placeholder pointer , they needs refactor later

* fix

* fix lint

* fix

* remove test already covered by unit
fix the test in core needed
exclude the one impossible to make it works without APS basic support

* lint

* fix some logout missing

* fix

* Fix the custom-tasks-filters.e2e

* fix lint

* fix

* fix

* fix

* Fix wait on start process  and on process definition options

* Fix logout before login again

* fix uplaod test

* fix

* Fix infodrawer with check detail and sleep

* lint

* increase list of excluded test

* fix

* fix lint

* change wait method datatable

* fix

* fix

* revert check value

* fix

* fix

* change tag test

Co-authored-by: maurizio vitale <maurizio.vitale@alfresco.com>
2020-09-04 13:27:55 +01:00
Eugenio Romano
d1672596ba
Unify hash url strategy (#5866)
* unify hash url startegy

* improve
2020-07-14 16:00:32 +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
Eugenio Romano
d263ee7142
Update test.config.js 2020-06-09 16:00:45 +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
dhrn
fde037498f
[AAE-1936] Attach File E2E APS1 (#5623)
* [AAE-1936] Attach File E2E APS1

* * minor changes

* * fix title
2020-04-21 21:31:26 +01:00
Eugenio Romano
f36cbd57ef
Fix E2E run (#5624)
* Fix E2E run
remove not used report
Fix USERNAME AND PAS upload PS cloud e2e screenshot

* save report

* multiple 4 cs

* change test fix screenshot and others

* exclude other test
2020-04-20 17:54:03 +01:00
Eugenio Romano
2138ce600e
Refactor e2e PS-CLOUD (#5224)
* refactor cloud test

* fix lint

* fix ecm test

* Update login-sso.page.ts

* fix redirect
2019-11-08 15:57:19 +02:00
Eugenio Romano
327bc56c02
Log class in e2e plus check PS cloud CS works before run test (#5057)
* check cs work on ps cloud add log class

* fix env config
2019-09-09 17:25:10 +01:00
Eugenio Romano
f04c135377
Fix e2e test (#4981)
* fix core viewer

* increase rendition retry

* sso refresh before test

* general fix test

* try use last proxy

* avoid use proxy

* remove proxy

* fix setting tests

* fix share and sso test

* fix lint exclude

* fix sso

* fix some process services cloud e2e

* fix sso download

* exclude sso test

* fix cloud

* add logout content service test

* add logout core

* add logout search

* redefine global before all

* separate protracotr method

* try

* try multiple attempt before all

* add prefix group and users

* add prefix group and users

* add prefix group and users

* rexecute sso test

* fix process service visibility e2e

* split SSO login test

* fix SSO download

* fix SSO download

* fix some cloud issues

* fix some cloud issues

* fix some cloud issues

* share file fix cs

* fix cloud test
2019-08-08 17:52:45 +02:00
Eugenio Romano
5703c45ad8
[ADF-4259] ClientId shouldn't be in the config file (#4930)
* add delete users missing in ps cloud e2e

* clientId use config param

* Update test.config.js
2019-07-13 16:16:40 +01:00
Eugenio Romano
5e54cd4d43
Increase timeout and modify login async (#4795)
* increase timeout and modify login async

* run e2e if testing is changed

* improve cdk fix

* fix travis update projects

* disable ghostMode lite server

* lint fix

* fix timeout

* multiple try

* Update content-services-e2e.sh

* Update search-e2e.sh

* Update process-services-e2e.sh

* Update core-e2e.sh

* Update protractor.conf.ts

* fix unit

* remove async

* increqase notification time

* 3 parallel

* dix path issue in save

* small refactor protractor ts

* fix save

* create license check first script adf cli

* modify regex check

* refactor notification history component

* decrease notification

* fix notification message problem

* fix test

* update packages wit high risk

* revert cahnge login sso e2e

* fix dep

* fix documentation duplication and issue

* fix after review

* fix after review

* try 6 parallel test

* back to 3 parallel test no real time improve with 6
2019-06-06 16:47:50 +01:00
Eugenio Romano
b91a942aa1
Multiple option env file (#4788)
* multi configuration file enabling

* improve ignore

* update i18n tool dep

* update webbpack bundle analyzer version

* fix ps cloud test wait setting

* fix script content

* remove use of testconfig for browser options

* convert protractor to ts

* download browser util fix
2019-05-30 11:15:15 +01:00
cristinaj
339a6e7a18 [ADF-4587] Fix e2e tests (#4757)
* Fix user_info test

* Removing duplication and hardcoded protocol

* Fix linting and update script

* Removing hardcoded protocol

* Add protocol to scripts

* Fix C260117

* Enable screenshots for cloud tests

* Update process-services-cloud-e2e.sh
2019-05-22 10:15:12 +01:00
Denys Vuika
57a162fcf0
typed interface for test configuration (#4758) 2019-05-22 10:13:57 +01:00
Maurizio Vitale
1141511a07 Remove the dependency with TestConfig (#4752)
* Remove the dependency with TestConfig

* Change protocol to https

* Trigger the cloud change

* Trigger the cloud change
2019-05-20 18:11:01 +01:00
gmandakini
4376d357ac [ADF-3962] sso download directive automated (#4452)
* sso download directive automated

* temp changes

* temp changes

* moving of services under lib testing and ADF-3962 automated

* removed the browser sleep

* cspell and linting fixes.

* codacy improvements

* export public-api update

* remove circular dep

* remove circular dep

* fixes

* fix user info test

* fix datatable

* random commit

* move other string

* fix lint

* fix lint

* fix prolem type

* fix failing test

* fix tag test

* fix problems after rebase

* fix lint

* remove space

* remove visibility method duplicated
2019-03-27 09:57:26 +00:00
Eugenio Romano
47139e6804
Update test.config.js 2019-03-26 13:36:53 +00:00
Eugenio Romano
6059690e79
exclude upload folder test as far we don't find a solution in chrome 73 (#4473)
* exclude upload folder test as far we don't find a solution in chrome 73

* exclude folder drag and drop test chrome 73

* fix test search

* Update .travis.yml

* xit C279918 C279916

* fix process-service cloud application list
2019-03-23 20:32:03 +00:00
Marouan Bentaleb
355971e0ad [ADF-4195] Automation tests for SSO login with implicitFlow false (#4410)
* [ADF-4195] Automation tests for SSO login with implicitFlow false

* rebase

* fix test sso implicit flow false

* lint fix

* fix test
2019-03-19 15:00:26 +00:00
Eugenio Romano
9d98f3196e
[NO-ISSUE] Fix Core E2E tes (#4450)
* fix Identity service in core using internal identity service in test env

* fix lint

* fix lint

* fix login

* fix travis yml

* remove log script
2019-03-18 00:18:56 +00:00
cristinaj
abb7692476 [ADF-3987]Add clientId values for ACM and BPM in e2e tests. (#4234)
* Add clientId values for ACM and BPM in e2e tests.

* Fix sorting
2019-02-01 10:13:57 +00:00
cristinaj
968c65ff70 [ADF-3885]Change auth host path in cloud e2e tests (#4123) 2019-01-10 13:42:23 +00:00
Denys Vuika
058d23d57f [ADF-3442] create library dialog (#4018)
* library dialog

* integrate with demo shell

* update resources

* fix license

* auto focus for the first input

* update e2e tests

* try close the dialog between tests

* fix afterEach

* Revert "try close the dialog between tests"

This reverts commit 63464f2b03c226c606d09b18c7d2782e3bb52c0a.

* update code due to css lint issues

* csslint settings for vs code

* missing import
lint fix
remove not used import
convert errorPage js to ts
convert tasklistpage js to ts
fix redirection creation folder in root
fix lint issue
fix e2e

* e2e fix

* fix PS tests

* navigation import

* fix tests tooltip
convert paginapage to ts

* fix lint

* fix lock files e2e
filterspage to ts

* fix lint

* fix cs cre
git dept 3 and not 50 as default in travis

* quiet log git download

* add some delay and change the delete lock

* fix node entry

* convert searchDialog to typescript
parallel protractor

* disable browser execute

* restote test

* change search tests

* move search in a separate e2e folder

* experiment fix e2e

* change util presence
change protractor conf

* fix unshare test

* improve query viewerPage using css over xpath

* waitForAngularEnabled before browser redirect

* convert util to ts and more

* convert other files to ts

* convert to ts other files

* trigger build

* function fixes use arrow function

* process service fixes

* lint fix
review timeout default

* fix failing tests

* restore timeout

* share dialog fix

* remove

* use configuration admin

* fix APS 2 login sso
2018-12-05 13:05:39 +00:00
rgherghelas
604d401180 [ADF-3739] E2E test - login with SSO (#3949)
*  modify settings page and add test for login with SSO

* remove await

* added the HOST_SSO as parameter

* change setSilentLogin method, add new method, add new test

* remove comment

* optional parameters silentLogin and implicitFlow

* moved --host_sso "$E2E_HOST_SSO" to ./scripts/test-e2e-lib.sh script
2018-11-16 10:39:46 +00:00
Eugenio Romano
b2cb93468d [ADF-3259] [ADF-3363] e2e login and card metadata (#3612)
* remember me

* add login component e2e test

* add success route test

* add change logo check

* redirect url after logout e2e

* move redirection test in a separate file

* login component tslint

* cardview e2e

* fix login test

* add test case number

* move version test in a separate file

* clean unused elements

* metadata part 1

* tslint fix

* fix metadata test

* remove fit

* fix formatting file viewerPage

* multi propety test

* metadata and login improvements

* fix data automation fix

* metadata permission e2e

* fix tslint problems

* improve selector

* stabilize search component test

* stabilize test step 1

* fix tag test
add config timeout

* tentative

* delay after download

* change meatdata test

* stabilize metadata

* use smaller file for not extension related test

* stabilize test step 2

* exclude failing test

* timeout fix

* split in multiple task e2e

* trick travis

* trigger build

* fix command issue

* fix save screenshot

* fix run subfolder

* test timeout increase
2018-08-14 15:42:28 +01:00
Eugenio Romano
3d86044594 Add e2e test in ADF main repo (#3534)
* move e2e to ADF main repo

* lint e2e test

* enable first set of tests

* enable test

* firs test js-api integrated

* try change name protractor demo shell file

* remove fdescribe

* Update .travis.yml

* exclude failing test and rewrite analytics component with JS-API

* remove fdescribe

* move first part of tests to js-api

* refactor test alfresco-js-api

* replace js-api step 3

* remove adf prefix

* remove unused code

* remove unused part 2

* add option in e2e test for single test and browser

* exclude temp failing test

* refactoring test step 1

* refactoring test step 2

* refactoring test step 3

* refactoring test step 4

* refactoring test step 5

* run against localhost and proxy options

* fix command

* improve configuration

* improve configuration

* use dev configuratio

* fix defering

* comment out not working remotely test

* fix promise login page e2e

* remove console log

* change test

* revert

* improve utils

* improve task list test
util add also numbers in generation of the email

* remove part of the multi selector

* reinsert trashcan test

* uncomment document list test

* try increase delay in search sorting

* improve document list selector

* execute different util methods

* Upload error screenshot

* make oncomplete async

* add z-finish screenshot workaround

* option save

* remove fit
2018-08-14 15:42:14 +01:00