112 Commits

Author SHA1 Message Date
Cilibiu Bogdan
1a16d74b62
[ACA-2174][ACA-2173] Shared / Favorites - edit offline (#1341)
* edit offline

* try to fix test for viewer - password protected file

* bug: Edit in Microsoft Office action is displayed in Shared Files for a locked file
move Shared Files workaround down in the file to fix this

* remove some workarounds, update some comments

* remove other workarounds, make some tests independent, enable lock icon on Search results

* forgotten change

* remove another workaround

Co-authored-by: Adina Parpalita <adina.parpalita@ness.com>
2020-02-17 16:02:25 +02:00
Adina Parpalita
fe52b0f468
[ACA-2840] automate tests for the destination picker (#1332)
* automate tests for the destination picker

* fix spellcheck
2020-02-10 13:14:21 +01:00
Cilibiu Bogdan
d4f04323b3
ADF 3.7.0-bab49 (#1324)
* adf 3.7.0-1754

* fix header name selector

* fix  more / less state

* click correct button

* check correct button

* remove Thumbnail column from headers list

* 3.7.0-0256a update

* remove Thumbnail. from headers list

* remove Thumbnail

* header cell value selector

* adf 3.7.0-bab49

* change selector after accessibility fixes

Co-authored-by: Adina Parpalita <adina.parpalita@ness.com>
2020-02-06 15:31:27 +02:00
Adina Parpalita
2733c69c9a [ACA-1921] automate tests for Create folder from template (#1320)
* automate tests for Create folder from template
added unit test for exclusion of folder links

* fix stupid mistake
2020-01-23 17:47:25 +02:00
Cilibiu Bogdan
8603d13f71 [ACA-1921] Create folder structure from template (#1309)
* update template actions

* update template effects

* declare menu option

* rename dialog component

* rename service

* update tests

* update docs

* e2e fix locator

* fix translation reference
2020-01-22 10:35:32 +02:00
Adina Parpalita
fb6ba7cf6a [ACA-2874] improve the execution time of actions-available tests (#1307)
* some refactoring trying to improve the execution time of actions-available tests

* copyright update
2020-01-17 16:49:58 +02:00
Cilibiu Bogdan
66f9442563 update copyright (#1302)
* update copyright

* update year
2020-01-16 18:15:34 +02:00
Adina Parpalita
569ee98e8d [ACA-1920] automate tests for Create file from template (#1303)
* change component ancestor from ElementFinder to string for better usability
better naming for some methods
small code cleanup

* add test components and automate tests for Create File from Template action

* ignore e2e-downloads folder

* add return types

* enable check

* enable check after issue got fixed
2020-01-16 13:16:18 +02:00
Adina Parpalita
821d0fc106 another try 2020-01-05 23:24:16 +02:00
Adina Parpalita
98e10adebd try to fix tests failing only on travis 2020-01-05 22:45:15 +02:00
Adina Parpalita
e27a517ad7 automate tests for search filters and search results sorting 2020-01-05 19:00:19 +02:00
Adina Parpalita
03bb0b139f add components for search filters and search sorting 2020-01-05 18:58:07 +02:00
Cilibiu Bogdan
55547ed163
[ACA-2850][ACA-2849] Viewer - document properties not refreshed after changes or uploading new version (#1286)
* update viewer on upload complete

* prevent multiple same actions triggers

* Display node again after upload was complete

* Add e2e test for showing 'Editing Offline' when a new version was uploaded and the node was locked before

* Add e2e test for showing 'Editing Offline' when a new version was uploaded and the node was locked before

* Add e2e test for showing 'Editing Offline' when a new version was uploaded and the node was locked before

* Update src/app/components/page.component.ts

return type

Co-Authored-By: Denys Vuika <denys.vuika@alfresco.com>

* return type

Co-Authored-By: Denys Vuika <denys.vuika@alfresco.com>

* return type

Co-Authored-By: Denys Vuika <denys.vuika@alfresco.com>

Co-authored-by: Martin Muller <damadden88@googlemail.com>
Co-authored-by: Denys Vuika <denys.vuika@gmail.com>
2020-01-02 20:17:59 +02:00
Martin Muller
b228ca2f64
Try latest ACS com to see if e2e are passing (#1248)
* use latest ACS com

* add workaround for REPO-4772

* due to the workaround done for REPO-4772, files now have an initial version set to MAJOR 1.0

* add workaround for REPO-4772 for bulk create files

* Get ACS log if something goes wrong

* wait for the dialog to close only in specific cases

* Import Custom Model into ACS. Update proxy to work with Share.
2019-11-18 18:08:32 +01:00
Adina Parpalita
227e05e3f9 - remove some awaits
- add try catch
- small refactoring
2019-10-17 17:31:29 +03:00
pionnegru
3ca9f4a437 default to none string value 2019-10-16 13:25:07 +03:00
pionnegru
2c5fe7d3f4 amend implicit returns 2019-10-16 13:11:24 +03:00
Suzana Dirla
636693bd38 Revert "use Xenial on Travis (#1201)"
This reverts commit 10592b664aaf2131dfdce997e3d17c80ece88448.
2019-09-12 10:09:05 +03:00
Adina Parpalita
10592b664a use Xenial on Travis (#1201)
* small changes

* forgot file

* use travis xenial

* delete commented line

* revert unrelated changes
2019-09-12 09:53:29 +03:00
Denys Vuika
957b93aa63 automated license header checks 2019-07-11 15:25:17 +01: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
Cilibiu Bogdan
17ce7f1cbc [ACA-2473] action menus - reorder and capitalisation (#1135)
* reorder actions and typography

* capitalize labels

* added titlecase pipe name

* remove titlecase pipe

* actions titlecase strings

* update e2e

* fix text selector

* e2e exclude deleteaction checks
2019-06-26 12:02:40 +03: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
fcb077d803 add automated tests for password protected files (#1073) 2019-04-13 06:56:49 +01:00
Adina Parpalita
7df8d8a4ae [ACA-1766] disable selenium_promise_manager (#1061)
* disable selenium_promise_manager and fix some methods

* some more changes
2019-04-09 20:06:59 +01:00
Martin Muller
f051f01279
WIP: [ACA-823] automate undo copy (#1057)
[ACA-823] automate undo copy
2019-04-09 13:30:30 +01:00
Cilibiu Bogdan
839c9d0dbb [ACA-2320] Navigation - support store actions (#1052)
* move component into folder

* update module

* add children template references

* clean up styling

* clean up theme

* use content projection

* remove old tests

* button menu component

* expand menu component

* link item component

* resolve action directive

* custom active link directive

* collapse template reference

* expanded template reference

* expansion panel directive

* item template directive

* menu panel directive

* support for ngrx actions

* update side navigation inplementation

* remove unused component

* remove unused styling

* update module

* clean up

* unit tests

* unit tests

* remove unused component

* lint

* remove unused import

* fix test

* add tooltip

* fix text

* fix e2e

* use action route commands

* remove fdescribe

* styles fix

* e2e fix tooltip test

* fix active route when drill down

* update docs
2019-04-05 13:03:40 +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
Denys Vuika
672d6a75b1
[ACA-2302] upgrade to ADF 3.2.0 beta (#1049)
* upgrade to ADF 3.2.0 beta 2

* remove deprecated extension classes

* fix some DL style issues

* update class names

* update cell classes

* update viewer

* fix test

* update angular dependencies

* cleanup login component

* update tests

* fix selector

* fix document list cell selector

* fix viewer extension test

* upgrade to beta3

* fix some tests and disable tests until regression is fixed on ADF side

* disable hyperlink e2e for now

* upgrade to latest alpha

* restore tests
2019-03-30 16:48:15 +00: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
Denys Vuika
92a5ec44e8 [ACA-2215] toggle search filter (#998)
* support for toggling search filter

* update docs

* disable e2e test

* update e2e
2019-03-07 14:04:44 +02:00
Adina Parpalita
0b5555d2fc [ACA-1259] automate remaining tests for sidebar (#977)
* automate remaining tests for sidebar

* formatting
2019-02-27 08:40:44 +00:00
Adina Parpalita
a2df75a6dc add tests for Upload New Version (#960) 2019-02-20 09:13:15 +02:00
Adina Parpalita
9ceefff5e6 [ACA-2199] fix Upload New Version action availability (#959)
* fix Upload New Version action availability

* update unit tests

* remove workaround

* add catch for tests failing on Bamboo

* add new line
2019-02-19 16:24:43 +02:00
Cilibiu Bogdan
2fd0ff3825 [ACA-2177] Actions - rearrange actions order (#922)
* rearange actions

* remove separator duplication

* don't show last divider element

* update e2e

* update e2e

* Update toolbar-single-selection.test.ts

remove fdescribe

* move comment as well

* edit folder locator

* edit folder action

* edit folder action from toolbar more menu

* edit folder context menu id

* dont render versions tab
2019-02-19 12:26:34 +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
Cilibiu Bogdan
e004d365a9 [ACA-213] Edit Offline (#909)
* WRITE_LOCK evaluator

* evaluate actions for WRITE_LOCK

* edit offline action

* DL icon for WRITE_LOCK files

* edit offline directive

* custom name column

* localisation

* toggle offline edit extension

* move takeUntil operator

* add tooltip

* better selector to differentiate Edit folder from Edit Offline

* default to empty object for null properties object

* isPersonalFiles evaluator

* isLibraryFiles evaluator

* isLibraryFiles evaluator

* isPersonalFiles evaluator

* update canEditLockedFile rule
2019-02-01 11:52:08 +00:00
Adina Parpalita
5eaa5c1bc7 add tests for Move content (#908) 2019-01-31 08:50:47 +02:00
Adina Parpalita
b61b54d5e9 [ACA-820] add tests for Copy content (#899)
* add tests for Copy content

* fix

* forgot some ids

* update expected favorites number
2019-01-22 16:09:35 +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
Cilibiu Bogdan
71074b2bf1 [ACA] Create Library - switch to ADF component (#893)
* use adf component

* fix component name locator
2019-01-09 08:19:09 +00:00
Denys Vuika
fe8c459637
use dynamic columns from ADF (#889)
* upgrade to latest ADF 3.0.0 alpha

* migrate to ADF column components

* use dynamic column from ADF

* fix e2e tests
2019-01-04 11:50:51 +00:00
Adina Parpalita
24f5f01900 [ACA-1928] e2e improvements - part2 (#884)
* 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

* small improvements / refactoring
2018-12-21 17:04:13 +02: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
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
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
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