Commit Graph

85 Commits

Author SHA1 Message Date
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
Eugenio Romano
e5866dc3c2 remove rancher update (#1772) 2020-11-05 08:42:13 +00:00
Denys Vuika
b1f5bebe3f deprecate NPM publishing (#1747)
* deprecate NPM publishing

* remove gitmodules
2020-10-16 09:46:06 +01:00
Eugenio Romano
4987637fcb Do not cache smart runner otherwise is not smart 2020-10-13 16:22:38 +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
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
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
Popovics András
3edf48f050 [AAE-3278] Temporary fix for some flakyness: C297638 and C297638 (#1602) 2020-08-13 23:20:05 +02:00
Eugenio Romano
aee3afdeb8 Fix smart runner (#1570)
* [ACA-3799] add prefix filter

* add smart runner

* fix resolve

* add some configuration for smartrunner

* simplify

* fix

* we need to pass invertGrep in the devServerTarget because Angular overwrite it if you use the dev server
2020-08-01 00:26:22 +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
davidcanonieto
cb1b3fa236 [ACA-3346] Fix build script (#1476)
* [ACA-3317] Improve build script

* Improve code

* Remove update-commit-sha.sh
2020-05-22 00:45:55 +01:00
Eugenio Romano
eb342e9f99 Update .travis.yml 2020-05-12 23:52:09 +01:00
davidcanonieto
6417337f9d [ACA-3251] Move InfoDrawer and Toolbar components to aca-shared (#1466)
* moved tool bar

* moved info drawer

* moved appextension service

* moved pagination service

* Fix imports

* * fixed lints

* * fixed space

* added travis configuration

* * comments fixed

* * comments fixed

* * lint fixed

Co-authored-by: dhrn <dharan.g@muraai.com>
2020-05-12 14:34:26 +01:00
Popovics András
0e7eed3cd5 Add missing documentation for extension loader callbacks (#1457)
* Add missing documentation for extension loader callbacks

* Fix messed up pipeline, how it could work until now???

* Travis yml fix

* Travis yml fix
2020-05-07 23:23:11 +02:00
maurizio vitale
89e7446bd2 Run on develop branch 2020-05-07 14:01:54 +01:00
Eugenio Romano
202a235d36 add tag end release (#1442) 2020-05-04 15:26:34 +01:00
Denys Vuika
ab137d3145 automatically publish libraries on release (#1439) 2020-05-01 17:21:31 +01:00
Eugenio Romano
12448d54c4 Update .travis.yml (#1436) 2020-05-01 10:30:04 +01:00
Eugenio Romano
dfbb73e43f add slack notification 2020-04-24 22:07:08 +01:00
Eugenio Romano
fb128c2626 [ACA-3190] Update env from travis (#1430)
* Update env from travis

* update permissions

* install script fix
2020-04-24 14:33:07 +01:00
dhrn
3ed9dd6b84 [ACA-3046] Create new folder window - missing 'Name'/'Description' la… (#1421)
* [ACA-3046] Create new folder window - missing 'Name'/'Description' labels

* * replaced dot with semi colon

* * fixed e2e build
2020-04-20 18:59:24 +01:00
Denys Vuika
ea6c654e63 unified puppeteer setup (#1412)
* unified puppeteer setup

* try latest chromium and puppeteer
2020-04-15 11:28:58 +01:00
Maurizio Vitale
b240909868 Use the e2e lite-serve (#1390)
* Enable liteserve Fix ecmHost Enable browser open

* Be able to pass a different admin credentials

* use the e2e liteserve

* sync package-lock

* Update webdriver

* Replace the app.conf values before running e2e. Be able to run e2e on external env

* Remove dist mystake

* Remove the baseUrl from the contains

* Use the docker image

* stop postgresql before install

* Try the new strategy

* regenerate the package lock

* Wait for the content to go up

* Change travis with start.sh

* do not override the baseUrl

* Create a different docker compose for e2e

Co-authored-by: Adina Parpalita <adina.parpalita@ness.com>
2020-04-02 09:21:44 +01:00
Eugenio Romano
9b78cd28d1 Trigger build only on branches (#1388) 2020-03-27 18:07:32 +00:00
Eugenio Romano
77316b77bf trigger DW build after merge in development or master (#1384)
* trigger DW build after merge in development or master

* Update .travis.yml
2020-03-27 14:32:06 +00:00
Maurizio Vitale
762c7f8974 Fix the scss import and save the build on S3 (#1382)
* Fix the scss import and save the build on S3

* Run unit test without builing again

* Move success after build

* Build with config e2e
2020-03-27 11:55:04 +00:00
Martin Muller
b228ca2f64 Try latest ACS com to see if e2e are passing (#1248)
* use latest ACS com

* add workaround for REPO-4772

* due to the workaround done for REPO-4772, files now have an initial version set to MAJOR 1.0

* add workaround for REPO-4772 for bulk create files

* Get ACS log if something goes wrong

* wait for the dialog to close only in specific cases

* Import Custom Model into ACS. Update proxy to work with Share.
2019-11-18 18:08:32 +01:00
Suzana Dirla
636693bd38 Revert "use Xenial on Travis (#1201)"
This reverts commit 10592b664a.
2019-09-12 10:09:05 +03:00
Adina Parpalita
10592b664a use Xenial on Travis (#1201)
* small changes

* forgot file

* use travis xenial

* delete commented line

* revert unrelated changes
2019-09-12 09:53:29 +03:00
Adina Parpalita
b0121f06f8 [ACA-2380] refactor actions-available tests (#1144)
* 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
Suzana Dirla
eb1e8c8fa1 [ACA-2147] toolbar clean css - fix colors (#1114)
* [ACA-2147] toolbar clean css - fix colors

* [ACA-1619] keep aspect properties config example

* [ACA-2147] keep toolbar color setting in custom-theme

* remove dist folder from travis cache

* build dist folder before each suite

* remove no longer needed 'Prepare dist cache' since dist cache was disabled
2019-05-21 16:38:19 +01:00
Adina Parpalita
1c18f6c555 [ACA-2387] rebalance suites (#1107)
* rebalance suites

* try to fix flaky test

* fix more related tests

* fix retry

* reorganise some more suites

* move file to another suite
2019-05-15 09:47:52 +01:00
Martin Muller
39f528af67 Feature/ACA-1676 e2e share file (#1106)
* ACA-1676 add share tests with user logouts

* ACA-1676 add share tests with user logouts

* ACA-1676 split the logout test into own describe and reformat the tests a bit.

* ACA-1676 split the logout test into own describe and reformat the tests a bit.

* ACA-1676 split the logout test into own describe and reformat the tests a bit.

* ACA-1676 split the logout test into own describe and reformat the tests a bit.

* ACA-1676 change some protractor config as suggested from Adina

* ACA-1676 change some protractor config as suggested from Adina
2019-05-14 18:58:58 +03:00
Martin Muller
380a5f0cb0 Feature/ACA-1633 travis dist cache (#1074)
* ACA-1633 add new test stage e2
* cache dist
2019-04-16 12:08:17 +01:00
Adina Parpalita
2a4be64bcc [ACA-823] refactoring (#1077) 2019-04-16 10:01:39 +01:00
Martin Muller
c83f78f801 Feature/ACA-1633 parallel tests (#1064)
* [ACA-1633] create test suites. update protractor to use suites. update travis to split in to test suite groups.
* disable tomcat tests
* exclude failing expect
2019-04-12 15:06:49 +01:00
Denys Vuika
36671ff9d1 use LTS node.js (#1031) 2019-03-22 11:11:04 +02:00
Denys Vuika
65e0a1138c Keensoft AOS extension (#920)
* aos extension

* update karma

* lint improvements and fixes

* update script

* update scripts

* update scripts

* reduce about 56.4 kB of polyfills for modern browsers

* deficated aosHost value to have AOS on separate servers

* context menu and toolbar

* visibility evaluator

* code improvements and fixes

* support locking, lock checks
2019-02-08 15:45:39 +02:00
Denys Vuika
b6569cb043 remove S3 integration 2018-11-08 13:17:32 +00:00
Denys Vuika
3a8dbcd7a4 upgrade to Angular 7 (#758)
* angular 7 upgrade

* try to fix e2e failures

* reduce wait for snackbar

* wait presenceOf instead of visibilityOf

* angular 7 upgrade

* try to fix e2e failures

* reduce wait for snackbar

* wait presenceOf instead of visibilityOf

* one more try to fix e2e snackbar issues

* yet another try

* only wait in some tests

* diable animations, extra e2e app configuration

* update tomcat e2e script

* fix prod build memory use

* use another type of wait

* disable check

to be investigated separately
2018-10-31 17:53:36 +02:00
Adina Parpalita
30b445dde9 [ACA-1799] add tests for share file (#727)
* initial work

* shared link created through API

* add tests for share file on all list views

* remove utc for end of day

* remove hours and minutes

* update unit test

* workaround

* update docker settings for tomcat

* tomcat setup for e2e
2018-10-18 14:27:54 +01:00
Denys Vuika
321fb91b8c minor travis settings update 2018-10-05 18:04:03 +01:00
Denys Vuika
93e6489881 [ACA-1843] tomcat e2e runs (#674)
* tomcat environment

* disable artifact deployment for now

* travis settings update

* protractor settings

* protractor settings

* e2e fixes

* e2e fixes

* [ACA-1842] fix library dialog

* cleanup travis settings

* disable test (bug raised)

* fix after rebase

* fix after rebase
2018-09-29 11:21:38 +01:00
Denys Vuika
f580b96a78 more detailed code coverage reports (#664)
* add about to coverage

* add more components to coverage

* more truth for coverage reports

* even more fun

* switch off json formatting

* deploy war file after unit test run
2018-09-24 14:35:14 +01:00
Denys Vuika
1cffbf1379 fix travis deployment script 2018-09-21 14:49:24 +01:00
Denys Vuika
79a7e79d31 improve tomcat scripts 2018-09-21 11:53:55 +01:00
Denys Vuika
1ccd6e0136 update settings 2018-09-20 21:30:31 +01:00
Denys Vuika
c785733481 test war generation 2018-09-20 21:04:01 +01:00