10 Commits

Author SHA1 Message Date
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