19 Commits

Author SHA1 Message Date
Denys Vuika
ddc6f36ab4
Prettier upgrade and e2e type checks (#1522)
* upgrade prettier

* noImplicitAny rule

* fix type

* update tsconfig

* upgrade to 150 print width
2020-07-14 10:03:23 +01:00
Roxana Diacenco
6e17405787
[ACA-3392] Create aca-testing-shared project to be reused in ADW (#1480)
* Move e2e framework to aca-shared/testing

* * Update e2e suites imports from @alfresco/aca-shared/testing
* Remove testing framework from 'e2e' directory

* Move e2e testing framework to `aca-testing-shared` project
2020-06-04 22:40:07 +02:00
Denys Vuika
6a84717a00
fix naming for e2e (#1418) 2020-04-17 14:33:05 +01: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
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
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
Denys Vuika
f0a3f6f630
upgrade to latest JS-API and ADF (#896)
* improved update script and latest ADF libs

* upgrade to latest js-api and ADF

* upgrade tests

* update viewer code

* use @alfresco/js-api

* update to latest adf

* fix deprecation issues

* update viewer

* fix copy/move dialog

* change expect

* fix remove site from favorites

* fix unit test

* update adf version

* use ADF upload dialog
2019-01-22 14:10:48 +00:00
Denys Vuika
18b4c1bc8a
[ACA-2022] navigation fixes (#830)
* navigation fixes

* test fixes
2018-11-26 18:20:30 +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
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
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
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
23df2ad6a2 [ACA-1760] use async / await in list-views suite (#669) 2018-09-26 10:09:16 +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
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
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