253 Commits

Author SHA1 Message Date
Sushmitha V
615d639241
[ci:force][AAE-7062] Fixed failing e2e tests (#7462) 2022-01-24 10:49:07 +01:00
MichalFidor
75adf217d1
[AAE-6742] Create E2Es for dropdown search capability (#7425)
* AAE-6742 Create E2Es for dropdown search capability

* Change protractor elementFinder to TestElement class in dropdown-widget.page.ts
2021-12-15 08:43:39 +01:00
MichalFidor
213455e060
AAE-6348 E2E for multiselect dropdown (#7376)
* AAE-6348 E2E for multiselect dropdown
2021-11-19 08:55:58 +01:00
Sushmitha V
0270608bb0
[ADF-5405] Resolved process-filters action buttons disabling/enabling… (#7140)
* [ADF-5405] Resolved process-filters action buttons disabling/enabling issue

* Changes done as per comments on PR

* Added unit tests

* Changes done as per the comments on PR

* Fixed the failing e2es

* Fixed linting

* REsolved build failure

* Resolved failing e2e tests

* Resolved lint errors
2021-10-21 10:54:04 +05:30
MichalFidor
1e62b46060
[ADF-5463] Rework Protractor tests - changes related to element/element… (#7284)
* ADF-5463 Rework Protractor tests - changes related to element/elements and duplication of locators

* Fix one which I missed

* Remove console.logs

* Remove console.logs

* Reverse the timeouts

* Fixed things TSLint

* Remove unused import

* Fixed broken tests

* Last test fixed
2021-10-08 17:28:37 +02:00
arditdomi
7f7b61bda1
[ACA-4479][ACA-4480] - Enable Save button when the form is invalid (#7131)
* [ACA-4479][ACA-4480] - Enable Save button when the form is invalid

* Add a unit test for form cloud

* Fix e2e
2021-06-29 14:36:19 +01:00
Popovics András
1ecc14f184
Refactor e2e's ApiService (#7101)
* Refactor e2e's ApiService

* Fix bits here and there

* [ci:force] Remove unused imports

* [ci:force] Extract shared part from adf-testing

* [ci:force] Extract StringUtils as well

* Make protractor's Logger not have duplicated code

* [ci:force]
2021-06-19 23:03:17 +02:00
Eugenio Romano
558056b05c
test if we can remove compatibility (#7064)
remove compatibility
2021-06-10 14:38:12 +02:00
Cristina Jalba
6400fd6ba8
[ACA-4474]Add isStartProcessButtonEnabled method
* [ACA-4474] Add isStartProcessButtonEnabled method

* Refactor tests

* Fix lint error

* Refactor isStartProcessButtonEnabled method

* Fix startProcessWithProcessDefinition method

* Fix tests

* no message

* Fix isStartProcessButtonDisabled method

* Exclude failing e2e
2021-06-08 18:58:11 +03:00
Eugenio Romano
9e0000a307
disable w3c due getValue problem (#7067)
* [ci:force]disable w3c due getValue problem

* unify get Input value

* [ci:force]fix

* [ci:force] remove

* [ci:force]remove all getAttribute

* fix lint

* fix lint

* fix

* fix

* fix

* fix

* different fix try

* rewrite wait for for value

* fix lint

* remove e2e already covered by unit

* fix lint

* fix
2021-05-28 18:08:49 +01:00
Cristina Jalba
12c3fec51a
e2e: Improve cloud custom filters
* Improve cloud custom filters
2021-05-25 16:30:54 +03:00
arditdomi
bd96dfddde
[ADF-5387] - Fix dropdown tests, remove call to external API (#7044)
* [ADF-5387] - Fix dropdown tests, remove call to external API

* Update simpleapp

* Re-include test

* Fix comment

* Fix lint errors
2021-05-21 22:01:02 +02:00
Cristina Jalba
a5e85b44f8
[ACA-4458]Add expand cloud custom filter method
* [ACA-4458]Add expand cloud custom filter method

* Fix comment

* Rename method

* Fix comment

* Fix comment
2021-05-20 18:56:08 +03:00
Cristina Jalba
cdaad8ebf1
[ADF-5374]Fix flaky filters tests (#6894)
* Check Travis

* Try with sleep

* Add more sleep and logs

* no message

* Fix

* no message

* no message

* Remove sleep
2021-04-06 14:36:31 +01:00
Cristina Jalba
09834a1a70
[ACA-4337]Move APW tests: claim/release standalone task, json widget
* Move APW tests: claim/release standalone task, json widget

* Modify the form id

* Fix lint

* Fix lint

* Change test rail id

* no message
2021-03-25 10:27:19 +02:00
Eugenio Romano
cd915b307b
Remove demo shell test and make cloud a bit more stable (#6781)
* remove demo shell test and make cloud a bit more stable

* fix lint

* Update restore-content-directive.e2e.ts

* Update restore-content-directive.e2e.ts

* Update restore-content-directive.e2e.ts

* try fix attach

* Update .travis.yml

* sleep...

* remove about e2e demo shell....

* fix

* lint fix

* configure

* refactor buuild

* names and remove demo shell build from libs

* fix new build approach

* fix

* fix

* .

* uncomment

* .

* .

* fix

* fix

* .

* fix

* lock update

* fix demo shell errors

* use replay subject

* fix some console log error

* suffix problem

* split process e2e

* not need to check everywhere the pagination e2e

* split content

* fix

* fix

* fix

* fix

* reorg

# Conflicts:
#	.travis.yml
2021-03-17 15:17:46 +00:00
Vito
76c7825f40
Check if the test will run (#6779) 2021-03-04 14:38:01 +01:00
davidcanonieto
717f928d1c
[ACA-4299] Fix C593066 e2e test - task counter (#6741) 2021-02-26 14:44:20 +00:00
davidcanonieto
e96491fe25
[ACA-4299] Add e2e tests for task counters and notifications (#6726)
* [ACA-4299] Add ete tests for task counters and notifications

* Fix unit test

* Fix update for indirect counter changes
2021-02-26 08:57:27 +01:00
Denys Vuika
63969d65e7
[AAE-3992] Process Filter bug fixes and improvements (#6599)
* bug fixes

* bug fixes

* bug fixes

* cleanup tests

* travis workaround

* travis workaround

* travis workaround

* travis workaround

* travis workaround

* travis workaround

* Revert "travis workaround"

This reverts commit b67efccfb0aab8c7f6b9235d01525487771b8123.

* Revert "travis workaround"

This reverts commit 448f4e6d1211771e914f35183860af6df3452c16.

* Revert "travis workaround"

This reverts commit 542fae649c0501a9150ccac2e5a2cd54ee39a690.

* Revert "travis workaround"

This reverts commit 12f58568fbb0f8d2defb4c21a3ab1683bc8aa312.

* Revert "travis workaround"

This reverts commit b0ffef3bee0f81faf6088be8b5c2b072ad2762e7.

* Revert "travis workaround"

This reverts commit c6d95a2ff3b38b543fea83d3fc53016ac657b3bb.

* service fixes

* remove junk tests

* code fixes

* reduce code complexity

* update e2e

* update e2e

* fix i18n

* e2e fixes

* bug fixes

* rebase and fix

* properly serialize query params

* rework process filters demo

* remove dead code

* code fixes

* code fixes

* e2e improvements

* fix bug and remove e2e testing a bug

* bug fixes for date ranges

* fix e2e

* fix unit test

* reusable code

* fix flaky e2e

* fix angular cli version

* remove useless e2e (already tested by unit tests)

* remove useless e2e (already tested by unit tests)

* demo shell fixes

* remove fit

* disable flaky test

* update code as per review suggestions

* fix after rebase

* fix after rebase
2021-02-23 16:58:31 +00:00
arditdomi
76ac996c48
[AAE-3326] Content node selector - sort files by createdAt desc by de… (#6674)
* [AAE-3326] Content node selector - sort files by createdAt desc by default

* Fix process custom filter cloud e2e
2021-02-16 15:16:06 +00:00
Cristina Jalba
60c1ea9fe6
[ACA-4265]Refactor attachFileFromLocal method
* Refactor attachFileFromLocal method
2021-02-07 11:18:10 +02:00
Denys Vuika
c9705b06d5
TestElement prototype to greatly reduce e2e coding time (#6525)
* TestElement prototype

* introduce byText wrapper

* extend TestElement api

* cleanup tests a bit more

* cleanup e2e

* more e2e cleanup

* add missing CSS classes

* fix test
2021-01-15 11:31:45 +00:00
Denys Vuika
f8526c4dc0
[AAE-4379] i18n fixes (#6515)
* add missing translations

* add missing translations

* fix unit tests

* reduce overhead

* update e2e

* update e2e

* cleanup e2e

* cleanup e2e

* cleanup e2e

* update e2e

* update e2e

* update code

* update code

* update code

* update code

* code fixes

* code fixes

* code fixes
2021-01-11 09:30:45 +00:00
Alexandra Abrudan
87f60a5b72
[AAE-3472] e2e service task (#6460)
* [AAE-3472-adf] added e2e service task test

    fixed spell-check & re-included C311290

* added super admin as user

* spellcheck disabled for superad

* improved steps

* simplified & used API method

* disabled check spell for a line
2021-01-07 10:44:26 +00:00
Eugenio Romano
1c51b2a1a6
Use hash strategy in demo shell as the other apps (#6402)
* hash startegy

* use hash in e2e

* trigger build

* fix

* fix

* remove children router overwrite crazynes

* Update login.module.ts

* revert not needed changes

* some fixes

* fix

* remove fdescribe

* fix

* fix

* Update share-file.e2e.ts

* Update lock-file.e2e.ts

* Update share-file.e2e.ts

* some fix

* some other fixes

* username as id

* fix after rebase

* username

* fix usernamee

* Fix the errorComponent

* Attempt to fix unit test - to check

* * Fixed circular dependency error while building adf-testing package

* * Fixed failing UT

* fix

* use username

* some fixes

* some fix

* fix

Co-authored-by: Maurizio Vitale <maurizio.vitale@alfresco.com>
Co-authored-by: Vito Albano <vitoalbano@vitoalbano-mbp-0120.local>
Co-authored-by: sivakumar414ram <siva.kumar@muraai.com>
2020-12-16 18:46:56 +00:00
Silviu Popa
f39997b98b
[AAE-3638] - update priority option (#6423) 2020-12-04 17:42:34 +00:00
Silviu Popa
f73dece82d
[AAE-4077] - TaskCloud: Refactor priority (#6385)
* [AAE-4077] - TaskCloud: Refactor priority

* export default priority values

* Fix e2e tests

* fix navigation from task-list

* Update task-list-properties-sort.e2e.ts

* Fix lint

Co-authored-by: Cano <david.cano.nieto@gmail.com>
2020-11-26 17:38:40 +00:00
Silviu Popa
f0e8cd98e5
[AAE-3638] - implement priority drodpown widget (#6351)
* [AAE-3638] - implement priority drodpown widget

* refactor task cloud service function

* fix remove value on card view text item and move priorities values in app.config.json

* revert app config unnecary changes

* PR changes

* fix unit test

* fix more unit tests

* PR changes

* create task cloud response model

* remove commented code

* fix e2e

* fix start task e2e and add return type
2020-11-18 11:25:21 +00:00
Eugenio Romano
fca378a12b
move users in the users object to make loginWithProgile general purpose (#6270)
* move users in the users object to make loginWithProgile general puropose

* add loginProfile in login page too

* fix

* fix

* fix

* fix

* fix

* fix

* more fix

* fix

* fix

* fix

* change

* fix script

* fix
2020-10-26 17:46:54 +00:00
Silviu Popa
1f163d58ec
[ACA-3706] implement startedBy process filter property (#6077)
* [ACA-3706] implement startedBy filter property

* fix lint

* [ACA-3706] implement startedBy filter

* replace initiator with people cloud component

* small changes

* fix user selection mode

* revert unnecesary change

* fix e2e

* fix process filter e2e tests

* fix more e2e

Co-authored-by: Silviu Popa <p3701014@L3700101120.ness.com>
2020-10-23 11:33:03 +02:00
Denys Vuika
217ae445c6
improved e2e login api (#6248)
* improved e2e login api

* throw error on missing profile
2020-10-16 07:30:43 +01:00
dhrn
c75896e1eb
[ADF-5261] Fix excluded flaky tests C297689, C297690 (#6212)
* [ADF-5261] Fix excluded flaky tests C297689, C297690

* * fixed test
2020-10-05 12:42:48 +01:00
Eugenio Romano
04f5fdffd7
[ADF-5263] Empty page displayed all the time when load content fix (#6209)
* Make test run on API update
Improve create librrary test

* Fix empty page displayed always first

* remvoe console

* fix

* fix

* lint

* fix

* fix

* fix

* fix

* fix
2020-10-05 00:26:56 +01:00
Silviu Popa
7ed02f6716
[ACA-3010] - Process/Task Cloud fix wrong date range (#6192)
* [ACA-3010] - Process/Task Cloud fix wrong date range

* fix e2e

* fix unit test and disable false positive e2e tests

Co-authored-by: Silviu Popa <p3701014@L3700101120.ness.com>
2020-10-01 12:10:15 +02:00
Eugenio Romano
3f1a9f4853
Test improve (#6146)
* fix

* fix datatable wait method

* slow down isEmpty check

* fix

* fix

* fix
2020-09-23 13:32:27 +01:00
davidcanonieto
e351925e8f
Fix C291954, C291955, C291993 and C291995 (#6149)
Co-authored-by: Eugenio Romano <eromano@users.noreply.github.com>
2020-09-22 18:53:58 +01:00
davidcanonieto
636da03eca
[ADF-5245] Fix C297478, C297485 and C297472 (#6147) 2020-09-22 17:03:11 +01:00
Silviu Popa
2d0b09f3e4
[ACA-3722] - rename process name sort option (#5931)
* [ACA-3722] - rename process name sort option

* rework unit test

* remove unnecesary property

* fix e2e

* PR changes

* fix e2e

* fix e2e

* fix e2e

Co-authored-by: Silviu Popa <p3701014@L3700101120.ness.com>
2020-09-22 12:14:37 +01:00
Eugenio Romano
46ccda68b3
[ADF-5235] Facet fix and improve search test (#6122)
* improve search test

* fix

* fix

* fix

* changes

* modify

* logout public URL

* improve stability some e2e

* fx lint

* fix

* fix

* improve

* fix

* improve

* fix

* fix

* fix

* fix [skip ci]

* fix

* some fix [skip ci]

* fix

* fix lint

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* convert C291893 in manual test case in testrail

* fix

* fix
2020-09-21 09:35:01 +01:00
Eugenio Romano
a630cfb390
Fix e2e (#6087)
* fix protractor conf

* remove update env

* fix cli error script cs

* change screenshot plugin

* remove unused param

* fix

* fix

* fix

* moment comment nvm

* fix

* fix

* fix

* fix

* remove adf redirect

* fix

* fix

* save remote report

* report fix

* improve save result

* fix folder save

* fix folder save

* fix placeholder pointer , they needs refactor later

* fix

* fix lint

* fix

* remove test already covered by unit
fix the test in core needed
exclude the one impossible to make it works without APS basic support

* lint

* fix some logout missing

* fix

* Fix the custom-tasks-filters.e2e

* fix lint

* fix

* fix

* fix

* Fix wait on start process  and on process definition options

* Fix logout before login again

* fix uplaod test

* fix

* Fix infodrawer with check detail and sleep

* lint

* increase list of excluded test

* fix

* fix lint

* change wait method datatable

* fix

* fix

* revert check value

* fix

* fix

* change tag test

Co-authored-by: maurizio vitale <maurizio.vitale@alfresco.com>
2020-09-04 13:27:55 +01:00
Cristina Jalba
ff8cfb1d05
Improve attach file widget PO (#5973)
* Improve attach file widget

* Fix import

* Fix import

* no message
2020-08-11 13:45:48 +01:00
Cristina Jalba
7b7c996fab
Fix process-task-attach-content-file-cloud.e2e.ts afterAll (#5963) 2020-08-08 10:09:46 +01:00
Cristina Jalba
5bd012deef
[AAE-3214]Improve process-task-attach-content-file-cloud.e2e.ts (#5948)
* Improve process-task-attach-content-file-cloud.e2e.ts

* Exclude this test until the simpleapp zip is merged

* Travis is not working
2020-08-05 09:01:39 +01:00
Cristina Jalba
732a34f69b
[AAE-3209]Fix e2e about attach file from local (#5944)
* Fix attach file from local

* Exclude test

* no message

* Change hruser to new user

* Use hruser

* no message
2020-08-04 13:58:42 +01:00
Cristina Jalba
dc912aea5b
[AAE-3177] Fix tests that are using attach file widget (#5939)
* Fix few tests with alfresco content type

* Fix start-task-form-cloud suite: make tests independent

* no message

* Add new candidatebaseapp.zip - fix attach file widget with alfresco content & local type to have destination folder empty

* Fix json
2020-08-01 23:07:41 +01:00
Petruta Bogdana Patrichi
1e8c146ab2
[ACA-3795] E2E test to validate Delete Save and Save as actions should be displayed and enabled when clicking on custom filter header (#5930)
* Add createNewProcessCustomFilter() method in edit-process-filters-component.e2e.ts

Co-authored-by: Petruta Bogdana Patrichi <petrutabogdana@gmail.com>
2020-07-31 09:34:30 +01:00
Petruta Bogdana Patrichi
e987fba5af
[ACA-3731] E2E test to validate Save, Save as and Delete buttons availability on custom filters (#5929)
* [ACA-3731] E2E test to validate Save, Save as and Delete buttons availability on custom filters
* Add createNewCustomFilter() method in edit-task-filters-component.e2e.ts

* * Added the return type promise

Co-authored-by: Petruta Bogdana Patrichi <petrutabogdana@gmail.com>
2020-07-30 14:51:54 +01:00
Mercy Chrysolite
8d43155c14
[ACA-3678] Disable save & delete buttons for default process filters (#5896)
* [ACA-3678] Disable save & delete buttons for default process filters

* Added unit test

* Added types for params

* Updated e2e

* Updated test
2020-07-26 22:13:18 +01:00
Mercy Chrysolite
ef73d812c4
[ACA-3751] Disable save & delete buttons for default task filters (#5897)
* [ACA-3751] Disable save & delete buttons for default task filters

* Added unit tests

* Added param types

* Updated e2e

* Updated e2e title
2020-07-26 22:12:45 +01:00