958 Commits

Author SHA1 Message Date
Marouan Bentaleb
649e6c6d22 Stabilizing tests for Search - Multiselect (#3760) 2018-09-10 10:53:13 +01:00
Marouan Bentaleb
89cf47318f Fixing tests for Search Page (#3759) 2018-09-10 10:42:11 +01:00
Marouan Bentaleb
49a3749167 Fixing tests for Notifications component (#3758) 2018-09-10 09:55:46 +01:00
Marouan Bentaleb
7fd3ffcf3f Fixing failing tests for Document List - Actions (#3755) 2018-09-10 09:53:37 +01:00
jdosti
6745f19d99 Providing a fix for task list failing tests (#3754) 2018-09-08 19:40:31 +01:00
Eugenio Romano
c6f56a2c2a
Improve build stages (#3744)
* travis precache

* rb change

* remove ut

* add cache warm up

* Prepare cache fix

* add test

* use env variabble to tag

* use env to label stages

* move lint step at start

* use dist for e2e

* upload dist in alfresco

* modify permissions

* travis script node

* remove polyfills

* revert some changes

* fix demo shell run test

* solve download

* revert debatable gallery change
2018-09-05 12:40:03 +01:00
Eugenio Romano
4f16c25293 rename version test describe e2e 2018-08-14 15:43:18 +01:00
Cilibiu Bogdan
4404b724fa [ADF-3456] DocumentList - context menu (#3694)
* refactor context menu

* prune log

* remove fdescribe

* remove undescore from private

* fix e2e action buttons

* fix trailing space

* remove fdescribe
2018-08-14 15:43:15 +01:00
Eugenio Romano
83b2857097 [ADF-2629] Fix infinite pagination and e2e parallel task (#3691)
* change infinite pagination logic
make merge in share adapter a real merge

* missing semi column

* type problem

* fix pagination infinite test

* tentative file detector

* add other remote files for webdriver

* parallel execution test

* fix refresh browser e2e

* missing driver remote in util
2018-08-14 15:43:13 +01:00
Eugenio Romano
ff732dcdca stabilize PS e2e 2018-08-14 15:43:09 +01:00
Suzana Dirla
6f313b7c37 [ADF-3435][ADF-3436] fix search chips (#3681)
* fix chip list remove

* fix tests

* better find criteria

* swap to fix e2e test

* set 'expanded' for facetFields from config

* fix e2e test

* remove comments
2018-08-14 15:43:04 +01:00
Vito
fdde0257d8 [e2e] Added document list actions [E2E] (#3676)
* [e2e] Added document list actions e2e 1

* [e2e - actions] added another test
2018-08-14 15:43:01 +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
davidcanonieto
6cf6c9c0e4 [ADF-3335] Task filter e2e tests (#3614)
* [ADF-3335] Automation Tests for Tasks Filter component

* [ADF-3335] Changed " for \'

* [ADF-3335] Solved style issues

* Update task_filters_component.e2e.ts

* [ADF-3335] Added missing parentheses

* [ADF-3335] Added missing bracket

* [ADF-3335] Improved data automation selectors
2018-08-14 15:42:54 +01:00
Eugenio Romano
7172d5b631 E2E test default properties (#3671) 2018-08-14 15:42:54 +01:00
marouanbentaleb
dc797feacb [ADF-3284] ProcessFilter - the method ngOnChange doesn't check the property filterParam (e2e) (#3660)
* E2E for process filters urls

* Putting the test in an existing spec
2018-08-14 15:42:53 +01:00
Eugenio Romano
e2282d8aa2 make tag test fater 2018-08-14 15:42:52 +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
Eugenio Romano
5b0b6e83bc fix broken test after correction i18n 2018-08-14 15:42:49 +01:00
jdosti
15190d7ec9 [ADF-3414] Create automated test for Attach form component (#3665) 2018-08-14 15:42:47 +01:00
marouanbentaleb
68779e0426 E2E for multiselect facet search (#3657) 2018-08-14 15:42:44 +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
17074478e2 [ADF-3421] Changed Test Rail IDs (#3654) 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
Vito
05da97d3b9 [ADF-3336] added more tests for Document list component (#3635)
* [ADF-3336] start adding test for documentlist

* [ADF-3336] fixed test for permission message

* [ADF-3336] start adding test custom column type

* [ADF-3336] - added documentlist tests - PART I

* [ADF-3336] removed fdescribe

* [ADF-3336] fixed error on files component

* [ADF-3336] - unified all the diverging tests into one file

* [ADF-3336] fixed label for test

* [ADF-3336] removed fdescribe

* [ADF-3336] added sorting tests and some fix

* [ADF-3336] added other automations

* [ADF-3336] stabilising some flaky tests

* [ADF-3336] added line height check

* [ADF-3336] Test that needs to be fixed

* [ADF-3336] commented failing search tests

* [ADF-3336] removed locator from test and added to page object

* ]
[ADF-3336] rebased after last changes on development

* [ADF - 3336] added more test and actions for the test

* [ADF-3336] reenabled disabled tests

* [ADF-3336] reenabled disabled tests

* [ADF-3336] reenabled disabled tests

* [ADF-3336] reenabling disabled tests

* [ADF-3336] fixing process service integration tests

* [ADF-3336] removed comments and skipped two tests

* [ADF-3336] added thumbnails tests

* [ADF-3336] added tooltip documentlist tests

* [ADF-3336] added tooltip tests

* [ADF-3336] added gallery view tests

* [ADF-3336] removed comment

* [ADF-3336] fixed selectors and check for document list test
2018-08-14 15:42:39 +01:00
jdosti
7173a620de [ADF-3407] Create automated tests for comments - Content Services (#3638) 2018-08-14 15:42:37 +01:00
davidcanonieto
357e09689b [ADF-3388] E2e tests for notification component added (#3630)
* [ADF-3388] E2e tests for notification component added

* [ADF-3388] Added missing function
2018-08-14 15:42:35 +01:00
jdosti
689c7711df [ADF-3399] Create automated tests to cover Header component (#3633) 2018-08-14 15:42:35 +01:00
cristinaj
21b6783e23 Create automated tests for checklist and people components (#3632) 2018-08-14 15:42:34 +01:00
Cilibiu Bogdan
f36f9fa862 [ADF-3374] Comments - add/view multiline comments (#3607)
* multiline comment

* add comment e2e

* fix locator syntax

* lint

* clear textarea on ESCAPE event

* multiline comment

* add comment e2e

* fix locator syntax

* lint

* clear textarea on ESCAPE event
2018-08-14 15:42:34 +01:00
Vito
61dff96e8b Stabilize tests (#3626)
* Stabilize tests

* Added more test fixing to metadata test
2018-08-14 15:42:34 +01:00
jdosti
803838c276 [ADF-3370] Create automated tests for process filters - sorting (#3605)
* [ADF-3337] Creation of automated test for new filters

* [ADF-3370] Create automated tests for process filters - sorting

* Removing the fdescibe

* Removing spaces

* Removing too many characters from a single line

* Removing fdescribe

* changes on the loginPage.js file

* Moving tests to the right folder

* Adding back the chnages on appNavigationBarPage
2018-08-14 15:42:33 +01:00
jdosti
91eb4f8520 [ADF-3377] Create automated tests for comments-Tasks (#3624)
* [ADF-3376] Create automated tests for comments - Process services - Process

* [ADF-3377] Create automated tests for comments - Process Services

* Updating test for comments - Processes

* Logging in with the user in the afterAll
2018-08-14 15:42:33 +01:00
cristinaj
d056b3decd [ADF-3385] Implementing start task - test cases (#3613)
* Implementing start task - test cases

* Removed syntax error.

* Add data-automation-id for people widget.
2018-08-14 15:42:32 +01:00
Vito
46b1fefce5 Fixed metadata flaky test (#3625) 2018-08-14 15:42:32 +01:00
jdosti
29abd0e22c [ADF-3321] Create an automated test for the Share knowledge functionality (#3623) 2018-08-14 15:42:31 +01:00
Vito
4b79160162 [ADF-3336] - added documentlist tests (#3586)
* [ADF-3336] start adding test for documentlist

* [ADF-3336] fixed test for permission message

* [ADF-3336] start adding test custom column type

* [ADF-3336] - added documentlist tests - PART I

* [ADF-3336] removed fdescribe

* [ADF-3336] fixed error on files component

* [ADF-3336] - unified all the diverging tests into one file

* [ADF-3336] fixed label for test

* [ADF-3336] removed fdescribe

* [ADF-3336] added sorting tests and some fix

* [ADF-3336] added other automations

* [ADF-3336] fixed processButton get

* [ADF-3336] stabilising some flaky tests

* [ADF-3336] added line height check

* [ADF-3336] Test that needs to be fixed

* [ADF-3336] commented failing search tests

* [ADF-3336] removed locator from test and added to page object

* ]
[ADF-3336] rebased after last changes on development

* [ADF - 3336] added more test and actions for the test

* [ADF-3336] reenabled disabled tests

* [ADF-3336] reenabled disabled tests

* [ADF-3336] reenabled disabled tests

* [ADF-3336] reenabling disabled tests

* [ADF-3336] stabilized core tests

* [ADF-3336] fixing process service integration tests

* [ADF-3336] removed comments and skipped two tests
2018-08-14 15:42:31 +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
cristinaj
b015594de6 [ADF-3369] Add toggle for showHeaderContent property (#3603)
* Add toggle for showHeaderContent property

* Add tests for showHeaderContent property
2018-08-14 15:42:26 +01:00
marouanbentaleb
ab9f1c8385 [ADF-3331] Create automated tests for Viewer component - Content Services (#3600)
* Automation tests for Viewer Component - Content Services

* Create remaining automation tests for Viewer Component - Content Services

* Deleting alfresco-ng2-components.iml

* Correcting Viewer Page for failing tests

* Updating Viewer Page for failing tests

* Improving the PR quality
2018-08-14 15:42:25 +01:00
marouanbentaleb
e721c877f2 [ADF-1858] Automation tests for Viewer Component - Content Services (#3587)
* Automation tests for Viewer Component - Content Services

* Automation tests for Viewer component - Content Services

* Deleting alfresco-ng2-components.iml
2018-08-14 15:42:24 +01:00
cristinaj
98243f0450 [ADF-3018] Create automated test for replacing an app (#3572)
* [ADF-3018] Create automated test for replacing an app

* Use await in the test

* Fixing document list pagination test.

* Implemented delete version and delete entire app test cases.

* Added a log.

* Added the api call into protractor control flow.

* Renamed the test cases

* Commented 'Click Audit Log button' test.

* Added some in control flow.

* Changing the test rail ID.
2018-08-14 15:42:22 +01:00
jdosti
192cca63aa [ADF-3025] Create automated test for attachment list for tasks (#3590)
* [ADF-3025] Create automated test for attachment list for tasks

* Remove the f from describe
2018-08-14 15:42:22 +01:00
davidcanonieto
82212ed170 [ADF-2506] Automation test for Empty process list (#3585)
* [ADF-2506] Automation test for Empty process list
2018-08-14 15:42:21 +01:00
Eugenio Romano
2f7e0e6cb6 [ADF-3329] datatable component e2e (#3589)
* datatable component e2e
minor fix tslint

* fix review
2018-08-14 15:42:21 +01:00