Commit Graph
100 Commits
Author SHA1 Message Date
Adina Parpalita a057ae6659 fix uploadOutput error (#2208) 2021-07-01 08:06:27 +01:00
Adina Parpalita 50b33f5c3a navigate inside original folder when clicking on a folder-link (#2156) 2021-05-25 17:32:12 +01:00
Adina Parpalita c9e79f8ff8 get Copy action by title to solve problem from ADW run (#2111) 2021-05-07 22:57:30 +03:00
Adina Parpalita a087ecd2b7 improve selector to be valid for ADW as well (#2101) 2021-05-06 10:23:38 +01:00
Adina Parpalita febaf6601a [ACA-3908] use different selectors that are valid for ADW as well (#2091)
* use different selectors in order to be valid for ADW as well

* trigger travis
2021-04-27 17:55:34 +03:00
Adina Parpalita 2f8d3d58c4 [ACA-4264] refactor page load and loginWith methods (#1952)
* update extensions json files

* no message

* on login, sign out if anyone is already logged in

* one more selector override needed by ACA-4262
2021-01-29 12:27:32 +00:00
Adina Parpalita 21989ec1ab [ACA-4262] fix selector for content-node-selector-dialog (#1951)
* override generic dialog content selector

* un-exclude tests

* lint
2021-01-27 14:31:21 +00:00
Adina Parpalita 1990684a6d Update protractor.excludes.json
add the correct jira ID
2021-01-25 17:58:20 +02:00
Adina Parpalita e7c87e2d5a add jira ID for excluded test (#1935) 2021-01-21 15:34:39 +00:00
Adina Parpalita e227248324 [ACS-1129]fix signOut method to work for SSO as well 2021-01-13 19:02:14 +02:00
Adina Parpalita b8feed47c3 [ACA-4242] Update e2e login method to account for the changes done for ACA-4197 (#1910)
* build dev instead of e2e

* clear localStorage before new login

* re-enable all tests

* try again build.e2e

* enable one test

* exclude again

* no message

* no message
2021-01-11 15:55:14 +00:00
Adina Parpalita 13fa065654 exclude one test and do some fixes (#1869)
* exclude one test and do some fixes

* try to get more logs

* some more fixes

* try to workaround the slow update of toggle menus

* more logging

* no message

* trigger another run

* Update delete-undo-delete.test.ts

* no message

* rename methods

* no message

* no message

* no message

* no message

* no message

* no message

* update travis.yml

* run travis on branch

* trigger travis

* cleanup

* no message
2020-12-15 10:10:01 +00:00
Adina Parpalita 885a1b1b33 add back try-catch around api calls (#1815)
* add back try-catch around api calls to avoid UnhandledPromiseRejectionWarning

* minor fixes for pagination to account for parallel runs

* missed one

* a few more fixes

* search only files to get correct and consistent number of results

* try something

* add try catch in upload output

* fix cleanup on Create file / folder from template to account for parallel running

* fix incorrect test case id
fix for undefined properties
unexclude some tests to see if still failing

* revert change in order to fix test

* unused import

* exclude test due to missing EXIF aspect

* trigger one more run
2020-11-25 05:45:50 +00:00
Adina Parpalita 03a1a5c0e9 fix flaky tests (#1461) 2020-05-09 11:36:28 +01:00
Adina Parpalita 3c4b800a5c enable fogotten tests (#1429) 2020-04-24 09:50:01 +01:00
Adina Parpalita 2816e5fe11 E2E: try to fix one weird flaky test (#1401) 2020-04-07 09:53:44 +01:00
Adina Parpalita 2e126b787d add workaround needed in ADW due to REPO-4772 (#1353) 2020-02-25 18:43:32 +02:00
Adina Parpalita a825c37da4 e2e refactorings (#1346)
* - create a generic-dialog class to remove some duplicated code
- add return types

* - share dialog needs custom methods
- also, fix copy/paste mistake :D
2020-02-25 12:28:59 +02:00
Adina Parpalita c37e5f431e add TestRail IDs (#1340) 2020-02-13 17:38:54 +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
Adina Parpalita 3a56835a65 upgrade to ADF 3.7.0 2020-02-07 11:02:36 +02:00
Adina Parpalita dc63b58cd6 upgrade puppeteer to use the latest chrome (#1330) 2020-02-05 11:51:21 +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
Adina Parpalita 9e4e4a9b0c fix build scripts (#1313) 2020-01-22 13:27:29 +01:00
Adina Parpalita 653be8bbcd refactor pagination e2e (#1312)
* wrap test suites in functions

* better naming and small improvements

* higher suite that calls the wrapped test functions
2020-01-22 07:46:57 +02:00
Adina Parpalita 4e7595f7b2 refactor available actions e2e (#1311)
* remove unused methods

* wrap suites in functions

* higher suite calling each wrapped function

* better naming

* wrap test suites in functions

* higher suite calling the wrapped functions

* add searchApi to adminActions
2020-01-22 07:46:41 +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
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 e17de2f733 reorganize the tests so that the comment is created closer to the moment when comment created date is checked, in order to avoid this flaky fail: (#1293)
Expected 'a few seconds ago' to be 'a minute ago', 'Incorrect comment created time'.
2020-01-07 14:23:50 +02:00
Adina Parpalita e44a35f656 re-format travis.yml 2020-01-06 01:18:38 +02:00
Adina Parpalita 9e94636172 small change to trigger travis 2020-01-06 01:07:25 +02:00
Adina Parpalita 8496df6a98 re-enable all tests on travis 2020-01-06 00:39:45 +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 8077ec5078 small changes 2020-01-05 21:33:35 +02:00
Adina Parpalita 3d141cf42f remove fdescribe 2020-01-05 19:01:00 +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
Adina Parpalita 84dc148074 try upgrade again (#1281) 2019-12-20 11:30:22 +01:00
Adina Parpalita b869bde294 add new translation files (#1257) 2019-11-25 14:12:50 +02:00
Adina Parpalita 4175471c01 [ACA-2824] upgrade to adf latest version (#1251)
* upgrade to adf latest

* upgrade to adf beta6
2019-11-19 13:34:05 +02:00
Adina Parpalita fd71e2daf4 upgrade js-api version to latest (#1252) 2019-11-18 17:27:55 +02:00
Adina Parpalita 9738752f0f [ACA-2822] add no-duplicate-imports rule (#1250)
* add no-duplicate-imports rule and fix few issues

* fix incorrect import :D
2019-11-15 14:57:34 +02:00
Adina Parpalita 4cb79f5e58 upgrade webdriver-manager and puppeteer (#1241) 2019-11-01 14:49:11 +02:00
Adina Parpalita 5ac3304854 remove unused var 2019-10-22 19:56:32 +03:00
Adina Parpalita 7adba9e619 some more little fixes 2019-10-22 19:39:32 +03:00
Adina Parpalita e8e353fd48 some more fixes 2019-10-22 16:54:02 +03:00
Adina Parpalita e8ed183a44 added try - catch in api and handleError methods 2019-10-22 13:14:57 +03:00
Adina Parpalita 227e05e3f9 - remove some awaits
- add try catch
- small refactoring
2019-10-17 17:31:29 +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
Adina Parpalita 8643a8806d fix chrome version issue (#1180)
* fix chrome version issue

* add webdriver-manager as a separate dependency

* package-lock updated after npm i
2019-08-05 18:57:41 +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 1c18f6c555 [ACA-2387] rebalance suites (#1107)
* rebalance suites

* try to fix flaky test

* fix more related tests

* fix retry

* reorganise some more suites

* move file to another suite
2019-05-15 09:47:52 +01: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 2a4be64bcc [ACA-823] refactoring (#1077) 2019-04-16 10:01:39 +01: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
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
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 dbf821628c [ACA-1627] add automated tests for Comments (#1012) 2019-03-12 15:42:55 +00: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 f25eef599d [ACA-2222] add e2e tests for pagination on Favorite Libraries (#969)
* add tests for pagination on Favorite Libraries

* add TestRail ids
add tests for pagination for empty page and single page

* Delete package-lock.json

* Revert "Delete package-lock.json"

This reverts commit 41eba0c57532373d87d454372273b54ba00e880a.

* restore package-lock
2019-02-26 15:55:01 +02:00
Adina Parpalita 88ca0cb886 [ACA-833] automate tests for download as zip (#968)
* add tests for downloading a single file

* automate tests for download as zip
2019-02-23 17:42:18 +02:00
Adina Parpalita 8f00aa77f1 add tests for downloading a single file (#967) 2019-02-22 14:37:26 +02:00
Adina Parpalita 52a4740463 remove separator between Favorite and Edit folder (#963) 2019-02-20 13:44:41 +02: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
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
Adina Parpalita 5eaa5c1bc7 add tests for Move content (#908) 2019-01-31 08:50:47 +02:00
Adina Parpalita 42b5f4b749 [e2e] new reporter (#906)
* try new reporter

* run specific suite for testing purposes

* change folder output for report

* more report settings

* remove fdescribe

* remove package and update package-lock

* remove disabled tests not needed by the new reporter

* try to identify cause of travis failure

* run only specific tests for investigation purpose

* remove sleep and increase retry delay

* try a different fix

* revert to previous fix

* try different expects

* call different js-api method

* remove parameter not needed anymore
2019-01-29 14:10:02 +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
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
Adina Parpalita 1ea57740fe exclude calendar events from Recent Files (#876) 2018-12-12 14:29:09 +02:00
Adina Parpalita d0ff69c5dc add more e2e tests (#851) 2018-12-04 16:33:50 +00:00
Adina Parpalita 25121e5cf3 [ACA-1943] add tests for Search results - libraries (#821) 2018-11-23 10:41:38 +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
Adina Parpalita b592ea8635 [ACA-1517] add tests for create library (#799) 2018-11-13 15:32:07 +00: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
Adina Parpalita 37b4d9d00b [ACA-1937] automate tests for Library properties (#771) 2018-11-01 14:52:46 +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
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
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
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
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