225 Commits

Author SHA1 Message Date
Eugenio Romano
6763ecfcb7 fix properties e2e test viewer import usermodel 2018-10-04 16:58:00 +01:00
Eugenio Romano
d19631b0b7 fix e2e test 2018-10-02 21:49:03 +01:00
cristinaj
2e124fdc20 [ADF-3638]Fixing Header tests (#3846)
* Fixing Header tests

* Fix task filters tests
2018-10-02 12:26:41 +01:00
Eugenio Romano
6a546289b7
[no-issue] fix e2e uploader (#3840)
* fix e2e upload
move viewer subbfolder

* fix CS services e2e test

* add log for error in upload delete

* aysnc get node

* new tentative

* attempt 2

* attempt 3

* new demo shell test
travis change for test

* excluded file tslint fix

* remove desktop only class

* renable tests

* decrease time notification

* add process service multiselect demo test
fix e2e

* remove log

* add custom toolbar example
2018-10-02 12:26:13 +01:00
cristinaj
711d51dd1d Add a test for logo text (#3837) 2018-09-27 22:35:45 +01:00
Marouan Bentaleb
5a6d8d8a2a [ADF-3331] Automated tests for Viewer Component (#3615)
* Automation tests for Viewer Component - Content Services

* Deleting alfresco-ng2-components.iml

* Updating Viewer Page for failing tests

* Adding tests for Viewer Component and some minor changes on Viewer Component - Content Services

* Removing some lines used to test

* Automation tests for Viewer component and Viewer component - Integration with Router + minor changes on tests for Viewer Component - Content Services

* Correcting an import + some improvement to the code

* Correcting tests for opening different file extensions

* Removing a console.log I forgot

* Refactoring the test in Viewer Component

* Refacotring using lint

* Adding browser refresh after each file type

* Moving tests to proper folder

* Minor changes

* remove faulty BE files from e2e

* fix test viewer

* fix process service tests

* fix test

* fix process test

* fix lint
timeout decrease

* increase some timeouts to fix CS e2e

* lint fix
2018-09-25 21:58:22 +01:00
Eugenio Romano
897a557afa
[ADF-3332][ADF-3352] Add property e2e test and leftsidebar viewer (#3814)
* new viewer test
left sidebar
fix height width no overlay viewer

* fix lint and failing e2e

* missing semi column

* fix test

* fix template

* documentation
2018-09-21 11:37:40 +01:00
Eugenio Romano
315da933e4 fix lint issue 2018-09-19 15:26:52 +01:00
Eugenio Romano
4fe4a3d3c1 delete files from viewer test
add right testrail to userinfo test
group some CS e2e in folders
2018-09-19 13:21:17 +01:00
jdosti
a67263462c [ADF-3556] Create an automated test to cover sidebar position (#3788) 2018-09-14 12:51:41 +01:00
cristinaj
2a883fca5f Add HTML Reporter (#3757)
* Add HTML Reporter;
Removed parallel execution;
Removed z-finish.e2e.ts tests;
Copy the screenshots and the report to an environment.

* fix report upload and unify folder
2018-09-10 16:02:29 +01:00
Eugenio Romano
1ec85435ba node 10 travis 2018-08-14 15:42:56 +01:00
Eugenio Romano
c089c87630 [no-issue-e2e] directive crete folder new e2e (#3677)
* new folder directive e2e

* fix search test

* fix pr-deploy script
2018-08-14 15:42:56 +01:00
jdosti
9c22c13434 [ADF-3439] Update automated tests for Header component (#3673)
* [ADF-3439] Update automated tests for Header component

* small change

* removing unused import
2018-08-14 15:42:55 +01:00
Eugenio Romano
2e0945b0cc e2e test error page and fix (#3672)
* fix wrong input parameter functionality

* not reload the page to go to the content service page

* navigate instead to reload to go to the process service page
2018-08-14 15:42:55 +01:00
Eugenio Romano
7172d5b631 E2E test default properties (#3671) 2018-08-14 15:42:54 +01:00
davidcanonieto
409acbcc9e [ADF-3372] Added toggle and global configuration to display metadata (#3636)
* [ADF-3372] Added toggle and global configuration to display metadata

* [ADF-3372] Fixed typo in shcema.json

* [ADF-3372] Removed unnecessary variables and variable name changed

* [ADF-3372] Fixed unit test

* [ADF-3372] Improved logic

* [ADF-3372] Improved Metadata component html logic

* [ADF-3372] Demoshell variable from app.config.json removed

* [ADF-3372] fixed bugs and tests

* [ADF-3372] fixed some error in tests

* [ADF-3372] fixed some wrong compilation in test

* [ADF-3372] fixed wrong locator

* [ADF-3372] fixed randomly failing tests
2018-08-14 15:42:49 +01:00
Denys Vuika
6b24bfb1d4 [ADF-3299] and [ADF-3300] upgrade to Angular and Material 6 (#3579)
* upgrade to HttpClient

* upgrade to Renderer2

* upgrade Document reference

* remove useless test with deprecated ReflectiveInjector

* upgrade to latest typescript

* upgrade libs

* upgrade package scripts

* remove rxjs blacklists and duplicate rules

* add rxjs compat to help with migration

* fix breaking changes

* fix breaking changes in material

* fix breaking changes (material 6)

* upgrade rxjs, ngx-translate and flex layout

* update unit tests

* restore providers

* upgrade deprecated Observable.error

* rebase
fix first configuration problems

* fix style issues commented

* fix core build

* fix lib template errors

* move lib test execution in angular.json

* ignore

* karma conf files

* fix import statement test

* single run option

* update packages reporter

* restore report

* increase timeout

* improve karma conf test configuration

* fix test issues about lint

* fix test analytics

* fix process service test

* content service fix test

* fix logout directive test

* fix core test

* fix build

* update node-sass to latest

* update angular cli dependencies

* improve build script

create directorites and move files only if previous command succeded

* upgrade individual libs to 6.0

* remove old webpack files

* revert sass change

* fix type issues
fix style issues

* fix tslint demo shell issue

* fix peerdependencies

* fix test e2e BC

* package upate

* fix style import issue

* extract-text-webpack-plugin beta

* fix test dist build command

* remove alpha js-api

* fix tslint issue
add banner tslint rule

* upload service fix

* change BC script

* fix test dist script

* increase demo shell timeout test

* verbose copy

* path absolute

* fix script bc

* fix copy part

* fix path warning
fix monaco editor

* remove duplicate header

* remove unused import

* fix align and check ago tests

* add missing import

* fix notification button selector

* [ANGULAR6] fixed core tests

* fix CS test

* fix cs test step 2

* increase travis_wait for dist

* fix attachment PS

* fix checklist test

* use pdf min
2018-08-14 15:42:43 +01:00
Eugenio Romano
a12662e7e2 [ADF-3384] Create automated tests for Version Component (#3631)
* fix version component restore and delete event

* version manager actions

* fix test

* fix unit test

* remove fdescribe

* fix tslint

* fix screenshot rewrite problem

* remove fdescribe

* multi instance try

* remove fdescribe

* try uncomment some test

* error page

* fix user preferences pagiantion

* search page test include

* fix type tslint e2e

* restore code

* default lang momentadapter

* fix test

* [ADF-3384] removed console log from test

* [ADF-3384] adding some fixes for tests and code

* [ADF-3384] fixed some test and code
2018-08-14 15:42:42 +01:00
cristinaj
70605c8982 [ADF-3417]Fixing test rail ID's (#3651) 2018-08-14 15:42:40 +01:00
jdosti
689c7711df [ADF-3399] Create automated tests to cover Header component (#3633) 2018-08-14 15:42:35 +01:00
Vito
61dff96e8b Stabilize tests (#3626)
* Stabilize tests

* Added more test fixing to metadata test
2018-08-14 15:42:34 +01:00
Vito
46b1fefce5 Fixed metadata flaky test (#3625) 2018-08-14 15:42:32 +01:00
Eugenio Romano
f74f31741f protractor conf fix 2018-08-14 15:42:29 +01:00
Eugenio Romano
b2cb93468d [ADF-3259] [ADF-3363] e2e login and card metadata (#3612)
* remember me

* add login component e2e test

* add success route test

* add change logo check

* redirect url after logout e2e

* move redirection test in a separate file

* login component tslint

* cardview e2e

* fix login test

* add test case number

* move version test in a separate file

* clean unused elements

* metadata part 1

* tslint fix

* fix metadata test

* remove fit

* fix formatting file viewerPage

* multi propety test

* metadata and login improvements

* fix data automation fix

* metadata permission e2e

* fix tslint problems

* improve selector

* stabilize search component test

* stabilize test step 1

* fix tag test
add config timeout

* tentative

* delay after download

* change meatdata test

* stabilize metadata

* use smaller file for not extension related test

* stabilize test step 2

* exclude failing test

* timeout fix

* split in multiple task e2e

* trick travis

* trigger build

* fix command issue

* fix save screenshot

* fix run subfolder

* test timeout increase
2018-08-14 15:42:28 +01:00