151 Commits

Author SHA1 Message Date
Iulia Burcă
eb299dedba
[ACA-4283] Change the issue of the excluded tests to ACS-1297 (#2004)
* Reinclude tests excluded by ACA-4283

* Add click step in typeText method

* move click step before sendKeys

* browser sleep test

* test run

* Remove empty return string

* reinclude tests affected by ACA-4253

* remove browser.sleep

* reinclude one test

* Change the issue of the excluded tests
2021-03-01 16:23:06 +02:00
Vito
fc01c5c9a9
[ACA-4238] - added aspect list dialog on context menu action (#2008)
* [ACA-4238] - added aspect list dialog on context menu action

* [ACA-4238] - lint fix

* [ACA-4238] - fix e2e

* [ACA-4238] - fix e2e #2

* [ACA-4238] - fix e2e #3

* [ACA-4238] - fix lint

* [ACA-4238] - fix lint

* [ACA-4238] - fix lint

* [ACA-4238] - fix e2e

* [ACA-4238] - fix e2e #2

* Fix E2E #1

* Fix E2E #2

* Improved condition for edit aspect option

* [ADF-4238] - fix e2e #2

* [ADF-4238] - fix lint

* [ADF-4238] - fix e2e #3

* [ADF-4238] - fix e2e #4

* [ADF-4238] - fix e2e #5

* [ADF-4238] - fix e2e #6

* [ADF-4238] - fix e2e - final

* [ADF-4238] - removed console log

* [ADF-4238] - fixed linting

* [ADF-4238] - fixed last e2e failing
2021-02-26 13:48:04 +00:00
arditdomi
0f3aa4b589
[AAE-4515] Provide a way to disable/enable the main file uploading di… (#1981)
* [AAE-4515] Provide a way to disable/enable the main file uploading dialog

* Fix expression has been changed after is has been checked error

* Add unit tests

* Fix linting errors
2021-02-09 20:10:09 +01:00
Adina Parpalita
2f8d3d58c4
[ACA-4264] refactor page load and loginWith methods (#1952)
* update extensions json files

* no message

* on login, sign out if anyone is already logged in

* one more selector override needed by ACA-4262
2021-01-29 12:27:32 +00:00
Adina Parpalita
21989ec1ab
[ACA-4262] fix selector for content-node-selector-dialog (#1951)
* override generic dialog content selector

* un-exclude tests

* lint
2021-01-27 14:31:21 +00:00
Adina Parpalita
e227248324
[ACS-1129]fix signOut method to work for SSO as well 2021-01-13 19:02:14 +02:00
Urse Daniel
f8eeec9e3d
added new action to refresh(re-render) the current node (#1913) 2021-01-12 10:38:13 +00:00
Adina Parpalita
b8feed47c3
[ACA-4242] Update e2e login method to account for the changes done for ACA-4197 (#1910)
* build dev instead of e2e

* clear localStorage before new login

* re-enable all tests

* try again build.e2e

* enable one test

* exclude again

* no message

* no message
2021-01-11 15:55:14 +00:00
Adina Parpalita
13fa065654
exclude one test and do some fixes (#1869)
* exclude one test and do some fixes

* try to get more logs

* some more fixes

* try to workaround the slow update of toggle menus

* more logging

* no message

* trigger another run

* Update delete-undo-delete.test.ts

* no message

* rename methods

* no message

* no message

* no message

* no message

* no message

* no message

* update travis.yml

* run travis on branch

* trigger travis

* cleanup

* no message
2020-12-15 10:10:01 +00:00
Denys Vuika
7a5350a06d
reduce duplication and code improvements (#1707)
* reduce code duplication

* reduce duplication, fix license headers

* simplify code

* typings fixes

* update tests

* minor fixes

* markdown fixes

* revert changes
2020-12-11 15:47:17 +00:00
Denys Vuika
b71e1530d1
stabilise unit tests (#1878)
* cleanup async usage

* cleanup async usage

* fix library favorite tests and code
2020-12-11 13:01:31 +00:00
Denys Vuika
6049711a5c
Release 2.2.0 (#1870)
* update package versions script

* update package versions script

* generate reports script

* bump versions to 2.2.0

* audits

* upgrade to final ADF

* update docs

* update app config
2020-12-09 16:55:39 +00:00
Denys Vuika
71c2e40db8
[ACA-4205] Latest ADF and unit test fixes (#1861)
* upgrade ADF and cleanup test

* unit test stabilisation

* cleanup tests

* unit test stabilisation

* unit test stabilisation

* update ADF libs to latest alphas
2020-12-07 18:34:34 +00:00
Eugenio Romano
ad58be3d05
Rebalance suites conf to be less error prone (#1819)
* rebalance suites conf to be less error prone

* shared api - wait for specific files instead of totalItems

* remove unused

* - make search api wait calls more stable on parallel runs
- remove not needed workaround from closeMoreMenu

* reorganize test suites
a few more test stabilisations

* improve copy tests for parallel running

* more changes to consider parallel running

Co-authored-by: Adina Parpalita <Adina.Parpalita@ness.com>
2020-12-04 12:39:39 +00:00
Gloria Camino
321bcb1247
LOC-275 FIXED - Localised UI files in 16 languages (#1836) 2020-12-01 16:39:05 +00:00
Adina Parpalita
885a1b1b33
add back try-catch around api calls (#1815)
* add back try-catch around api calls to avoid UnhandledPromiseRejectionWarning

* minor fixes for pagination to account for parallel runs

* missed one

* a few more fixes

* search only files to get correct and consistent number of results

* try something

* add try catch in upload output

* fix cleanup on Create file / folder from template to account for parallel running

* fix incorrect test case id
fix for undefined properties
unexclude some tests to see if still failing

* revert change in order to fix test

* unused import

* exclude test due to missing EXIF aspect

* trigger one more run
2020-11-25 05:45:50 +00:00
Denys Vuika
aba16339dc
[ACA-3775] add missing plugin configuration (#1820)
* add missing plugin files, update readme

* add missing providers

* about and settings extensions

* leave only about
2020-11-24 12:29:56 +00:00
davidcanonieto
b504a224ea
[ACA-3729] Join library action for Admin Users (#1801) 2020-11-23 15:07:12 +00:00
Eugenio Romano
8186ee16ac
increase default timeout due possible slow env (#1812)
* increase default timeout due possible slow env

* parallel test can affect this check

* unused call

* remove

* reduce size test lib

* fix search test

* remove log

* build

* reorganize file actionsAvailable tests

* fix

* fix

* Update single-file-actions.test.ts

* Update single-file-actions.test.ts

* fix viewer actions from search results tests

* fix snackbar actions tests

* forgot console.log

* exclude

Co-authored-by: Adina Parpalita <Adina.Parpalita@ness.com>
2020-11-23 10:35:28 +00:00
Denys Vuika
092d430470
support ordering of document list columns (#1799) 2020-11-19 19:38:26 +00:00
Cilibiu Bogdan
dab9ddbdca
[ACA-4026] Register plugins dynamically (#1803)
* bump adf

* remove $references entries

* register plugin dynamically
2020-11-19 18:06:54 +00:00
Eugenio Romano
8308573f3c
Unexclude due the timeout (#1805)
* change base method to wait

* fix import

* reduce log

* fix

* data placeholder

* fix

* fix

* fix

* fix style

* change visibility with common method

* fix

* use common get value method

* remove unused import

* fix a few incorrect api calls

* - use separate variables

* correctly wait for items after they have been created

* use browseraction click

* Exclude failing tests

* increase timeout and some fix

* check env before execute test

* simplify conf

* exclude

* rerun

* logs

* refactor pagination tests to use only 51 items
take out pagination tests into a separate stage

* fix check

* remove hardcoded total items. other shared files might already exist

Co-authored-by: Adina Parpalita <Adina.Parpalita@ness.com>
Co-authored-by: iuliaib <iulia.burca@ness.com>
2020-11-19 16:07:57 +00:00
Denys Vuika
99140b3ac9
[ADF-5252] Disable settings and about pages by default (#1750)
* move Settings readme to the plugin itself

* disable settings, update readme

* about plugin readme

* disable about module
2020-11-10 17:03:19 +00:00
Denys Vuika
53f61f19d6
Styles cleanup (#1764)
* remove useless context menu styles

* deprecate layout theme mixins

* cleanup name column

* use adf snackbar styles

* permissions and search results

* cleanup node versions dialog

* cleanup toolbar actions
2020-10-30 11:49:51 +00:00
Denys Vuika
7c894b250f
[ACA-4100] use ADF user info component (#1762)
* use adf user info

* delete old unit test

* remove e2e

* fix lint
2020-10-28 12:25:21 +00:00
Denys Vuika
84eb628ac7
about and package fixes (#1746) 2020-10-15 11:24:10 +01:00
Denys Vuika
20f1752b48
[ADF-5247] always enabled language picker (via extensions) (#1730)
* always enabled language picker

* fix tests

* update e2e tests

* fix aos plugin
2020-10-15 08:57:04 +01:00
Denys Vuika
f6116021fb bump libs to 2.1.0 2020-10-14 10:46:51 +01:00
Denys Vuika
b59ef8acd3 bump aos to 2.1.0 2020-10-14 09:46:55 +01:00
Denys Vuika
9f67cae204
[ACA-2314] display "locked by" in search results (#1732)
* display "locked by" in search results

* Trigger build
2020-10-09 15:44:40 +01:00
Denys Vuika
e9b837462a
e2e improvements part2 (#1728)
* deprecate comments api wrapper, delete sites perf improve

* introduce user actions

* admin actions inherit user actions

* unlock nodes helper

* api improvements

* api improvements

* update code

* api improvements

* deprecate trashcan api wrapper

* shared api improvements
2020-10-07 19:06:21 +01:00
Denys Vuika
d7367623f6
e2e api enhancements (part 1) (#1727)
* add typings, deprecate username wrapper

* improve imports

* unify admin actions for people

* remove auth api wrapper

* remove unused apis

* remove unused apis

* use admin api actions everywhere
2020-10-07 10:40:20 +01:00
Eugenio Romano
ba2961157a
[ACA-4022] Remove custom redirect strategy, the viewer doesn not reload (#1719)
* remove custom redirect strategy, the viewer doesn not reload

* Update extensions-data-loader.guard.ts

add return in case of no loaders

* remove the route strategy

* fix lint

* Fix link error

* Align unit test

Co-authored-by: Maurizio Vitale <maurizio.vitale@alfresco.com>
Co-authored-by: Andras Popovics <popovics@ndras.hu>
2020-10-06 18:45:03 +02:00
Denys Vuika
50c76f21e7
add "create menu" unit tests (#1720)
* add "create menu" unit tests

* submenu tests
2020-10-06 16:14:20 +01:00
Denys Vuika
8803b3ccee
extra unit tests (#1713)
* typing fixes

* "canDownloadSelection" tests

* fix import

* move test to proper block
2020-10-06 11:13:05 +01:00
Denys Vuika
9c7ac17161
Various code fixes (#1704)
* fix typings and missing lib

* fix i18n typo, add typings

* code improvements

* fix missing awaits

* more fixes

* fix bug in the evaluators, simplify code

* more fixes
2020-10-04 18:09:27 +01:00
arditdomi
4547621da6
Update to latest ADF and fix unit tests and broken e2e (#1702)
* Update to latest ADF

* Trigger a run with an older ADF version (investigation of e2e failures)

* Update to latest ADF

* Fix search e2e to search for a more specific search term according to the files uploaded
2020-10-02 12:28:31 +01:00
Cilibiu Bogdan
68594cbbc0
[ACA-3907] Document list header should not appear on an empty list (#1657)
* show header based on data

* try another selector

Co-authored-by: Adina Parpalita <adina.parpalita@ness.com>
2020-09-22 09:16:19 +01:00
Maurizio Vitale
9b0c31073a
ACA Run the test against the remote env (#1669)
* Run the test against the remote env

* Use remote user

* exclude e2e and raise issue

* Exlude more

* small change to trigger travis

* add api method to get totalItems of various endpoints

* lint fix

* remove tests from excluded to see what fails

* - fix some issues with the screenshot plugin
- add methods to get total items for some endpoints
- fix some waitForApi calls to consider initial total items number
- sortByModified descending in order to find the item needed by the test when having items on multiple pages

* Try to fix screenshots

* a few more fixes

* Upload screenshots

* a few more fixes

* Delete e2e-output-${retry} at the end

* delete unused variable

* some changes

* lint

* try one more fix

* Try to fix retry

* a few more fixes

* Try to fix retry

* some more fixes

* Fix "on Recent Files" suite

* Move "on Search Results" at the beginning of the class in order to avoid waitForApi:catch

* Empty commit

* Empty commit

* Empty commit

* Run e2e with lite-server

* Exclude protractor report folder

* Remove useless config

* change browser size

* no message

* one more try

* Empty commit

* try to maximize

* fix upload Recent files tests

* revert maximizing the browser

* don't "Run e2e with lite-server"

* fix mark-favorite tests

* few more fixes

* fix viewer and share tests

* test the lite server with retry

* Verify suites with lite server

* some final fixes

* Try to use httpserver

* Print the file and use http server

* Use http-server to fix protractor retry

* more fixes

* forgot a space :|

* remove extra job not needed anymore
rename test data into more specific

* play with the screenshots

* try new run

* trigger one more run

* a few more little fixes

* Fix comments

* Remove comment

* Fix lint error

Co-authored-by: Adina Parpalita <Adina.Parpalita@ness.com>
Co-authored-by: Cristina Jalba <cristina.jalba@ness.com>
Co-authored-by: iuliaib <iulia.burca@ness.com>
2020-09-18 12:01:55 +01:00
Denys Vuika
88e94a4ec9
[MNT-21386] move settings to a separate project (#1676)
* move settings to a separate project

* rework theming
2020-09-17 09:33:27 +01:00
Popovics András
3db18f7d1d
[ACA-3914] Fix app version number and enable git commit hash to be used properly (#1650) 2020-09-16 12:24:21 +02:00
Denys Vuika
6612a702c0
[MNT-21386] about extension (#1674)
* separate project for about extension

* move components to the about project

* remove about from the app

* update travis

* fix lint
2020-09-16 08:48:17 +01:00
arditdomi
651fb56ec6
Fix create menu and viewer evaluators not in sync with store values (#1634) 2020-08-26 10:09:22 +01:00
Denys Vuika
1c6efc5584
release 2.0.1 (#1625) 2020-08-18 18:58:23 +01:00
Denys Vuika
b5204e50bd
Release 2.0.0 (#1624)
* bump versions to 2.0.0

* update aca-shared dependencies

* audit reports

* upgrade to final ADF

* temporarily disable reload tests

* disable test

* disable test
2020-08-18 17:21:13 +01:00
Eugenio Romano
b0b22170c7
[ACA-3830] Fix favorites navigation (#1599)
* fix favorites navigation

* improve report and unit test

* fix ACA test
mock version directive

* lint fix

* try different startegy

* remove first split

* fix root case
2020-08-14 09:13:23 +01:00
Denys Vuika
b86db21e93
[ACA-3593] fix library builds (#1593)
* upgrade to solution style tsconfig

* remove missing path

* add e2e config to the solution

* fix config path
2020-08-11 17:13:22 +01:00
Popovics András
cd1252cb94
[ACA-3394] Generally available file preview feature for extensions (#1496)
* Adding general purpose preview overlay route

Preparation for file preview feature

Remove unnecessary preview root route and ability to use loadChildren

Extract RouterExtensionService

Remove loadChildren support and use component instead

Cover RouterExtensionService with unit tests

Fix tests

Fix build

Fix rebase issue

Add generally available PluginPreviewAction

Add data option to child routes and navigateBackAsClose option for the preview component

Support plain mode preview

Fix linting

Update to latest alpha of ADF

* Adding documentation

* Rebase fix

* Update to latest adf
2020-08-07 18:24:38 +02:00
Cilibiu Bogdan
a42b853814
include definition field (#1582) 2020-08-07 08:42:01 +01:00
Silviu Popa
ce081aaad2
[ACA-3808] - fix e2e actionMenu (#1580)
* fix e2e actionMenu

* PR changes

* wait for context menu to close

* wait for menu to close after escape key

Co-authored-by: Silviu Popa <p3701014@L3700101120.ness.com>
2020-08-06 20:45:05 +01:00