Commit Graph

88 Commits

Author SHA1 Message Date
Ehsan Rezaei
4aa2e0eb87 AAE-12273: Implemented column resizing directive (#8272)
* AAE-12273: Implemented column resizing directive

* AAE-12273: Updated datatable component docs with column resizing feature

* AAE-12273: Fixed lint errors

* AAE-12273: Fixed spell check and lint errors

* AAE-12273: Fixing lint issues

* AAE-12273: Excluded failing e2e

* AAE-12273: Excluded more failing E2Es

* AAE-12273: Excluded more failing e2e

* AAE-12273: Code Improvement

* AAE-12273: Fixed datatable column flex item shrink

* AAE-12273: Fixed unit tests of column header resizing flex item shrink
2023-02-20 10:45:03 +01:00
Ehsan Rezaei
588ffe0fa0 AAE-10979: Added support to display html icon for mht file format (#8133)
* AAE-10979: Added support to display html icon for multipart related mime type

* AAE-10979: excluded failing e2e tests

* AAE-10979: Removed extra comma
2023-01-26 08:44:18 +01:00
Rafal Szmit
59df5c661d enable e2e: C260040 (#8155)
* AAE-11884 change tag sha action (#8118)

* test execution

* test execution

* test execution

* test execution

* test execution

* fix buildLibs

* enable e2e: C260040

* fix C280007 to not depend on C280006

* trigger travis

Co-authored-by: Maurizio Cacace <Maurizio.Cacace@hyland.com>
2023-01-17 14:18:14 +01:00
Rafal Szmit
287299bf8e test CI e2e browser run [ci:force] (#7864)
* test CI e2e browser run [ci:force]

* hardcoded browser run test [ci:force]

* run only 1 job in browser mode [ci:force]

* reset browser run global

* trigger travis [ci:force]

* restore false/true assign [ci:force]
2022-09-30 16:35:32 +01:00
Marcin Krueger
caec4a208d [AAE-10102] Storybook stories for Buttons Menu component (#7731)
* Storybook stories for Buttons Menu component

* Storybook change button icons

* Storybook add isMobile property

* [AAE-10102] Storybook reduce module imports

* [10102] Fix wrong buttons styling

* [10102] Storybook change story name

* [10102] Storybook add component documentation table

* [AAE-10102] change name of story

* [AAE-10102] fix invalid licence header

* enable browser protractor run

* exclude 2 failing tests + defaultValue: true

Co-authored-by: Rafal Szmit <rafal.szmit@hyland.com>
2022-09-27 12:54:33 +02:00
Rafal Szmit
48d71c5397 [AAE-10468] e2es Task List fixes (#7797)
* [AAE-10468][ci:force] update selector

* [ci:force] force first selector

* [ci:force] try headless protractor

* [ci:force] trigger travis

* [ci:force] ci headless test
2022-09-12 11:01:20 +02:00
Denys Vuika
6f209726e9 [AAE-10472] Upgrade and deprecate libs (#7788)
* upgrade and deprecate libs

* upgrade flex layout

* cleanup tslint libs

* diable the test

* exclude flaky e2e
2022-08-26 16:56:51 +01:00
Maurizio Vitale
1fa81962a0 👽 Angular 14 rebase 👽 (#7769)
* fix after rebase

* new release strategy for ng next

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

* peer dep

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

* Angular 14

fix unit test and storybook

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

fix after rebase

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

update pkg.json

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

missing dep

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

Fix mistake and missing code

Dream....build only affected libs

Add utility run commands

* Use nx command to run affected tests

* Fix nx test core

fix content tests

Run unit with watch false

core test fixes

reduce test warnings

Fix process cloud unit

Fix adf unit test

Fix lint process cloud

Disable lint next line

Use right core path

Fix insights unit

fix linting insights

Fix process-services unit

fix the extensions test report

fix test warnings

Fix content unit

Fix bunch of content unit

* Produce an adf alpha of 14

* hopefully fixing the content

* Push back the npm publish

* Remove flaky unit

* Fix linting

* Make the branch as root

* Get rid of angualar13

* Remove the travis depth

* Fixing version for npm

* Enabling cache for unit and build

* Fix scss for core and paths

Copy i18 and asset by using ng-packager

Export the theming alias and fix path

Use ng-package to copy assets process-services-cloud

Use ng-package to copy assets process-services

Use ng-package to copy assets content-services

Use ng-package to copy assets insights

* feat: fix api secondary entry point

* fix storybook rebase

* Move dist under dist/libs from lib/dist

* Fix the webstyle

* Use only necessary nrwl deps and improve lint

* Fix unit for libs

* Convert lint.sh to targets - improve performance

* Use latest of angular

* Align alfresco-js-api

Signed-off-by: eromano <eugenioromano16@gmail.com>
Co-authored-by: eromano <eugenioromano16@gmail.com>
Co-authored-by: Mikolaj Serwicki <mikolaj.serwicki@hyland.com>
Co-authored-by: Tomasz <tomasz.gnyp@hyland.com>
2022-08-25 10:50:30 +01:00
Tomasz Gnyp
a4202d81b9 [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
2022-06-10 23:19:45 +02: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
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
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
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
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
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
Eugenio Romano
91b6dc176b Update protractor.excludes.json (#7132) 2021-06-30 12:30:55 +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
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
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
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
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
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
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
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
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
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
Alexandra Abrudan
7996f70b26 excluded C260241 (#6673) 2021-02-15 14:07:31 +00:00
Cano
36580f690b Exclude C311290 2021-01-13 12:54:42 +01:00
davidcanonieto
223749451a [ADF-5308] Unexclude C311290 (#6524) 2021-01-12 13:03:11 +01:00
Alexandra Abrudan
6f937a75ec excluded e2e C311290 (#6514) 2021-01-08 16:40:16 +00: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
dhrn
d70cfa7fc9 [ADF-5283] Fix Permission Flaky test (#6380)
* [ADF-5283] Fix Permission Flaky test

* * Removed search service

* * check permission for folder

* * execution flow fixed

* * wait for files to index

* Fix e2e tests

* * wait for user to index

* * try something api fix

* * revert back the changes

* Add sleep

* Refactor permission tests

* bring back good things

Co-authored-by: Cano <david.cano.nieto@gmail.com>
Co-authored-by: Eugenio Romano <eromano@users.noreply.github.com>
Co-authored-by: Eugenio Romano <eugenio.romano@alfresco.com>
2020-12-08 11:43:55 +00:00
Eugenio Romano
6a76ba0a99 Update protractor.excludes.json 2020-12-08 09:59:16 +00:00
davidcanonieto
27167b3420 [ADF-5293] Unexclude C311290 (#6408)
* [ADF-5293] Unexclude C311290

* Fix double click on folder

* Revert change

Co-authored-by: Eugenio Romano <eromano@users.noreply.github.com>
2020-12-07 21:03:01 +00:00
Eugenio Romano
577fa1b514 Include back C587084 (#6425) 2020-12-05 11:45:45 +00:00
Eugenio Romano
06b86663e8 [skip ci] 2020-12-04 18:06:04 +00:00
Eugenio Romano
e55c2555c1 update excluded 2020-11-30 12:08:32 +00:00
Eugenio Romano
9613af9851 exclude e2e C311290 2020-11-29 13:37:20 +00:00
Silviu Popa
f73dece82d [AAE-4077] - TaskCloud: Refactor priority (#6385)
* [AAE-4077] - TaskCloud: Refactor priority

* export default priority values

* Fix e2e tests

* fix navigation from task-list

* Update task-list-properties-sort.e2e.ts

* Fix lint

Co-authored-by: Cano <david.cano.nieto@gmail.com>
2020-11-26 17:38:40 +00:00
Eugenio Romano
5086620991 [skip ci] 2020-11-24 12:41:27 +00:00