53 Commits

Author SHA1 Message Date
Denys Vuika
5259f840a8
Optimize e2e framework (#1428)
* reduce breadcrumb page

* imrpove readability of code

* reduce data-table page size

* reduce datetime-picker code

* fix datatable page

* header and info drawer

* update datatable page

* toolbar cleanup

* more test components cleanup

* even move component cleanup

* move wait utils to the Utils

* unified waits

* cleanup menu page

* code fixes

* fix code

* code improvements

* rename api

* fix code

* fix code

* cleanup dialog pages

* more fixes and dead code removal

* code fixes

* try to fix the flaky teset

* fix code

* fix code

* update code

* fix lint

* unified text input

* fix lint

* add missing await

* reduce the wrapper method around clear text

* resolve element value

Co-authored-by: Cilibiu Bogdan <bogdan.cilibiu@ness.com>
2020-04-29 08:40:55 +01:00
Denys Vuika
bf509843b7
integrate Prettier with tslint (#1419)
* integrate prettier with tslint

* remove obsolte scripts

* update tsconfig

* fix lint issues

* fix lint errors

* more rules and fixes

* kebab case and lint fixes

* update helpers

* update util
2020-04-19 23:29:20 +01:00
Denys Vuika
cfb9c4bca9
use Logger instead of console (#1417) 2020-04-17 12:25:25 +01:00
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
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
e27a517ad7 automate tests for search filters and search results sorting 2020-01-05 19:00:19 +02: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
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
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
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
Adina Parpalita
a2df75a6dc add tests for Upload New Version (#960) 2019-02-20 09:13:15 +02: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
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
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
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
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
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
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
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
Denys Vuika
d89473046c fix location link sorting (#473) 2018-06-29 15:03:58 +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
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
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
892b49046f Toolbar - multiple selection - all list views (#66) 2017-11-20 22:30:25 +02:00
Adina Parpalita
ad438c8664 add sanity tests for favourites list view 2017-11-15 14:43:12 +02:00