28 Commits

Author SHA1 Message Date
Yasa-Nataliya
6fac964d94
[ACS-3742] Layout changes for workspace ()
* Layout changes for workspace sidemenu

* added header and search layout changes

* implemented review comments and removed process related code

* Added expand and collapse functionality

* Modified the paths

* linting fixes

* use standard material settings icon

* use only specific modules needed for page layout

* use standard "menu" icon for now

* use standard avatar icon for now

* cleanup user profile menu item

* cleanup About component layout

* remove hardcoded settings route

* deprecate "headerImagePath"

* deprecate "headerTextColor" customisation

* deprecate "headerColor" customisation

* proper toggle of the side menu

* proper sidebar header implementation

* user profile basic cleanup

* minor fixes

* cleanup buttons

* remove old app layout and use ADF one

* remove old header component

* cleanup old layout module

* fix unit tests

* cleanup unit tests

* cleanup header actions module

* deprecate unused main-action component

* cleanup styles

* restore removed method

* cleanup search results toolbar

* restore expand menu functionality

* cleanup code, back buttons for about and profile

* restore original code

* proper collapse button

* remove unused i18n key

* styles cleanup

* cleanup sidebar

* cleanup user profile

* add safety checks for focus after close

* layout fixes

* update view profile unit tests

* code cleanup after reviews

* cleanup header actions

* fix menu population, user info

* improved upload and create actions

* remove useless tests

* fix folder rules tests

* search button workaround

* e2e: remove wait

* add create/upload tooltips

* e2e fix

* e2e fix

* e2e fix

* e2e fix

* e2e fix

* e2e fix

* e2e fix

* e2e fix

* e2e fix

* e2e fix

* e2e fix

* e2e fix

* try fix e2e

* update e2e extension configs

* try fix e2e

* try fix e2e

* fix eslint config

* try fix e2e

* move search button to extensions

* move upload and create to extensions

* remove header actions as no longer needed

* cleanup

* e2e fixes and cleanup for unwanted files

* linting fixes

* linting fixes

* added button type to support text buttons

* linting fixes

* added more unit tests to achieve code coverage requirement

* fixing code covergae for aca-content

* fixed code coverage for aca-shared

* linting fixes

* linting fixes

* cleanup

* version fix

---------

Co-authored-by: SheenaMalhotra182 <sheena.malhotra@globallogic.com>
Co-authored-by: Denys Vuika <denys.vuika@gmail.com>
Co-authored-by: SheenaMalhotra182 <sheena.malhotra@contractors.onbase.com>
2023-04-20 07:18:24 -04:00
Nikita Maliarchuk
7245e994c5
[ACS-4959] Update license headers to reflect Hyland Copyright Guidelines ()
* [ACS-4959] install eslint-plugin-license-header plugin

* [ACS-4959] configure new license

* [ACS-4959] aca-folder-rules license update

* [ACS-4959] content-ce license update

* [ACS-4959] app-e2e license update

* [ACS-4959] adf-office-services-ext license update

* [ACS-4959] aca-shared update license

* [ACS-4959] aca-about license update

* [ACS-4959] aca-content license update

* [ACS-4959] aca-viewer & aca-preview license update

* [ACS-4959] other files license update

* [ACS-4959] patern fix

* [ACS-4959] vendors updated

* [ACS-4959] path fix

* [ACS-4959] some more vendors update

* [ACS-4959] license update
2023-04-13 04:32:30 -04:00
Denys Vuika
567882e864
e2e cleanup ()
* reduce the code

* reduce code

* reduce code

* reduce code

* cleanup tests

* more readable code

* cleanup code

* fix code

* even more cleanup

* remove some deprecated apis

* code fixes

* cleanup files

* more files switching to user actions
2023-02-01 23:22:37 +00:00
Thomas Hunter
547e17bee8
Capitalised the 'r' in 'Manage rules' () 2023-01-06 15:56:05 +00:00
Thomas Hunter
30eebfa1e2
[ACA-3379] Routing & skeleton for manage rules screen ()
* [ACA-3379] Routing & skeleton for manage rules screen

* Linting

* Update routing so it's no longer lazy loaded

* Reverted to using lazy-loaded routes

* Remove action visibility from favourites, update e2e test data
2022-08-02 12:46:47 +01:00
rafalszmit
9f0f4cc61f
[AAE-8147] e2e jasmine callbacks removal ()
* [AAE-8147] e2e jasmine callbacks removal

* trigger travis
2022-03-30 16:20:13 +02:00
Dharan
35289a95f2
[ACA-4507] Fix folder tests ()
* [ACA-4507] Fix folder tests

* * wait for recent files

* * increase timeouts

* * fix comments

* * search untill found

* Revert: * wait for recent files (7be52b12)

* * update timeout

* * upload fixed and improve recent files
2021-07-08 17:25:47 +01:00
Maurizio Vitale
ab68f4f07e
[search-2897] test new search ()
* test new search

* run tests

* tslint fix - clean run

* rerun the e2e

* Remove '=' for Search 2.0 compatibility

* Use a travis setting to override the value

* use the default env updated by singlepipeline

Co-authored-by: iuliaib <iulia.burca@ness.com>
2021-07-02 10:12:44 +03:00
Dharan
8a54b113a0
[ACA-4487] support search forms layout ()
* [ACA-4487] support search chips -initial commit

* * update adf, fixed comments and e2e

* * update context menu test

* * update tool bar test

* * remove await expect

* * add e2e back
2021-06-27 12:55:28 +02:00
Iulia Burcă
d17744bfd9
[ACA-4288] Fix API errors from logs ()
* Add API login in afterAll - part 1

* viewer,infoDrawer,extensions - afterAll API login

* deleteActions - afterAll API login

* Improve before and after methods

* add Promise type to methods - part1

* remove unneeded done() method and add try-catch

* delete wrong import

* Login through API

* small change over log errors

* small improvement over the logs
2021-04-16 17:57:50 +03:00
Vito
fc01c5c9a9
[ACA-4238] - added aspect list dialog on context menu action ()
* [ACA-4238] - added aspect list dialog on context menu action

* [ACA-4238] - lint fix

* [ACA-4238] - fix e2e

* [ACA-4238] - fix e2e 

* [ACA-4238] - fix e2e 

* [ACA-4238] - fix lint

* [ACA-4238] - fix lint

* [ACA-4238] - fix lint

* [ACA-4238] - fix e2e

* [ACA-4238] - fix e2e 

* Fix E2E 

* Fix E2E 

* Improved condition for edit aspect option

* [ADF-4238] - fix e2e 

* [ADF-4238] - fix lint

* [ADF-4238] - fix e2e 

* [ADF-4238] - fix e2e 

* [ADF-4238] - fix e2e 

* [ADF-4238] - fix e2e 

* [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
Eugenio Romano
ad58be3d05
Rebalance suites conf to be less error prone ()
* 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
Eugenio Romano
8186ee16ac
increase default timeout due possible slow env ()
* 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
Eugenio Romano
8308573f3c
Unexclude due the timeout ()
* 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
e9b837462a
e2e improvements part2 ()
* 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
Maurizio Vitale
9b0c31073a
ACA Run the test against the remote env ()
* 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
Eugenio Romano
d26bbc9bff
[ACA-3799] add prefix * name filter ()
* [ACA-3799] add prefix filter

* add smart runner

* fix resolve
2020-07-31 12:18:42 +01:00
Denys Vuika
ddc6f36ab4
Prettier upgrade and e2e type checks ()
* upgrade prettier

* noImplicitAny rule

* fix type

* update tsconfig

* upgrade to 150 print width
2020-07-14 10:03:23 +01:00
Denys Vuika
2854c17cd9
[ADF-5183] Upgrade to Angular 10 ()
* upgrade preparation fixes

* remove fdescribe

* update browserlist config

* ng8

* ngrx 8

* ng9

* ngrx 9

* remove entryComponents

* unit tests

* ng 10

* latest ADF

* fix unit tests

* fix lint

* update deps and travis

* code fixes

* upgrade webdriver

* cleanup libs

* fix test

* update test

* Use browserTarget as target for lite-serve

* Use the update webdriver with CI condition

* Use version console.log('load', path

* Fix path sh

* Try to use remote env

* Add the . to export variabled

* Use hardcoded chrome version

* Remove the run remote

* Avoid to use the escape

* Skip flaky e2e and raise issue ACA-3615

* SKip failing e2e

* Skip flaky e2e and raise issue ACA-3615

* Fix close app toolbar menu and preconditions + tests of  mark-favorite.test.ts  Personal Files section

* Fix mark-favorite tests

* Fix ext-header test

* Fix new-menu tests

* Fix lint

* no message

* Fix viewer tests

Co-authored-by: maurizio vitale <maurizio.vitale@alfresco.com>
Co-authored-by: Cristina Jalba <cristina.jalba@ness.com>
2020-07-09 09:37:06 +01:00
Roxana Diacenco
6e17405787
[ACA-3392] Create aca-testing-shared project to be reused in ADW ()
* Move e2e framework to aca-shared/testing

* * Update e2e suites imports from @alfresco/aca-shared/testing
* Remove testing framework from 'e2e' directory

* Move e2e testing framework to `aca-testing-shared` project
2020-06-04 22:40:07 +02:00
Cilibiu Bogdan
1a16d74b62
[ACA-2174][ACA-2173] Shared / Favorites - edit offline ()
* edit offline

* try to fix test for viewer - password protected file

* bug: Edit in Microsoft Office action is displayed in Shared Files for a locked file
move Shared Files workaround down in the file to fix this

* remove some workarounds, update some comments

* remove other workarounds, make some tests independent, enable lock icon on Search results

* forgotten change

* remove another workaround

Co-authored-by: Adina Parpalita <adina.parpalita@ness.com>
2020-02-17 16:02:25 +02:00
Adina Parpalita
c37e5f431e
add TestRail IDs () 2020-02-13 17:38:54 +02:00
Adina Parpalita
4e7595f7b2 refactor available actions e2e ()
* remove unused methods

* wrap suites in functions

* higher suite calling each wrapped function

* better naming

* wrap test suites in functions

* higher suite calling the wrapped functions

* add searchApi to adminActions
2020-01-22 07:46:41 +02:00
Adina Parpalita
fb6ba7cf6a [ACA-2874] improve the execution time of actions-available tests ()
* some refactoring trying to improve the execution time of actions-available tests

* copyright update
2020-01-17 16:49:58 +02:00
Cilibiu Bogdan
66f9442563 update copyright ()
* update copyright

* update year
2020-01-16 18:15:34 +02:00
Cilibiu Bogdan
3221caea87 adf update 3.7.0-5c1aff ()
* adf dep update

* fix ACA-2175 TODO

* remove workarounds
2019-12-05 12:02:04 +02:00
Denys Vuika
957b93aa63 automated license header checks 2019-07-11 15:25:17 +01:00
Adina Parpalita
b0121f06f8 [ACA-2380] refactor actions-available tests ()
* compare arrays of actions instead of checking the available actions one by one
add more tests for more file types
reorganise and separate test files
use correct capitalisation of “Leave Library”, according to ACA-2473
add some try catch blocks

* fix test and rebalance suites

* remove hidden old info button

- that exists in DOM, even though hidden, after fix of [ACA-2288] issue

* change actions order after ACA-2649
2019-07-03 07:03:02 +03:00