Commit Graph

185 Commits

Author SHA1 Message Date
DenisPrivistirescu
823e80d8ed [ACA-1674] Automated tests for "Mark as Favorite" in FileLibraries list view (#583)
* Favorite-FileLibraries

* Favorite-FileLibraries fix

* Favorite - FileLibraries - fix the comments

* Favorite - FileLibraries - fix variable

* [ADF-1674] fix failing tests
2018-08-24 23:17:29 +03: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
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
b8cc5422f4 [ACA-1653] add testrail ids to e2e tests (#557)
* add testrail ids - WIP

* add TestRail ids to tooltips tests

* added more TestRail ids

* separate tests from Create folder to correct sub-suites

* add more TestRail ids to automated tests

* added more TestRail ids

* added more ids and some missing tests

* combined delete and undo delete tests and added TestRail ids

* decrease protractor timeouts to try and speed up the execution when tests fail

* disable some tests that are incomplete in order to match numbers from TestRail
2018-08-09 12:03:57 +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
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
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
e75042aa46 [ACA-1508] extensions: wave 1 (#480)
* initial structure scaffold

* core extensions module

* simple navbar composition

* allow using app routes instead of registered

* migrate to new navbar setup

* remove commented out tests

* populate toolbar

* evaluate expressions

* redirect to url from toolbar

* populate "open with" viewer menu

* update test setup

* experimental flag for extensions

* test fixes

* fix tests

* code improvements, order support

* improve routing management

* populate "create" menu

* extra dictionaries for spellcheck

* allow disabling extension content

* support file/folder targets for toolbar actions

* add safety check

* navigate directly

* toolbar actions for all pages

* support route data

* "experimental" flag for "create" menu extensions

* code fixes
2018-07-06 19:45:42 +01:00
Denys Vuika
d89473046c fix location link sorting (#473) 2018-06-29 15:03:58 +03:00
Denys Vuika
045c4ee9a2 library effects and actions (#441)
* library effects and actions

* single selection and test fixes

* navigate to site route

* add experimental flag

* disable test

* update tests
2018-06-21 19:56:08 +01:00
Cilibiu Bogdan
fec3f8aaf7 User profile state (#438)
* user data

* fix missing store selector

* profile state

* use ProfileStatus

* remove tests

* test fixes
2018-06-20 13:43:20 +01: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
6620600550 Revert "fix snackbar selector"
This reverts commit b6938060ae.
2018-06-12 20:00:32 +01:00
Denys Vuika
b6938060ae fix snackbar selector 2018-06-12 19:16:01 +01:00
Denys Vuika
eefba09352 update tests 2018-06-09 07:05:18 +01:00
Denys Vuika
1bd50287a1 update e2e tests according to the toolbar changes
View button tests will be reviewed in the future once new "cycling through the selection" is introduced
2018-06-08 21:31:00 +01:00
Denys Vuika
15dff74eea use port 4000 for e2e runs (#387)
* use port 4000 for e2e runs

* upgrade to latest node images

* Revert "upgrade to latest node images"

This reverts commit 88177f5084.

* disable the deletion test for now
2018-06-07 13:32:51 +01:00
Denys Vuika
1bf897639c fix toolbar test 2018-06-06 14:06:23 +01:00
Denys Vuika
f0c0fe162b [ACA-1432] unified selection and single info drawer (#385)
* track document list selection state

* selection management enhancements

* (fix) hide info drawer on selection reset

* use store selection

* remove event handler

* upgrade info drawer for personal files

* upgrade favorties

* upgrade recent files

* move info drawer to a separate component

* test fixes

* update tests

* test fixes

* remove obsolete directive

* use last selection entry

* switch back to first selected node

* selection improvements, versioning uses same node

* optimised toolbar visibility evaluation

* upgrade libs

* update js api

* test fixes

* test fixes

* test updates

* test fixes

* fix e2e tests

* show metadata for last clicked node
2018-06-06 12:44:13 +01:00
Denys Vuika
71ac843c5f upgrade libs (#370)
* upgrade libs

* fix toolbar in the header

* restore breadcrumb e2e tests
2018-05-26 11:28:18 +01:00
Denys Vuika
b78f97c79d Upgrade to latest ADF (alpha) (#361)
* upgrade libs

* update libs

* upgrade page title management

* restore app config

* use 'title' property

* update libs

* disble cypress

* update libs

* disable irrelevant tests
2018-05-21 12:27:12 +01:00
Denys Vuika
829b421108 [ACA-1390] add spellcheck for the typescript code (#363)
* add spellcheck for the typescript code

* update CI config

* update spellcheck rules

* update spellcheck config and code

* run spellcheck for e2e tests

* disable e2e test

* disable cypress for now
2018-05-21 08:40:41 +03: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
9984fa2bd1 upgrade to latest ADF alpha (#341)
* upgrade to latest ADF alpha

* upgrade to newer alpha

* fix search pagination

* disable slow test
2018-05-02 11:44:32 +03:00
Denys Vuika
25c5738160 [ACA-1347] Setup code linting and production builds with CI (#339) 2018-04-30 11:51:27 +01:00
Cilibiu Bogdan
46a5339214 [ACA] E2E - Toolbar - wait for shared api 2018-04-29 11:15:26 +01:00
Cilibiu Bogdan
bf4536fec5 reset selection after each test (#335) 2018-04-27 19:46:01 +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