29 Commits

Author SHA1 Message Date
Adina Parpalita
e8e353fd48 some more fixes 2019-10-22 16:54:02 +03:00
Adina Parpalita
e8ed183a44 added try - catch in api and handleError methods 2019-10-22 13:14:57 +03:00
Adina Parpalita
227e05e3f9 - remove some awaits
- add try catch
- small refactoring
2019-10-17 17:31: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
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
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
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
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
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
0f3fffcff4 [ACA-1767] add viewer actions tests in other list views (#646) 2018-09-19 13:56:04 +01: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
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
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
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
Denys Vuika
7f12841e5a e2e tests 2017-10-19 13:47:25 +01:00