30 Commits

Author SHA1 Message Date
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
Denys Vuika
6a84717a00
fix naming for e2e () 2020-04-17 14:33:05 +01:00
Cilibiu Bogdan
66f9442563 update copyright ()
* update copyright

* update year
2020-01-16 18:15:34 +02:00
Adina Parpalita
5ac3304854 remove unused var 2019-10-22 19:56:32 +03:00
Adina Parpalita
7adba9e619 some more little fixes 2019-10-22 19:39:32 +03:00
Adina Parpalita
e8ed183a44 added try - catch in api and handleError methods 2019-10-22 13:14:57 +03:00
Cilibiu Bogdan
17ce7f1cbc [ACA-2473] action menus - reorder and capitalisation ()
* reorder actions and typography

* capitalize labels

* added titlecase pipe name

* remove titlecase pipe

* actions titlecase strings

* update e2e

* fix text selector

* e2e exclude deleteaction checks
2019-06-26 12:02:40 +03:00
Adina Parpalita
deea3465e0 [ACA-1088] add tests for search results page and actions on search results ()
* add tests for search results page and actions on search results

* fix selector and add more tests

* split unshare tests

* fix tests

* add more tests and TestRail ids
2019-04-03 18:49:34 +01:00
Adina Parpalita
6ac697564d update copyright year ()
* update copyright year

* forgot a file

* update year on licence header
2019-03-19 15:41:27 +02:00
Denys Vuika
07f45e08cf
various bug fixes ()
* various bug fixes

* use 'remove favorite' label where appropriate

* fix toggle favorite component labels

* e2e type check and fixes

* favorite library label

* support toggle favorite component selectors

* update tests

* update e2e tests

* update e2e

* e2e update

* update e2e
2019-03-14 15:40:38 +00:00
Adina Parpalita
42b5f4b749 [e2e] new reporter ()
* try new reporter

* run specific suite for testing purposes

* change folder output for report

* more report settings

* remove fdescribe

* remove package and update package-lock

* remove disabled tests not needed by the new reporter

* try to identify cause of travis failure

* run only specific tests for investigation purpose

* remove sleep and increase retry delay

* try a different fix

* revert to previous fix

* try different expects

* call different js-api method

* remove parameter not needed anymore
2019-01-29 14:10:02 +02:00
Adina Parpalita
d2e0f688e8 [ACA-2116] search results available actions ()
* add item.id to File Libraries

* add method to wait for node to be indexed

* create separate methods in queries API to wait for sites or wait for nodes

* improvements, renaming

* renaming

* fix

* add tests for actions on search results

* add wait and use new method

* fix

* another fix

* use correct method

* more fixes

* create method for clickView button

* fixes

* no message
2019-01-19 16:47:12 +00:00
Adina Parpalita
b8ce533759 [ACA-1928] e2e improvements - part1 ()
* refactor Mark as favourite tests
rename method to be more clear
create separate methods for some checks and actions

* forgot some changes

* refactor delete-undo tests

* some more refactoring

* fix
2018-12-20 11:27:54 +02:00
Adina Parpalita
9b7ad0b0b3 [ACA-2008] tests for add favourite /remove favorite on a site () 2018-11-19 15:50:02 +00:00
Adina Parpalita
946e3e2196 [ACA] e2e remove not needed logoutPage ()
* remove not needed logoutPage

* disable back failing check

* fix failing test
2018-11-02 10:37:07 +00:00
Adina Parpalita
c9f5bc7de3 [ACA-1709] create separate methods for navigating to desired doc list ()
* create separate methods for navigating to desired doc list

* remove timeout committed by mistake
2018-10-26 08:56:58 +03:00
Adina Parpalita
7d73ae309c [ACA-1628] async await ()
* async / await on login component and utils

* more async / awaits

* remove fdescribe

* expect for exact totalItems in waitForApi methods
other async / awaits

* pagination tests

* more tries

* disable selenium promise manager

* try to fix shared-links tests

* re-enable selenium_promise_manager and some more fixes

* add target es2017 to e2e

* set target to es2017 on tsconfig.spec.json

* other tries

* forgotten console.log

* disable pagination tests

* some fixes for pagination

* temporary fix viewer actions tests

* fix some actions tests

* fix some tests for actions

* fix some tests for undo action

* try to fix some more tests

* fixes for toolbar actions

* fix NoSuchElementError for openMoreMenu

* fix NoSuchElementError for rightClickOnMultipleSelection

* fixes for mark as favourite

* more fixes

* more fixes

* change order of some expects

* forgot describe
2018-10-08 09:21:02 +01:00
Adina Parpalita
341b93c2fa [ACA-1759] use async / await in test suites ()
* use async / await in authentication suites

* use async / await on application suites

* use async / await in navigation suites

* use async / await in actions suites
2018-09-25 13:43:23 +01:00
Adina Parpalita
aafa606ceb split toolbar and breadcrumb e2e components () 2018-09-13 09:01:16 +01:00
DenisPrivistirescu
823e80d8ed [ACA-1674] Automated tests for "Mark as Favorite" in FileLibraries list view ()
* Favorite-FileLibraries

* Favorite-FileLibraries fix

* Favorite - FileLibraries - fix the comments

* Favorite - FileLibraries - fix variable

* [ADF-1674] fix failing tests
2018-08-24 23:17:29 +03:00
Adina Parpalita
c0321fe449 [ACA-1683] add tests for viewer - general ()
* rename method to be more clear

* change some files to async / await as they were very difficult to follow

* add uploadApi and a few resource files needed by Viewer tests

* add Viewer e2e component and viewer general tests

* add tests for the other list views as well

* add “docx” to dictionary
2018-08-17 12:27:22 +01:00
Adina Parpalita
86a90d33e2 [ACA-1635][ACA-1636] update favoritesApi and nodesApi to use alfresco-js-api-node ()
* refactor favoritesApi and nodesApi to use alfresco-js-api-node

* remove node-rest-client
2018-08-14 08:57:03 +03:00
Adina Parpalita
8c76d92f47 [ACA-1634] update peopleApi to use alfresco-ja-api-node in e2e ()
* update peopleApi to use alfresco-ja-api-node in e2e

* small code improvement
2018-08-09 18:51:45 +01:00
Adina Parpalita
b8cc5422f4 [ACA-1653] add testrail ids to e2e tests ()
* add testrail ids - WIP

* add TestRail ids to tooltips tests

* added more TestRail ids

* separate tests from Create folder to correct sub-suites

* add more TestRail ids to automated tests

* added more TestRail ids

* added more ids and some missing tests

* combined delete and undo delete tests and added TestRail ids

* decrease protractor timeouts to try and speed up the execution when tests fail

* disable some tests that are incomplete in order to match numbers from TestRail
2018-08-09 12:03:57 +01:00
Adina Parpalita
c6f704270f - fix intermittent failing tests from Shared Files ()
- rename some methods to be more clear
- use async / await - part1
2018-07-26 14:27:00 +01:00
Cilibiu Bogdan
9dba35baed [ACA] Document List - e2e fix ()
* e2e fix

* fix name column as link

* fix 1
2018-07-24 10:23:08 +01:00
Denys Vuika
829b421108 [ACA-1390] add spellcheck for the typescript code ()
* add spellcheck for the typescript code

* update CI config

* update spellcheck rules

* update spellcheck config and code

* run spellcheck for e2e tests

* disable e2e test

* disable cypress for now
2018-05-21 08:40:41 +03:00
Denys Vuika
09aeeff204 initial e2e integration ()
* e2e integration with ci

* update travis config

* try always build image

* build the app in production mode

* try to stop previous

* stop default postgresql service

* try upgrade selenium-webdriver

* disable Gecko for webdriver-manager

* use stable chrome and latest protractor
2018-04-23 14:21:41 +03:00