Commit Graph

51 Commits

Author SHA1 Message Date
Suzana Dirla
03e8ab4b1e [ACA-1897] context submenu extension e2e (#745)
* [ACA-1897] e2e for context submenu - needs some fixes

* fix

* [ACA-1897] test refactoring

* [ACA-1897] specify TestRail ids

* [ACA-1897] fix spell check issue

* [ACA-1897] custom message on share dialog fail to close -  e2e tests
2018-10-23 14:46:13 +03:00
Cilibiu Bogdan
07703547ec [ACA-1911] Un-Share file - permission error notification (#743)
* remove update permission check

* add 403 error

* show 403 error

* update test

* update e2e

* update

Co-Authored-By: pionnegru <bogdan.cilibiu@ness.com>
2018-10-23 09:35:30 +03: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
d8ad020394 add tests for header extension (#701) 2018-10-10 09:30:47 +03: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
Denys Vuika
ac99f5397d fix redirection for multiple 401 in a row (#690)
* fix redirection for multiple 401 in a row

* update to ADF 2.6.0

* update e2e test
2018-10-05 09:52:07 +01:00
Denys Vuika
457fa74048 [ACA-1830] create menu enhancements (#670)
* nested menus for create button

* evaluate sub-menu permissions

* demo plugin

* "create library" action

* unit tests and proper effect name
2018-09-27 09:07:24 +01:00
Adina Parpalita
b2b0da4c86 [ACA-1797] add tests for viewer actions extension (#666) 2018-09-25 09:29:21 +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
a9467dcc47 [ACA-1767] add tests for Viewer actions (#641)
* add tests for Viewer actions

* exclude e2e from auto-formatting for now

* update lock file
2018-09-18 16:54:33 +01:00
Adina Parpalita
aafa606ceb split toolbar and breadcrumb e2e components (#626) 2018-09-13 09:01:16 +01:00
Adina Parpalita
28a4fb7ba7 [ACA-870] add tests for right click actions (#625) 2018-09-12 10:08:20 +01:00
Adina Parpalita
b550fe7f72 add specific methods for single click on item name link (#618)
automate tests for Single click on item name
2018-09-07 14:17:07 +01:00
Adina Parpalita
c687c22cc3 [ACA-1680] add new tests for Permanently delete from Trash (#608) 2018-09-06 11:44:42 +01:00
Denys Vuika
c916ab4cd1 reusable extensibility lib (#585)
reusable extensibility lib (part 1)
2018-08-29 16:38:44 +01:00
Suzana Dirla
5759ea1b62 e2e fix random failing test (#586) 2018-08-29 08:17:05 +01:00
Adina Parpalita
4f56095774 [ACA-1695] automate test for Viewer extensions - content (#582)
* automate test for Viewer extensions - content

* revert file committed by mistake

* fix change committed by mistake
2018-08-24 16:23:45 +03: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
DenisPrivistirescu
d677fbdd35 [ACA-1679] Add remaining tests for page titles (#566)
* add tests for Page titles e2e
2018-08-21 13:41:39 +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
Denys Vuika
f91608fe78 Angular 6 (#556)
* upgrade to angular 6 (with rxjs-compat)

* fix tests

* fix test scripts

* upgrade rxjs to 6.0

* remove rxjs-compat layer

* update unit tests

* restore tests

* context-menu transparent backdrop

* upgrade libs

* changed snackbar locator

* locator as class

* remove locator element reference

* snackbar locators

* wait for snackbar before executing the action button

* expect cdk-overlay before mat-menu-panel condition

* update libs
2018-08-09 11:11:06 +01:00
Denys Vuika
ae8675dfd7 [ACA-1631] more application ngrx actions (#540)
* delete action

* library path evaluator

* extension for sharing files

* upload actions

* delete library

* use extensions for experimental library actions

* unshare nodes

* fix icons and titles

* "create menu" backed by core extension

* support for descriptions, update upload selector

* update code and tests

* support disabled tooltips for navbar

* fix selector

* [ACA-1486] remove double fetch call

* migrate to trashcan actions, element IDs

* cleanup code, remove deprecated directives

* add/remove favorite

* improve rendering performance

* update favorites without reload

* support for adding Sites to favorites

* disable favorites for Libraries for now

* copy action

* move node

* manage versions and permissions

* cleanup code

* toggle info drawer

* card view mode

* use extension layer for favorites toolbar

* fix menu tooltips

* fix 'remove as favorite' tests

* update tests

* test fixes

* fix edit folder for favorites

* fix test

* cleanup favorites layout

* upgrade recent files layout

* update evaluators for shared nodes

* test fixes

* test fixes

* restore recent files layout

* workaround for "favorite" toggle and recent files

* upgrade shared files page

* upgrade files page layout

* fix library evaluator

* workaround for shared files and permissions

* cleanup code

* upgrade search results

* upgrade sidebar and viewer actions

* code cleanup

* code cleanup

* code cleanup
2018-07-31 10:36:26 +01:00
Cilibiu Bogdan
617f80c9fd [ACA-1595] Location link - reduce HTTP requests for tooltip (#535)
* get node tooltip info on hover

* refactore

* remove nodeLocation private attribute

* e2e - added datatable method for async tooltips

* fix failing tests

* lint

* lint

* removed manual unsubscribe
2018-07-26 20:39:19 +01:00
Adina Parpalita
c6f704270f - fix intermittent failing tests from Shared Files (#539)
- 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 (#522)
* e2e fix

* fix name column as link

* fix 1
2018-07-24 10:23:08 +01:00
Cilibiu Bogdan
af4089ae74 [ACA-1574] DocumentList - single click navigation (#513)
* single click navigation

* fix tests

* allow action on row

* use adf link class

* update tests
2018-07-18 16:25:30 +01:00
Suzana Dirla
5d8a9057bc [ACA-1440] use ADF Header component (#508)
* [ACA-1440] use ADF HEADER component

* moved style to theme

* removed ACA HeaderComponent

* remove aca header component theme

* Update layout.component.html

* update app header locator
2018-07-17 08:38:36 +03:00
Denys Vuika
d89473046c fix location link sorting (#473) 2018-06-29 15:03:58 +03:00
Denys Vuika
e2eed9b71c style and theming fixes (#428)
* fix generic error text and styles

* search input layout and style fixes

* settings theme

* layout theme support

* current user theme

* theming support for header component

* disable "use-host-property-decorator" tslint rule

* sorting picker button theme
2018-06-17 16:16:38 +01:00
Denys Vuika
8a222bcb89 latest adf alpha (#353)
* latest adf alpha

* fix test

* try using instant translation for page titles

* upgrade to latest alpha

* update app config

* upgrade to adf app config pipe

* update libs

* update libs

* update config file

* fix code after upgrade

* upgrade e2e

* upgrade libs

* update libs

* fix e2e
2018-05-10 22:07:02 +01:00
Cilibiu Bogdan
9e264f3fb0 [ACA-1317] Use ADF component for "New" side navigation actions (#347)
* adf-sidebar-action-menu

* update
2018-05-04 18:39:26 +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
9681b459f7 [e2e] fix selectors (#116)
* fix selectors
start chrome headless

* use case insensitive
2017-12-06 14:32:30 +02:00
Adina Parpalita
43b020ca51 [ACA-990] add tests for Recent Files, Shared Files and location redirect (#105)
* add tests for Recent Files and Shared Files list views
add tests for location redirect

* small fix
2017-12-04 06:10:23 +02:00
Adina Parpalita
2d6ae127aa [ACA-990] stabilise e2e tests (#104) 2017-12-01 11:12:24 +00:00
Adina Parpalita
2ce7d57737 [ACA-990] e2e fixes (#101)
* change selector
rename methods
separate pagination tests into multiple files to try to avoid jasmine timeout
increase a bit the timeouts

* shared-links api needs a bit more time to complete

* a bit more time
2017-11-30 19:44:21 +00:00
Adina Parpalita
f6f7b0bdf3 add tests for pagination on multiple list views (#97) 2017-11-28 23:29:07 +02:00
Adina Parpalita
79f8ec33a9 [ACA-990] framework improvements (#96)
* refactoring

* e2e API improvements

* forgot one file
2017-11-28 22:02:47 +02:00
Adina Parpalita
56d62276d7 e2e test components refactoring (#76) 2017-11-22 10:51:49 +02:00
Adina Parpalita
892b49046f Toolbar - multiple selection - all list views (#66) 2017-11-20 22:30:25 +02:00
Adina Parpalita
03c81d8b60 add methods to check if an action is present in the menu 2017-11-17 23:08:25 +02:00
Adina Parpalita
ad438c8664 add sanity tests for favourites list view 2017-11-15 14:43:12 +02:00
Adina Parpalita
1b879a2205 add tests for empty pages 2017-11-14 11:14:22 +02:00
Adina Parpalita
08179772e3 fix login page selector 2017-11-08 16:12:53 +02:00
Cilibiu Bogdan
709a13e483 mat over md prefix (#10) 2017-10-24 09:22:28 +01:00
Denys Vuika
027aeca81d fix e2e tests 2017-10-19 16:26:52 +01:00