225 Commits

Author SHA1 Message Date
Cilibiu Bogdan
ee5c90871a [ADF-4958] [ADF-4959] Info Drawer - Buttons don't have role and accessible by keyboard alone (#5161)
* actions accessibility

* lint

* access setEditMode by keyboard

* fix test

* update action automation id reference

* update element finder reference

* update automation id reference
2019-10-17 11:18:15 +01:00
Maurizio Vitale
3fc9390666 [ADF-4909] e2e - Move the resources as part of protractor params (#5086)
* Move the resources as part of protractor params

* Revert replace mistakes

* Remove the resources imports

* fix resources import
2019-10-10 10:22:11 +01:00
Eugenio Romano
bcacd8b42e
[ADF-4810] fix sso settings (#5108)
* fix sso settings

* fix test

* update-js-api

* update-js-api

* invert test order for some reason
2019-09-30 13:32:17 +01:00
Denys Vuika
90b2cee70d
[ADF-4894] Json editor dialog (#5082)
* move download-zip to its own folder

* json dialog

* update docs

* update test

* disable e2e test

* json widget for the Form

* remove deprecated test

* fix tests, update display text name
2019-09-20 07:26:37 +01:00
Maurizio Vitale
4de00fd6ca [ADF-4867] adf-error-component refactor (#5056)
* Refactor the adf-error-component
Move the custom buttons on demoshell
Fix unit test
Remove usefull e2e

* Add basic example
2019-09-07 10:29:19 +01:00
Marouan Bentaleb
643510ed45 [ADF-4799][ADF-4801] Automation tests for CardView clear date field and selectbox None option (#4993)
* [ADF-4799] Automation for clear date button

* [ADF-4801] Automate test for selectbox None option
2019-08-19 22:50:33 +02:00
Eugenio Romano
83412bb9b6
Disable control flow e2e ADF (#4954)
* update project script possible different JS-API

* first commit no controll flow

* second commit no controll flow

* third commit no controll flow

* 4 commit no controll flow

* 5 commit no controll flow

* 6 commit no controll flow

* 7 commit no controll flow

* 8 commit no controll flow

* 9 commit no controll flow

* 10 commit no controll flow

* 11 commit no controll flow

* 12 commit no controll flow

* 13 commit no controll flow

* 14 commit no controll flow

* 15 commit no controll flow

* 16 commit no controll flow

* 17 commit no controll flow

* 18 commit no controll flow

* 19 commit no controll flow

* 20 commit no controll flow

* remove wdpromise, protractor promise and deferred promises

* - fixed some incorrect “expect” calls
- fixed some matchers
- removed “return this;” when not needed
- added a few more await-s

* forgot a file

* fix some failing tests

* replaced driver calls with browser calls and enabled back waitForAngular

* fix rightClick methods and hopefully some tests

* fix settings-component

* some more fixes for core and content tests

* try to fix some more issues

* linting

* revert some changes, allowing download on headless chrome won’t work with multiple browser instances

* fixes for Search tests

* try to remove some wait calls

* fix build

* increase allScriptsTimeout and try another protractor and web driver version

* improve navigation methods

* some fixes for notification history and login sso

* forgot a space

* fix packages and enable some screenshots

* navigation bar fixes

* fix some test

* some fixes for notification history and navigation bar
use correct visibility method in attachFileWidget test

* fix searching and another fix for navigation

* try solve sso login

* some more fixes

* refactor async forEach into for..of

* try fix for search tests

* resolve rebabse problems

* remove install

* fix lint

* fix core e2e

* fix core e2e

* fix core e2e

* fix ps tests

* fix some tests

* fix core e2e

* fix core e2e

* fix core

* fix some issues PS

* fix core

* fix core

* fix some ps test

* fix rebase issues

* remove save

* fix url regressed after rebase

* fix url regressed after rebase

* fix ps and core

* fix lint

* more parallel e2e ps

* fix some ps cloud test

* some cloud fix

* fix lint

* fix some test

* remove files to be ignored

* out-tsc

* improve one cs test

* fix candidate base app

* fix ps test

* remove click function

* clean methods alrady present in browser action

* try ugly wait

* move wait

* remove duplicate call

* remove underscore

* fix after review

* fix imports

* minor cosmetic fixes

* fix comments test
2019-08-17 14:32:02 +02:00
Eugenio Romano
f04c135377
Fix e2e test (#4981)
* fix core viewer

* increase rendition retry

* sso refresh before test

* general fix test

* try use last proxy

* avoid use proxy

* remove proxy

* fix setting tests

* fix share and sso test

* fix lint exclude

* fix sso

* fix some process services cloud e2e

* fix sso download

* exclude sso test

* fix cloud

* add logout content service test

* add logout core

* add logout search

* redefine global before all

* separate protracotr method

* try

* try multiple attempt before all

* add prefix group and users

* add prefix group and users

* add prefix group and users

* rexecute sso test

* fix process service visibility e2e

* split SSO login test

* fix SSO download

* fix SSO download

* fix some cloud issues

* fix some cloud issues

* fix some cloud issues

* share file fix cs

* fix cloud test
2019-08-08 17:52:45 +02:00
cristinaj
0226a7a3bd Change the old VisibilityCondition format with the new one (#4934) 2019-07-15 19:24:57 +01:00
Geeta Mandakini Ayyalasomayajula
76c938800f [ADF-4480] Viewer shows endless spinner for unsupported files (#4937)
* added asserting for the unsupported format file message.

* removing return statement

* removing return statement
2019-07-15 19:18:06 +01:00
Eugenio Romano
5703c45ad8
[ADF-4259] ClientId shouldn't be in the config file (#4930)
* add delete users missing in ps cloud e2e

* clientId use config param

* Update test.config.js
2019-07-13 16:16:40 +01:00
Eugenio Romano
b28a53afe7
Ban xit and xdescribe use in the future (#4923)
* remove xit test and ban xit and xdescribe use in the future

* remove xit test and ban xit and xdescribe use in the future

* remove test excluded

* remove consecutive blank line
2019-07-12 15:04:53 +01:00
Cilibiu Bogdan
ccdcba8778 [ADF-4424] Pdf Viewer - password dialog does not close when pressing Escape (#4622)
* return to previous page on close

* update e2e

* [ADF-4424] Improve PreviousRouteService to use it in pdfViewer

* change previous Url logic

* remove navigation logic

* remove test

* Update pdfViewer.component.spec.ts

* back button logic for viewer outlet

* unit tests

* remove fdescribe

* remove unused service

* e2e

* return to location

* remove click filter step

* remove unnecessary test steps

* remove un existen export

* unify preview between PS and CS in demo shell

* fix dispalyname property
2019-07-11 17:33:15 +01:00
Silviu Popa
43f08441cd [ADF-4705] - Automate forms checkbox widget (#4881)
* [ADF-4705] - Automate forms checkox widget

* Move methods to a demo-shell page

* Adding 3 new tests
2019-07-01 11:33:34 +01:00
Alexa Fabian
725cf22956 'Testing' Moved Upload Actions to shared testing package (#4616)
* 'Testing' Moved Upload Actions to shared testing package

* Updated Upload Actionswith suggested changes

* Failing tests updated

* Resolving merge conflicts

* updating latest merge conflicts

* resolved merge conflicts

* update to fix previous issues with this.

* testing changes

* fix for failed travis test

* updates to fix failing travis test

* fixes file path error

* latest fix for failing travis test

* latest fix for failing travis test

* Fixing undefined rootPath

* fixes timing issues in content-services travis test

* resolves requested changes
2019-06-17 15:07:25 +01:00
davidcanonieto
334ebd1256 [ADF-4338] Add locale to CardViewDateItemModel and improve logic of LocalizedDat… (#4845)
* Add locale to CardViewDateItemModel and improve logic of LocalizedDatePipe

* Fix e2e tests

* Fix e2e tests

* Fix C305010 test
2019-06-14 17:26:08 +01:00
Eugenio Romano
5e54cd4d43
Increase timeout and modify login async (#4795)
* increase timeout and modify login async

* run e2e if testing is changed

* improve cdk fix

* fix travis update projects

* disable ghostMode lite server

* lint fix

* fix timeout

* multiple try

* Update content-services-e2e.sh

* Update search-e2e.sh

* Update process-services-e2e.sh

* Update core-e2e.sh

* Update protractor.conf.ts

* fix unit

* remove async

* increqase notification time

* 3 parallel

* dix path issue in save

* small refactor protractor ts

* fix save

* create license check first script adf cli

* modify regex check

* refactor notification history component

* decrease notification

* fix notification message problem

* fix test

* update packages wit high risk

* revert cahnge login sso e2e

* fix dep

* fix documentation duplication and issue

* fix after review

* fix after review

* try 6 parallel test

* back to 3 parallel test no real time improve with 6
2019-06-06 16:47:50 +01:00
davidcanonieto
b19646d201 [ADF-4232] Fix filePreviewPage methods to reach expectations (#4668)
* [ADF-4232] Fix filePreviewPage methods to reach expectations

* [ADF-4232] Implement new methods

* Fix word spelling

* [ADF-4232] Fix e2e test and rebase

* Rebase branch

* [ADF-4232] add test for reset zoom check

- remove un-reached expects from filePreviewPage

* [ADF-4232] better naming - review changes

* [ADF-4232] no sleep(s), more timeout

* [ADF-4232] some code clean up

* [ADF-4232] some code clean up

* [ADF-4232] refactoring - renaming

* [ADF-4232] refactoring

* [ADF-4232] refactoring move expects to test - code review changes

* [ADF-4232] remove unused methods

- these already exist on viewerPage.ts

* [ADF-4232] remove duplicated code

- use viewerPage instead of filePreviewPage

* [ADF-4232] reset to original timeout in afterAll
2019-06-03 14:24:53 +01:00
Eugenio Romano
b91a942aa1
Multiple option env file (#4788)
* multi configuration file enabling

* improve ignore

* update i18n tool dep

* update webbpack bundle analyzer version

* fix ps cloud test wait setting

* fix script content

* remove use of testconfig for browser options

* convert protractor to ts

* download browser util fix
2019-05-30 11:15:15 +01:00
Marouan Bentaleb
5e7aabfaea [ADF-4547] Fixing flaky tests in Content Services and Core (#4743) 2019-05-22 14:57:20 +01:00
cristinaj
339a6e7a18 [ADF-4587] Fix e2e tests (#4757)
* Fix user_info test

* Removing duplication and hardcoded protocol

* Fix linting and update script

* Removing hardcoded protocol

* Add protocol to scripts

* Fix C260117

* Enable screenshots for cloud tests

* Update process-services-cloud-e2e.sh
2019-05-22 10:15:12 +01:00
Denys Vuika
8985319f15
disable flaky e2e test 2019-05-13 15:43:08 +01:00
Denys Vuika
cecc13093d disable flaky tests 2019-05-13 13:48:34 +01:00
Eugenio Romano
898e3b5a80
[no-issue] Parallel run e2e and e2e common action refactoring (#4702) 2019-05-13 04:44:35 +02:00
gmandakini
2edee23bdd automated ADF-4198 - Escape key doesn't work to close the user profile dialog. (#4671) 2019-04-30 14:51:29 +01:00
gmandakini
f24245aa23 C307984 automated (#4657) 2019-04-26 17:22:22 +01:00
Marouan Bentaleb
9297c63a21 [ADF-4407] Automate test for user without permission redirection (#4612) 2019-04-26 02:37:14 +01:00
Cilibiu Bogdan
3b83539b13 [ADF-4227] Sidenav Layout - support direction (#4583)
* basic ui direction service

* direction property

* demo shell integration

* move the direction in up sidenav layout to allow also the header to reorganize
use the configuration editor to change rtl ltr
add documenation

* Update app.component.html

* fix unit tests

* fix overlay viewer e2e

* fix e2e
2019-04-25 00:48:41 +01:00
Eugenio Romano
5c67547fd6 move metadata test in content service where they has to be 2019-04-23 00:01:30 +01:00
cristinaj
b58e040d7e [ADF-4394]Add two more tests on copyContent (#4630)
* Add two more tests

* Update data-table-component.page.ts

* Fix lint issues
2019-04-22 23:43:56 +02:00
gmandakini
e85b57876e Added a new LocalStorageUtil and using the setConfigMethod to set the local storage variables (#4575)
* added a new LocalStorageUtil and using the setConfigMethod to set the localstorage variables, instead of using hte settings ui page.

* linting fix

* fixing import paths

* update new path LocalStorageUtil

* fix problems after rebase

* fix async loadin and clear

* local storage fix

* fix lint

* fix cs tests

* fix tag navigation and rename file appNavigation to processTabNavigation

* fix lint

* fix process test

* fix lint

Signed-off-by: Eugenio Romano <eugenio.romano@alfresco.com>

* fix start process cloud

* inc timeout
2019-04-22 00:42:59 +02:00
davidcanonieto
8395b0baa5 [ADF-4219] Multivalue Metadata Card View (#4600)
* [ADF-4219] Multivalue Metadata  Card View

* [ADF-4219] Add documentation

* [ADF-4219] Improve code, docs and tests

* [ADF-4219] Fix e2e tests
2019-04-17 18:04:27 +02:00
cristinaj
bcdfcee397 [ADF-4390]Added copyContent datatable cell tests (#4614)
* Modified data-table page on demo-shell to make copyClipboard possible to test

* Add a new page in demo-shell.
Add copyContent automated tests.
2019-04-17 12:10:36 +02:00
Cilibiu Bogdan
36ce9bce0d [ADF-4400] Versioning - restore does not update the document list (#4605)
* emit NodeInfo data on restore

* update row data and cache on node update event

* tests

* fix metadatat e2e
2019-04-16 11:59:37 +02:00
Eugenio Romano
b806556453
[no-issue] improve e2e timeout and names apps (#4604)
* fix sso, change timeout, parallel

* cange travis

* split viewer test

* timeot fix

* move name apps in resources file

* resources fix

* resources fix

* fix search default

* fix sso test

* fix test
2019-04-15 01:01:47 +02:00
Eugenio Romano
5c345c56bc
[no-issue] ban env (#4595)
* ban env

* ban env

* Update protractor.conf.js

* Update test-e2e-lib.sh
2019-04-12 10:16:28 +01:00
Marouan Bentaleb
1eea972d6c [ADF-4373] Automation test for accurate error messages (#4581) 2019-04-10 16:50:46 +01:00
Eugenio Romano
ce0775c525
[ADF-4191] fix viewer test and move error and pagination page (#4569)
* split viewer test

* move pagination in testing share pkg
move error in testing share pkg

* fix import
2019-04-09 12:26:10 +01:00
Vito
3f2af4cc03 Exporting base login page (#4483)
* Exporting base login page for e2e tests

* fixed exporting and renamed pages as per standards

* Added base login page to testing package

* Fixed wrong import for the setting page

* Removed old pages and using the one in the adf-testing package

* fix after merge conflict

* fix base url param
2019-04-02 23:44:36 +01:00
Eugenio Romano
f46c848308
Move process cloud page int @alfresco/adf-testing (#4540)
Move datatable @alfresco/adf-testing
2019-04-02 15:36:58 +01:00
davidcanonieto
b60e9a7c6e [ADF-4298] Improve Info drawer e2e tests (#4532)
* [ADF-4298] Improve Info drawer e2e tests

* [ADF-4298] Add new tab with single icon and update e2e tests
2019-04-02 12:00:27 +01:00
Eugenio Romano
3943eeb8b2 fix lint 2019-03-29 16:17:47 +00:00
davidcanonieto
31280baeef [ADF-4298] Add e2e tests for info drawer (#4506)
* [ADF-4298] Add e2e tests for info drawer

* Update info-drawer.component.e2e.ts

* Update info-drawer.component.e2e.ts
2019-03-29 16:17:44 +00:00
Eugenio Romano
b35fb4df93 Merge branch 'development' into next-release-3.2.0 2019-03-29 16:17:03 +00:00
Eugenio Romano
18bf2c58c2 add logout sso redirect e2e 2019-03-27 20:08:51 +00:00
Denys Vuika
e75335a06d [ADF-3794] Update individual rows without reloading DocumentList (#4213)
* reload table cells on node updates

* update unit tests

* update dynamic columns

* fix value type

* fix tests

* update code as per review

* update variable name

* test fixes, core automation service

* fix test
2019-03-27 11:38:37 +00:00
gmandakini
4376d357ac [ADF-3962] sso download directive automated (#4452)
* sso download directive automated

* temp changes

* temp changes

* moving of services under lib testing and ADF-3962 automated

* removed the browser sleep

* cspell and linting fixes.

* codacy improvements

* export public-api update

* remove circular dep

* remove circular dep

* fixes

* fix user info test

* fix datatable

* random commit

* move other string

* fix lint

* fix lint

* fix prolem type

* fix failing test

* fix tag test

* fix problems after rebase

* fix lint

* remove space

* remove visibility method duplicated
2019-03-27 09:57:26 +00:00
Denys Vuika
a7a48e8b2b enable prefer-const rule for tslint, fix issues (#4409)
* enable prefer-const rule for tslint, fix issues

* Update content-node-selector.component.spec.ts

* Update content-node-selector.component.spec.ts

* fix const

* fix lint issues

* update tests

* update tests

* update tests

* fix code

* fix page class
2019-03-27 09:55:30 +00:00
cristinaj
77bad96d0d [ADF-4226]Adding tests for infinite pagination. (#4428)
* Adding tests for infinite pagination.

* sustitute function

* remove wrong file

* Remove a check

* Fix after rebase
2019-03-24 23:20:18 +00:00
Eugenio Romano
814bd46d5b fix aspect test 2019-03-20 02:10:24 +00:00