17 Commits

Author SHA1 Message Date
Denys Vuika
09aba59b06
[ACS-6563] cleanup protractor configs and e2e for extensibility (#3591)
* cleanup extensibility configs and protractor e2e

* cleanup

* cleanup
2024-01-10 09:09:11 -05:00
Denys Vuika
def6ddeaa7
eliminate dead code in e2e tests (#3220)
* reduce shared testing dependency

* dead code cleanup

* eliminate dead code

* fix export
2023-05-23 09:27:08 +01:00
Nikita Maliarchuk
7245e994c5
[ACS-4959] Update license headers to reflect Hyland Copyright Guidelines (#3115)
* [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
Bartosz Sekuła
456454fee1
[AAE-10533] Generic App shell for HxP applications (#2679)
* [AAE-10533] Generic App shell for HxP applications

* refactor

* fix scss mixin path

* remove forRoot in content-plugin

* remove provided routers

* revert router service

* revert template usage

* Added shell markdown

* Move login component to content-plugin

* Moved logic from app.component to app.service

* remove upload-area from shell

* cleaning

* cleaning

* update md

* abstract preferences

* allow to set shell parent route

* fix preferencesService name

* Fix for sidenav

* Fix CR comments

* [ci:force]

* move translation service mock to aca-shared

* fix e2e

* Fix page title

* remove drop area wrapper from whole application

* Fix e2e

* [ci:force]

* Remove blank page from shell

* Add upload files dialog

* [ci:force]

* Remove ExtensionsDataLoaderGuard from shell
2022-11-23 13:45:32 +00:00
AleksanderSklorz
ae551f03fc
[ACS-3640] Reverting reverted changes for a 11 y aca 881740 snackbar messages disappear without option to adjust timing (#2785)
* ACS-3640 Increasing time of autoclosing snackbar and adding X icon to close snackbar

* ACS-3640 Fix lint issues

* ACS-3640 Addressing PR comments

* ACS-3640 Fix lint issue

* ACS-3640 Added aria label for action icon

* ACS-3640 Fixed one left file

* ACS-3640 Fixed lint issues

* ACS-3640 Correction for e2e

* ACS-3640 Reverting reverted corrections for e2e

* ACS-3640 Use data automation id

* ACS-3640 Update ADF version
2022-11-21 10:48:22 +01:00
Denys Vuika
cc41a575ac
Revert snackbar changes (#2778)
* Revert "[AAE-10766] upgrade to new About component (#2769)"

This reverts commit 5ce4835e4ce413106f5e745f44724893579d2972.

* restore about dialog changes

* latest ADF alpha
2022-11-15 17:01:04 +00:00
Denys Vuika
5ce4835e4c
[AAE-10766] upgrade to new About component (#2769)
* [AAE-10766] upgrade to new About component

* upgrade to latest ADF alpha

* update e2e to reflect snackbar changes

* Revert "update e2e to reflect snackbar changes"

This reverts commit 6164804bab1e59ef2ec85caf13d85014fa19e2f8.

* ACS-3640 a 11 y aca 881740 snackbar messages disappear without option to adjust timing (#2734)

* ACS-3640 Increasing time of autoclosing snackbar and adding X icon to close snackbar

* ACS-3640 Fix lint issues

* ACS-3640 Addressing PR comments

* ACS-3640 Fix lint issue

* ACS-3640 Added aria label for action icon

* ACS-3640 Fixed one left file

* ACS-3640 Fixed lint issues

* use latest adf

* ACS-3640 Correction for e2e

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

* remove the action check from the snackbar

* update e2e

* update e2e

* update e2e

* Update e2e

Co-authored-by: AleksanderSklorz <115619721+AleksanderSklorz@users.noreply.github.com>
Co-authored-by: Aleksander Sklorz <Aleksander.Sklorz@hyland.com>
2022-11-14 23:55:06 +00:00
Ketevani Kvirikashvili
22d65f006d
[AAE-7154] Automate upload file dialog (#2418)
* [AAE-7154] Automate upload files dialog

* [ACA-71546] Fix for sigout

* update test

* delete comment

* fix lint

* fix

* fix after CR

* CR

Co-authored-by: Bartosz Sekula <Bartosz.Sekula@hyland.com>
2022-02-15 22:57:23 +00:00
Alfresco Build User
980f2206ca
Update branch for ADF 32602 and JS-API 4.4.0 (#2152)
* [ci:force][auto-commit] Update @alfresco/adf-extensions to 4.5.0-32602 for branch: update-alfresco-dependencies originated from @alfresco/adf-extensions PR: 32602

* [ci:force][auto-commit] Update @alfresco/adf-core to 4.5.0-32602 for branch: update-alfresco-dependencies originated from @alfresco/adf-core PR: 32602

* [ci:force][auto-commit] Update @alfresco/adf-content-services to 4.5.0-32602 for branch: update-alfresco-dependencies originated from @alfresco/adf-content-services PR: 32602

* [ci:force][auto-commit] Update @alfresco/adf-cli to 4.5.0-32602 for branch: update-alfresco-dependencies originated from @alfresco/adf-cli PR: 32602

* [ci:force][auto-commit] Update @alfresco/adf-testing to 4.5.0-32602 for branch: update-alfresco-dependencies originated from @alfresco/adf-testing PR: 32602

* [ci:force][auto-commit] Update @alfresco/adf-extensions to 4.5.0-32615 for branch: update-alfresco-dependencies originated from @alfresco/adf-extensions PR: 32615

* [ci:force][auto-commit] Update @alfresco/adf-core to 4.5.0-32615 for branch: update-alfresco-dependencies originated from @alfresco/adf-core PR: 32615

* [ci:force][auto-commit] Update @alfresco/adf-content-services to 4.5.0-32615 for branch: update-alfresco-dependencies originated from @alfresco/adf-content-services PR: 32615

* [ci:force][auto-commit] Update @alfresco/adf-cli to 4.5.0-32615 for branch: update-alfresco-dependencies originated from @alfresco/adf-cli PR: 32615

* [ci:force][auto-commit] Update @alfresco/adf-testing to 4.5.0-32615 for branch: update-alfresco-dependencies originated from @alfresco/adf-testing PR: 32615

* [ci:force][auto-commit] Update @alfresco/adf-extensions to 4.5.0-32619 for branch: update-alfresco-dependencies originated from @alfresco/adf-extensions PR: 32619

* [ci:force][auto-commit] Update @alfresco/adf-core to 4.5.0-32619 for branch: update-alfresco-dependencies originated from @alfresco/adf-core PR: 32619

* [ci:force][auto-commit] Update @alfresco/adf-content-services to 4.5.0-32619 for branch: update-alfresco-dependencies originated from @alfresco/adf-content-services PR: 32619

* [ci:force][auto-commit] Update @alfresco/adf-cli to 4.5.0-32619 for branch: update-alfresco-dependencies originated from @alfresco/adf-cli PR: 32619

* [ci:force][auto-commit] Update @alfresco/adf-testing to 4.5.0-32619 for branch: update-alfresco-dependencies originated from @alfresco/adf-testing PR: 32619

* [ci:force][auto-commit] Update @alfresco/adf-testing to 4.5.0-32637 for branch: update-alfresco-dependencies originated from @alfresco/adf-testing PR: 32637

* [ci:force][auto-commit] Update @alfresco/adf-extensions to 4.5.0-32658 for branch: update-alfresco-dependencies originated from @alfresco/adf-extensions PR: 32658

* [ci:force][auto-commit] Update @alfresco/adf-core to 4.5.0-32658 for branch: update-alfresco-dependencies originated from @alfresco/adf-core PR: 32658

* [ci:force][auto-commit] Update @alfresco/adf-content-services to 4.5.0-32658 for branch: update-alfresco-dependencies originated from @alfresco/adf-content-services PR: 32658

* [ci:force][auto-commit] Update @alfresco/adf-cli to 4.5.0-32658 for branch: update-alfresco-dependencies originated from @alfresco/adf-cli PR: 32658

* [ci:force][auto-commit] Update @alfresco/adf-extensions to 4.5.0-32668 for branch: update-alfresco-dependencies originated from @alfresco/adf-extensions PR: 32668

* [ci:force][auto-commit] Update @alfresco/adf-core to 4.5.0-32668 for branch: update-alfresco-dependencies originated from @alfresco/adf-core PR: 32668

* [ci:force][auto-commit] Update @alfresco/adf-content-services to 4.5.0-32668 for branch: update-alfresco-dependencies originated from @alfresco/adf-content-services PR: 32668

* [ci:force][auto-commit] Update @alfresco/adf-cli to 4.5.0-32668 for branch: update-alfresco-dependencies originated from @alfresco/adf-cli PR: 32668

* [ci:force][auto-commit] Update @alfresco/adf-testing to 4.5.0-32668 for branch: update-alfresco-dependencies originated from @alfresco/adf-testing PR: 32668

* [ci:force][auto-commit] Update @alfresco/adf-extensions to 4.5.0-32688 for branch: update-alfresco-dependencies originated from @alfresco/adf-extensions PR: 32688

* [ci:force][auto-commit] Update @alfresco/adf-core to 4.5.0-32688 for branch: update-alfresco-dependencies originated from @alfresco/adf-core PR: 32688

* [ci:force][auto-commit] Update @alfresco/adf-content-services to 4.5.0-32688 for branch: update-alfresco-dependencies originated from @alfresco/adf-content-services PR: 32688

* [ci:force][auto-commit] Update @alfresco/adf-cli to 4.5.0-32688 for branch: update-alfresco-dependencies originated from @alfresco/adf-cli PR: 32688

* [ci:force][auto-commit] Update @alfresco/adf-testing to 4.5.0-32688 for branch: update-alfresco-dependencies originated from @alfresco/adf-testing PR: 32688

* [ci:force][auto-commit] Update @alfresco/adf-extensions to 4.5.0-32698 for branch: update-alfresco-dependencies originated from @alfresco/adf-extensions PR: 32698

* [ci:force][auto-commit] Update @alfresco/adf-core to 4.5.0-32698 for branch: update-alfresco-dependencies originated from @alfresco/adf-core PR: 32698

* [ci:force][auto-commit] Update @alfresco/adf-content-services to 4.5.0-32698 for branch: update-alfresco-dependencies originated from @alfresco/adf-content-services PR: 32698

* [ci:force][auto-commit] Update @alfresco/adf-cli to 4.5.0-32698 for branch: update-alfresco-dependencies originated from @alfresco/adf-cli PR: 32698

* [ci:force][auto-commit] Update @alfresco/adf-testing to 4.5.0-32698 for branch: update-alfresco-dependencies originated from @alfresco/adf-testing PR: 32698

* [ci:force][auto-commit] Update @alfresco/adf-extensions to 4.5.0-32704 for branch: update-alfresco-dependencies originated from @alfresco/adf-extensions PR: 32704

* [ci:force][auto-commit] Update @alfresco/adf-core to 4.5.0-32704 for branch: update-alfresco-dependencies originated from @alfresco/adf-core PR: 32704

* [ci:force][auto-commit] Update @alfresco/adf-content-services to 4.5.0-32704 for branch: update-alfresco-dependencies originated from @alfresco/adf-content-services PR: 32704

* [ci:force][auto-commit] Update @alfresco/adf-cli to 4.5.0-32704 for branch: update-alfresco-dependencies originated from @alfresco/adf-cli PR: 32704

* [ci:force][auto-commit] Update @alfresco/adf-testing to 4.5.0-32704 for branch: update-alfresco-dependencies originated from @alfresco/adf-testing PR: 32704

* [ci:force]

* [ci:force] fix snackbar

* [ci:force][auto-commit] Update @alfresco/adf-extensions to 4.5.0-32712 for branch: update-alfresco-dependencies originated from @alfresco/adf-extensions PR: 32712

* [ci:force][auto-commit] Update @alfresco/adf-core to 4.5.0-32712 for branch: update-alfresco-dependencies originated from @alfresco/adf-core PR: 32712

* [ci:force][auto-commit] Update @alfresco/adf-content-services to 4.5.0-32712 for branch: update-alfresco-dependencies originated from @alfresco/adf-content-services PR: 32712

* [ci:force][auto-commit] Update @alfresco/adf-cli to 4.5.0-32712 for branch: update-alfresco-dependencies originated from @alfresco/adf-cli PR: 32712

* [ci:force][auto-commit] Update @alfresco/adf-testing to 4.5.0-32712 for branch: update-alfresco-dependencies originated from @alfresco/adf-testing PR: 32712

* [ci:force]

* [ci:force]

* [ci:force]

* [ci:force]

* [ci:force][auto-commit] Update @alfresco/adf-extensions to 4.5.0-32716 for branch: update-alfresco-dependencies originated from @alfresco/adf-extensions PR: 32715

* [ci:force][auto-commit] Update @alfresco/adf-core to 4.5.0-32716 for branch: update-alfresco-dependencies originated from @alfresco/adf-core PR: 32715

* [ci:force][auto-commit] Update @alfresco/adf-content-services to 4.5.0-32716 for branch: update-alfresco-dependencies originated from @alfresco/adf-content-services PR: 32715

* [ci:force][auto-commit] Update @alfresco/adf-cli to 4.5.0-32716 for branch: update-alfresco-dependencies originated from @alfresco/adf-cli PR: 32715

* [ci:force][auto-commit] Update @alfresco/adf-testing to 4.5.0-32716 for branch: update-alfresco-dependencies originated from @alfresco/adf-testing PR: 32715

* remove getAttribute

* fix lint

* update adf version

* fix argv

* [ci:force] fix getSnackBarMessage()

* [ci:force]

* [ci:force] Fix getTabTitle()

* [ci:force]

* [ci:force][auto-commit] Update @alfresco/adf-extensions to 4.5.0-32744 for branch: update-alfresco-dependencies originated from @alfresco/adf-extensions PR: 32744

* [ci:force][auto-commit] Update @alfresco/adf-core to 4.5.0-32744 for branch: update-alfresco-dependencies originated from @alfresco/adf-core PR: 32744

* [ci:force][auto-commit] Update @alfresco/adf-content-services to 4.5.0-32744 for branch: update-alfresco-dependencies originated from @alfresco/adf-content-services PR: 32744

* [ci:force][auto-commit] Update @alfresco/adf-cli to 4.5.0-32744 for branch: update-alfresco-dependencies originated from @alfresco/adf-cli PR: 32744

* [ci:force][auto-commit] Update @alfresco/adf-testing to 4.5.0-32744 for branch: update-alfresco-dependencies originated from @alfresco/adf-testing PR: 32744

* [ci:force]

Co-authored-by: Travis CI User <travis@example.org>
Co-authored-by: Cristina Jalba <cristina.jalba@ness.com>
Co-authored-by: Eugenio Romano <eugenio.romano@alfresco.com>
2021-06-02 12:01:55 +01:00
Iulia Burcă
d17744bfd9
[ACA-4288] Fix API errors from logs (#2006)
* 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
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
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
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
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
ddc6f36ab4
Prettier upgrade and e2e type checks (#1522)
* 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 (#1506)
* 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 (#1480)
* 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