22 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
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
6a84717a00
fix naming for e2e (#1418) 2020-04-17 14:33:05 +01:00
Denys Vuika
1b4bacf7fa
upgrade to latest ADF alpha (#1373)
* upgrade to latest ADF alpha

* an extra step is needed now in order to open the calendar

* max date constraint

* upgrade libs

* upgrade node-sass

* upgrade spellcheck lib

* upgrade libs

* update test

* restore time back

* update libs

* update libs

* update libs

Co-authored-by: Adina Parpalita <Adina.Parpalita@ness.com>
2020-04-02 14:57:41 +01:00
Maurizio Vitale
b240909868
Use the e2e lite-serve (#1390)
* Enable liteserve Fix ecmHost Enable browser open

* Be able to pass a different admin credentials

* use the e2e liteserve

* sync package-lock

* Update webdriver

* Replace the app.conf values before running e2e. Be able to run e2e on external env

* Remove dist mystake

* Remove the baseUrl from the contains

* Use the docker image

* stop postgresql before install

* Try the new strategy

* regenerate the package lock

* Wait for the content to go up

* Change travis with start.sh

* do not override the baseUrl

* Create a different docker compose for e2e

Co-authored-by: Adina Parpalita <adina.parpalita@ness.com>
2020-04-02 09:21:44 +01: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
Cilibiu Bogdan
66f9442563 update copyright (#1302)
* update copyright

* update year
2020-01-16 18:15:34 +02:00
Cilibiu Bogdan
3221caea87 adf update 3.7.0-5c1aff (#1274)
* adf dep update

* fix ACA-2175 TODO

* remove workarounds
2019-12-05 12:02:04 +02:00
Martin Muller
725073c753 allow other base urls like localhost:8080/workspace (#1273) 2019-12-03 15:39:41 +02:00
Adina Parpalita
e8e353fd48 some more fixes 2019-10-22 16:54:02 +03:00
Martin Muller
39f528af67 Feature/ACA-1676 e2e share file (#1106)
* ACA-1676 add share tests with user logouts

* ACA-1676 add share tests with user logouts

* ACA-1676 split the logout test into own describe and reformat the tests a bit.

* ACA-1676 split the logout test into own describe and reformat the tests a bit.

* ACA-1676 split the logout test into own describe and reformat the tests a bit.

* ACA-1676 split the logout test into own describe and reformat the tests a bit.

* ACA-1676 change some protractor config as suggested from Adina

* ACA-1676 change some protractor config as suggested from Adina
2019-05-14 18:58:58 +03: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
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
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
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
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
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