51 Commits

Author SHA1 Message Date
pionnegru
2c5fe7d3f4 amend implicit returns 2019-10-16 13:11:24 +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
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
Adina Parpalita
d5f8699976 [ACA-1258] automate tests for viewing file/image properties (#1101)
* split InfoDrawer test component and add tests for viewing properties

* add “date item” to spell ignore and remove commented code

* try to increase timeout
2019-05-09 14:57:31 +03:00
Adina Parpalita
2a4be64bcc [ACA-823] refactoring (#1077) 2019-04-16 10:01:39 +01:00
Adina Parpalita
deea3465e0 [ACA-1088] add tests for search results page and actions on search results (#1051)
* 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 (#1022)
* 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 (#1010)
* 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
dbf821628c [ACA-1627] add automated tests for Comments (#1012) 2019-03-12 15:42:55 +00:00
Adina Parpalita
a2df75a6dc add tests for Upload New Version (#960) 2019-02-20 09:13:15 +02:00
Adina Parpalita
819f6ddced [ACA-2160] add tests for Edit offline actions availability (#921)
* add tests for Edit offline actions availability

* fix delete / undo delete tests
2019-02-07 19:45:24 +00:00
Adina Parpalita
42b5f4b749 [e2e] new reporter (#906)
* 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
Denys Vuika
f0a3f6f630
upgrade to latest JS-API and ADF (#896)
* improved update script and latest ADF libs

* upgrade to latest js-api and ADF

* upgrade tests

* update viewer code

* use @alfresco/js-api

* update to latest adf

* fix deprecation issues

* update viewer

* fix copy/move dialog

* change expect

* fix remove site from favorites

* fix unit test

* update adf version

* use ADF upload dialog
2019-01-22 14:10:48 +00:00
Adina Parpalita
d2e0f688e8 [ACA-2116] search results available actions (#895)
* 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 (#883)
* 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
d0ff69c5dc add more e2e tests (#851) 2018-12-04 16:33:50 +00:00
Adina Parpalita
9b7ad0b0b3 [ACA-2008] tests for add favourite /remove favorite on a site (#810) 2018-11-19 15:50:02 +00:00
Adina Parpalita
ca67da3657 [ACA-1946] automate tests for Favourite Libraries list (#803)
* automate part of the Favourite Libraries tests
refactor File Libraries tests to include My Libraries

* rephrasing

* forgotten changes

* fix tests
2018-11-16 15:43:16 +02:00
Adina Parpalita
b592ea8635 [ACA-1517] add tests for create library (#799) 2018-11-13 15:32:07 +00:00
Adina Parpalita
37b4d9d00b [ACA-1937] automate tests for Library properties (#771) 2018-11-01 14:52:46 +00:00
Adina Parpalita
3bf9cc1fb2 [ACA-1800] add tests for unsure file (#734)
small other changes
2018-10-18 18:32:46 +01: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
Suzana Dirla
27dcb33891 [ACA-1890][ACA-1798] metadata extension e2e (#711)
* [ACA-1890] make sure that the metadata component uses the extension settings

* [ACA-1798] remove unused imports

* [ACA-1798] test metadata extension

* format with Prettier

* [ACA-1798] changes after code review
2018-10-15 09:33:08 +01:00
Adina Parpalita
7d73ae309c [ACA-1628] async await (#693)
* 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
4f4a69338f [ACA-1762] async await pagination (#687)
* use async / await in pagination tests

* add catch in waitForApi
2018-10-05 12:51:53 +01:00
Adina Parpalita
0f3fffcff4 [ACA-1767] add viewer actions tests in other list views (#646) 2018-09-19 13:56:04 +01:00
Suzana Dirla
6e98721a62 [ACA-1569] Close dialogs on logout (#621)
* Close dialogs on logout

* [ACA-1569] e2e tests

* [ACA-1569] review required change on e2e test
2018-09-13 09:05:55 +01:00
Adina Parpalita
a3c5753a6e [ACA-1549] info drawer extension e2e tests (#580)
* add Info Drawer component and Info Drawer extensibility tests

* add default extensibility configs
2018-08-24 12:15:10 +03:00
Adina Parpalita
c0321fe449 [ACA-1683] add tests for viewer - general (#570)
* 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
ed23a21a00 [ACA-1650] automate tests for pagination on File Libraries (#568) 2018-08-16 08:39:02 +01:00
Adina Parpalita
86a90d33e2 [ACA-1635][ACA-1636] update favoritesApi and nodesApi to use alfresco-js-api-node (#564)
* refactor favoritesApi and nodesApi to use alfresco-js-api-node

* remove node-rest-client
2018-08-14 08:57:03 +03:00
Adina Parpalita
213c2deedc [ACA-1640] use alfresco-js-api-node in e2e trashcanApi (#562) 2018-08-13 09:49:43 +01:00
Adina Parpalita
7c08488323 [ACA-1637] update searchApi to use alfresco-js-api-node (#561) 2018-08-10 22:12:57 +01:00
Adina Parpalita
8c76d92f47 [ACA-1634] update peopleApi to use alfresco-ja-api-node in e2e (#558)
* update peopleApi to use alfresco-ja-api-node in e2e

* small code improvement
2018-08-09 18:51:45 +01:00
Adina Parpalita
b009f85246 [ACA-1639] use alfresco-js-api-node for sitesApi (#553) 2018-08-06 13:56:06 +01:00
Adina Parpalita
50b0023967 [ACA-1638] refactor sharedLinksApi to use alfresco-js-api (#547)
* refactor sharedLinksApi to use alfresco-js-api

* update package-lock.json

* re-created package-lock.json file

* update package-lock

* spellcheck fixes
2018-08-03 11:33:27 +01:00
Denys Vuika
25c5738160
[ACA-1347] Setup code linting and production builds with CI (#339) 2018-04-30 11:51:27 +01:00
Denys Vuika
09aeeff204 initial e2e integration (#329)
* 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
Denys Vuika
e36ad93a98
Sync latest development (#147)
* fix navigation docs issues

* update documentation (#142)

* update documentation

changed start command
used a tags for links nested inside table and p tags, because Github did not render them correctly

* set link to navigation on side-nav.md

* [ACA-1061] update project version (#145)

[ACA-1061] update project version

* move e2e to a separate repo

* fix "view" button (toolbar)
2017-12-14 18:55:01 +00:00
Denys Vuika
d4a55c5b95
[ACA-1042] switch license (#129) 2017-12-11 14:58:25 +00:00
Adina Parpalita
79f8ec33a9 [ACA-990] framework improvements (#96)
* refactoring

* e2e API improvements

* forgot one file
2017-11-28 22:02:47 +02:00
Bogdan Cilibiu
d34cca3c6e deleteNodesById 2017-11-26 14:10:09 +02:00
Adina Parpalita
b189945627 [ACA-986] fix ts error (#68)
* fix ts error

* another fix
2017-11-21 08:26:46 +02:00
Adina Parpalita
c10774a6ba add shared-links api 2017-11-17 23:07:43 +02:00
Adina Parpalita
03e1187780 add trashcan api 2017-11-17 23:06:57 +02:00
Adina Parpalita
1db9710c68 [ACA-990] Add sanity tests for Trash list view (#58)
* add sanity tests for Trash list view

* small change in tests name
2017-11-16 12:58:42 +00:00
Adina Parpalita
ad438c8664 add sanity tests for favourites list view 2017-11-15 14:43:12 +02:00
Adina Parpalita
dab38d5a47 small refactoring of login / logout 2017-11-10 15:39:15 +02:00
Adina Parpalita
04b410254e changes after review 2017-11-03 17:26:10 +02:00
Adina Parpalita
59d4a4a8ed add favorites api 2017-11-03 16:54:27 +02:00