Commit Graph

309 Commits

Author SHA1 Message Date
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
Suzana Dirla
0882686172 [ACA-2107] upgrade to ADF latest beta (#882)
* [ACA-2107] upgrade ADF to latest beta

* fix adf sidenav class name

* [ACA-2107] update is-selected to adf-is-selected

* [ACA-2107] add 'adf' prefix to classes name

* [ACA-2107] remove ADF duplicate css style

* [ACA-2107] use 'adf-full-width' class

* [ACA-2107] add 'adf' prefix
2018-12-20 10:13:56 +02:00
Cilibiu Bogdan
f68200a633 [ACA-2067] Side navigation - highlight element with children only when not expanded (#880)
* highlight parent element condition

* update test

* e2e
2018-12-17 08:54:53 +02:00
Cilibiu Bogdan
8e16bd59e0 [ACA] localisation (#877)
* updates

* update e2e
2018-12-12 17:26:37 +00:00
Cilibiu Bogdan
4c274acb3c [ACA-1917] Extensions - evaluate actions for locked files (#858)
* locked file evaluator

* add extension reference

* update docs

* disable versioning for locked files

* disable metadata edit for locked files

* update e2e
2018-12-06 15:29:12 +00:00
john-knowles
12a72afdac [ACA-2062] toolbar updates (#847)
* john-doclist-actions-ACA-2062

* add “simpletask” to ignore list

* fix e2e

* add workaround for Favorites

* isSharedFile state evaluator

* update docs

* update store on share file modal closed

* share action definition

* rename evaluator

* context menu rule

* check for file selection

* use another selector

* update tests

* viewer share action

* fix e2e tests

* update viewer button ids
2018-12-05 11:27:22 +00:00
Adina Parpalita
d0ff69c5dc add more e2e tests (#851) 2018-12-04 16:33:50 +00:00
Denys Vuika
18b4c1bc8a [ACA-2022] navigation fixes (#830)
* navigation fixes

* test fixes
2018-11-26 18:20:30 +00:00
Denys Vuika
0b0a2ad75c [ACA-1991] correctly show error for moderated libraries (#823)
* correctly show error for moderated libraries

* fix unit test

* update e2e tests
2018-11-23 15:24:33 +00:00
Adina Parpalita
25121e5cf3 [ACA-1943] add tests for Search results - libraries (#821) 2018-11-23 10:41:38 +00:00
Cilibiu Bogdan
0bd64f2543 [ACA-1607] Libraries - add/remove favorite library action (#816)
* workaround rework

* avorite unfavorite i18n reference

* extension definition

* is favorite library default value

* add action tooltip

* toglle favorite library state

* add toggle favorite library directive

* remove default isFavorite library value

* rework favorite library directive

* mark selected as favorite on favorite libaries route

* update tests

* add context menu delete library action

* update e2e
2018-11-22 10:37:14 +00:00
Adina Parpalita
94f2762940 [ACA-1964] add tests for search results based on search input selection (#814)
* add tests for search results based on search input selection

* add one more test
2018-11-20 19:24:27 +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
2ac59bd278 [ACA] fix e2e tests failing on slow environments (#801)
* fix tests failing on slow environments

* forgot a change
2018-11-14 15:23:33 +00:00
Cilibiu Bogdan
031198e784 [ACA-20] Sidenav - navigate to first child route when expanded for the first time (#798)
* bradcrumb root title

* use correct i18n string reference

* expansion panel state directive

* takeUntil

* fix text

* parameter type

* fix title error message reference

* fix My Libraries test and add separate one for Favourite Libraries
2018-11-14 12:09:24 +02:00
Adina Parpalita
b592ea8635 [ACA-1517] add tests for create library (#799) 2018-11-13 15:32:07 +00:00
Cilibiu Bogdan
4a420cc9f9 [ACA-20] Favorite Libraries (#789)
* libraries submenu config

* fix item id

* favorite libraries columns

* libraries submenu text

* columns text

* submenu schema

* submenu routes

* role column component

* favorite libraries list api

* register favorite libraries presets

* favorite libraries list component

* register role column component

* dl custom node list is library route

* empty state message icon

* remove custom id

* merge subscriptions

* adapt to child route

* fix component selector

* revert to favorite library route

* sidenav main links font weight

* libraries children contants

* library expand panel method

* update e2e

* libraries children columns consistency

* isLibrary workaround for custom node list

* update isLibrary evaluator

* update e2e

* lint

* Update src/assets/app.extensions.json

Co-Authored-By: pionnegru <pionnegru@users.noreply.github.com>

* Update src/app/extensions/extension.service.ts

Co-Authored-By: pionnegru <pionnegru@users.noreply.github.com>

* Update src/app/extensions/extension.service.ts

Co-Authored-By: pionnegru <pionnegru@users.noreply.github.com>

* Update src/app/extensions/extension.service.ts

Co-Authored-By: pionnegru <pionnegru@users.noreply.github.com>

* Update src/app/extensions/extension.service.ts

Co-Authored-By: pionnegru <pionnegru@users.noreply.github.com>

* use correct preset

* update e2e

* update page titles values

* find child active link

* fix expected value

* update expected

* role column tests

* check if menu is expanded
2018-11-09 13:53:51 +00:00
Denys Vuika
2dc2f51944 [ACA-1970] extension fixes (#780)
* cleanup extension settings

* remove header demo and update schema

* move card view to separate demo extension

* update to ADF 2.6.1
2018-11-08 06:46:32 +00:00
Cilibiu Bogdan
dae45fce57 [ACA-20] Sidenav - submenu conditional icon templates (#786)
* remove focus outline

* button effect

* submenu conditional icon templates

* clean up styling

* update menu locator

* update library PO locators
2018-11-07 13:07:25 +02:00
Adina Parpalita
ae382f8b39 [ACA-1940] add tests for search input (#776) 2018-11-03 16:38:39 +00:00
Adina Parpalita
68fc762dd2 trim expect and actual values (#773) 2018-11-02 17:01:23 +00:00
Adina Parpalita
946e3e2196 [ACA] e2e remove not needed logoutPage (#772)
* remove not needed logoutPage

* disable back failing check

* fix failing test
2018-11-02 10:37:07 +00:00
Suzana Dirla
2c9e68ada7 [ACA-1822] input search options (#768)
* [ACA-1822] input search options - needs cleanup and styling

* [ACA-1822] input search options cleanup

- needs styling
- needs tests

* [ACA-1822] input search options cleanup

- needs styling
- needs tests

* [ACA-1822] input search options styling

* [ACA-1822] add translation keys

* [ACA-1822] reformat with Prettier

* [ACA-1822] fix pointer event on FF

* [ACA-1822] fix e2e test

* [ACA-1822] update unit tests

* [ACA-1822] fix spellcheck

* [ACA-1822] fix display

* [ACA-1822] some theme cleanup

* [ACA-1822] reposition icon

* [ACA-1822] code review changes

* [ACA-1822] more unit tests
2018-11-02 07:31:29 +00:00
Adina Parpalita
37b4d9d00b [ACA-1937] automate tests for Library properties (#771) 2018-11-01 14:52:46 +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
Cilibiu Bogdan
408bacd483 [ACA-1958] Library - 'visibility' label (#769)
* use Visibility label

* update e2e
2018-10-31 17:32:05 +02:00
Suzana Dirla
ad111cb712 e2e fix tomorrow date (#770) 2018-10-31 12:47:50 +00:00
Cilibiu Bogdan
0b65ff46a0 [ACA-1956] Libraries - remove toolbar experimental flag (#764)
* remove experimental flag

* e2e
2018-10-29 20:48:57 +00:00
Adina Parpalita
66769fc0c8 small improvements (#762) 2018-10-29 14:44:56 +00:00
Adina Parpalita
c9f5bc7de3 [ACA-1709] create separate methods for navigating to desired doc list (#756)
* create separate methods for navigating to desired doc list

* remove timeout committed by mistake
2018-10-26 08:56:58 +03:00
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
Cilibiu Bogdan
940b44663a [ACA-1913] Share update rules (#741)
* can share include repository property rule

* context and viewer custom share action rule

* test

* e2e - get shared link before toggle share button action
2018-10-19 19:37:17 +01:00
Adina Parpalita
3bf9cc1fb2 [ACA-1800] add tests for unsure file (#734)
small other changes
2018-10-18 18:32:46 +01:00
Suzana Dirla
4536c43c9f [ACA-1900][ACA-1552] Document List extension e2e (#732)
* [ACA-1552] Document List extension e2e

* [ACA-1552] specify TestRail ids
2018-10-18 18:24:29 +03:00
Cilibiu Bogdan
4b8dbe81d4 enable share action on favorites (#731) 2018-10-18 14:29:26 +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
Denys Vuika
8f86babdc0 [ACA-1863] update i18n resources (#726) 2018-10-17 12:13:59 +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
Cilibiu Bogdan
4dfc087624 [ACA-1887] Shared files - un-share file (#706)
* local ADF component

* add share dialog to module

* allow shared action from Shared view

* change string reference

* workaround share dialog from Shared view

* debounce reload view time

* add e2e test

* mark delete on dialog closed

* emit event on dialog closed

* formcontrolname

* cspell datetimepicker

* disabled test that need ACA-1886
2018-10-11 20:28:01 +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
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
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
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
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
23df2ad6a2 [ACA-1760] use async / await in list-views suite (#669) 2018-09-26 10:09:16 +01:00
Adina Parpalita
341b93c2fa [ACA-1759] use async / await in test suites (#667)
* 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
b2b0da4c86 [ACA-1797] add tests for viewer actions extension (#666) 2018-09-25 09:29:21 +01:00