Commit Graph

406 Commits

Author SHA1 Message Date
Maurizio Vitale
9ff1f65841 [AAE-8061] Fix the group restriction for people widget (#7601)
* FIx the restrinction

* Fix unit test about restricted groups

* Add a small sleep to make it green

* Add sleep to other checks

* Remove sleeps, improve assertions

Co-authored-by: MichalFidor <michal.fidor@hyland.com>
2022-04-26 15:29:06 +01:00
Tomasz Gnyp
cad4c41849 [AAE-7818] e2e - Task involved users can access process instance details (#7554)
* [AAE-7818] e2e - Task involved users can access process instance details

* Trigger travis
2022-03-28 16:14:42 +02:00
siva kumar
1c2d9ee830 [AAE-5880] Add Tasks Create, DueDate range testing methods in the testing page (#7549)
* [AAE-5880] Add Tasks Create, DueDate range testing methods in the testing page

* [AAE-5880] fixed process definition name dropdown select

Co-authored-by: Tomasz <tomasz.gnyp@hyland.com>
2022-03-18 12:49:23 +01:00
Tomasz Gnyp
3dc9f7cdfd [AAE-7765] Improved display mandatory form fields (#7531)
* [MNT-22765] Improved display mandatory form fields

* [MNT-22765] added unit tests

* [MNT-22765] fixed test with error icon on rest fail

* Trigger travis

* [MNT-22765] removed underscore from var name

* [AAE-7765] removed underscore from unit test

* [AAE-7765] fixed css lint

* [AAE-7765] fixed e2e error message css class

* [AAE-7765] fixed storybook e2e
2022-03-07 18:29:12 +00:00
MichalFidor
25eaf9d024 [ADF-5470] [E2E Automation] Test cases failing on the newest Chrome b… (#7539)
* [ADF-5470] [E2E Automation] Test cases failing on the newest Chrome browser 98
2022-03-04 16:36:31 +01:00
Bartosz Sekuła
14a777c5d4 [AAE-6345] New start process page APA (#7521)
* [AAE-6345] New start process page APA

* [AAE-6345] Added test

* [AAE-6345] Update

* CR

* Revrite wrapper to component

* Quick fix to e2e

* Show errors as ng-content

* Add Inplace word

* Fix unit tests

* Fix e2e
2022-03-03 20:02:36 +01:00
rafalszmit
75f7360a35 [AAE-7662] attach file modal TabPage selector update - protractor (#7538)
* tab selector update

* trigger travis

* exclude failing test
2022-03-03 18:26:48 +01:00
rafalszmit
5ee4482c60 [AAE-5840] adding selected file counter locator (#7495)
* [AAE-5840] selected file counter locator

* trigger travis
2022-02-10 17:32:19 +01:00
Denys Vuika
765badc721 [AAE-7246] fix eslint warnings for Testing project (#7490)
* fix eslint warnings for Testing project

* fix lint issue
2022-02-08 13:34:56 +00:00
rafalszmit
5b4d49bc0e [AAE-5840] Adding dropdown method needed for e2e test (#7494)
* [AAE-5840] Automate manual test

* trigger travis
2022-02-08 12:41:46 +00:00
Tomasz Gnyp
3205a3da7c [AAE-5869] Added missing methods for e2e's (#7480)
* [AAE-5869] added missing methods for e2e's

* [AAE-5869] use TestElement

* [AAE-5869] added method to display no content container

* [AAE-5869] added method to wait for file properties table

* trigger travis

* [AAE-5869] upgrade simpleapp id of new widget

* trigger travis

* [AAE-5869] upgrade simpleapp

* trigger travis

* [AAE-5869] removed check for table display for file not attached method

* [AAE-5869] fixed string lint

* [AAE-5869] fixed lint error
2022-02-03 16:34:49 +01:00
Denys Vuika
8dc736e8f0 [AAE-7100] migrate ADF projects to eslint (#7483)
* migrate content services to eslint

* migrate insights to eslint

* migrate extensions to eslint

* migrate testing lib to eslint

* migrate CLI to eslint

* migrate process-services to eslint

* migrate process-services-cloud to eslint

* remove cli analytics [ci:force]
2022-02-03 11:01:54 +00:00
arditdomi
3d544beff3 Improve a datatable e2e method (#7470) 2022-01-26 14:06:23 +01:00
MichalFidor
65a5535308 AAE-6757 Improving e2e tests relating to modeling-ee. Part one - improve flaky tests, ProcessModelerComponent (#7412)
* AAE-6757 Improving e2e tests relating to modeling-ee. Part one - improve locators and most flaky tests

* Add custom delay for input text

* trigger travis
2021-12-21 10:44:10 +01:00
Denys Vuika
65a9d2bbfa [AAE-5343] add update person api (#7426)
* add update person api

* fix e2e tests
2021-12-16 11:08:09 +00: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
736b91a65e [AAE-6295] Updated attach-file-widget-cloud.page.ts (#7347)
* [AAE-6295] Updated attach-file-widget-cloud.page.ts

* [ci:force]

* Changes done as per comments on PR

* Changes done as per comments on PR
2021-11-04 09:28:23 +00:00
Sushmitha V
f14d333281 [AAE-6165] Add capability in the Attach File of displaying metadata fields in addition to file name (#7324)
* [AAE-6165] Add capability in the Attach File of displaying metadata fields in addition to file name

* Minor css styling adjustments

* [AAE-6165] Changes done for date datatype and table css

* [AAE-6165] Changes done as per the comments

* [AAE-6165] Changes done as per comments on PR

* Resolved failing lints

* Updated CSS for attach file widget

* Updated css

* Updated UT

* Resolved e2e failures

* Resolved e2e errors

Co-authored-by: amohammedalfresco <abdul.mohammed@alfresco.com>
2021-10-31 23:40:57 +05:30
MichalFidor
ff956461cb [AAE-6170] Improving e2e tests relating to admin-ee. Tests which are flaky or long time execution (#7315)
* AAE-6170 Improving e2e tests relating to admin-ee. Tests which are flaky or long time execution

* Improve selector

* Improve selector

* Improve selector for datepicker
2021-10-26 13:23:47 +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
Thomas Hunter
2ff3298a85 [AAE-5834] Additions to EditProcessFilterCloudComponentPage to facili… (#7256)
* [AAE-5834] Additions to EditProcessFilterCloudComponentPage to facilitate e2es

* [AAE-5834] Add control over started date and completed date dropdown filters

* [AAE-5834] Declarations on separate lines

* [AAE-5834] Add semi colons

* [AAE-5834] Removed Promise<void> implicit type declaration

* Fix lint
2021-10-05 15:47:52 +01:00
arditdomi
df08e36d24 [AAE-5843] - Add e2e method to check the visibility of the upload fro… (#7262)
* [AAE-5843] - Add e2e method to check the visibility of the upload from local tab

* Remove expectation from page method

Co-authored-by: Ardit Domi <arditdomi@apl-c02g64vpmd6t.home>
Co-authored-by: Ardit Domi <arditdomi@apl-c02g64vpmd6t.broadband>
2021-09-28 09:14:02 +01:00
Dharan
29b4190888 [ACS-1767] [ADF] - Convert C329803 and C329800 cases (#7170) 2021-07-28 11:36:07 +01:00
Dharan
cb5c3abd7c [ADF-5440] update ADF e2e for APS 2.0 (#7150)
* [ADF-5440] update PS  e2e for APS 2.0
[ci:force] run all e2e

* [ci:force] run all e2e

* [ci:force] revert old app config value
2021-07-05 16:12:46 +02:00
Dharan
26d180e661 [ACA-4486] support search widget chips layout (#7122)
* [ACA-4486] support search widget chips layout

* * revert to old config

* * resolved rebase conflicts

* [ci:force] force e2e

* [ci:force] docs update and remove directive added

* [ci:force] config updated

* [ci:force] add missing app config schema to prod build
2021-06-25 10:54:12 +02: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
Cristina Jalba
acf4b26d74 [ACA-4474]Add checkWidgetsAreVisible method
* Add checkWidgetsAreVisible method

* Add checkNoFileIsAttachedToWidgets()
2021-06-07 13:18:08 +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
davidcanonieto
bd805cb34b [ADF-5390] [ADF-5391] Add multivalue cardview for Date, Datetime, Integers and Decimal properties. (#6980)
* [ADF-5390] Addd multivalue cardview for Date, Datetime, Integers and Decimal properties

* Fix unit test

* Fix linting

* Fix e2e tests

* fix e2e

Co-authored-by: Eugenio Romano <eugenio.romano@alfresco.com>
2021-05-09 04:05:26 +01:00
Dharan
8b5e45f4eb [ADF-5366] initialize discovery and version compatibility service for oauth based session (#6864)
* [ADF-5366] initialize discovery and version compatibility service for oauth based session

* better error message

* * fix spaces

* * revert the search service

* * fix build

* * check properties after type update

* * check properties after type update

* * check properties after type update

* * fix infinite loop

* * fix test without title

* * wait for options

* * wait for session

* Update metadata-content-type.e2e.ts

* Update metadata-content-type.e2e.ts

* Update protractor.excludes.json

* Update protractor.excludes.json
2021-04-29 13:40:49 +01:00
Iulia Burcă
585a1b6918 Improve checkFilesAreAttachedToWidget() method (#6943)
* Improve checkFilesAreAttachedToWidget() method

* Add types for the parameters

* exclude test
2021-04-26 12:19:37 +03:00
Dharan
0635b7fd06 [ACA-4361] permission layout modified (#6937)
* * reusable data table column moved

* [ACA-4361] permission layout modified

* * build fixed

* fix build

* * import fixed

* * null safety operation

* * fixed comments

* * fix lint

* * wait for reload list

* * remove sleep

* * add sleep

* * fix comments

* * fix comments

* * floating promises fix

* * remove wait
2021-04-23 08:50:28 +01:00
Eugenio Romano
1a3cf77986 [ADF-5225] smoke test (#6929)
* change smoke test suite

* less

* fix error message undefined

* Update protractor.conf.js
2021-04-21 09:53:22 +01:00
Iulia Burcă
318ce0e346 [ACA-3188] Add methods for ADW+APS1 e2e (#6816)
* Add isRemoveFileOptionDisplayed method

* Add checkStartProcessFormIsDisplayed method

* delete unused class

* add setUserTaskName to e2e-displayValue-process

* delete unused class

* update isRemoveFileOptionDisplayed method

* Create separate PO for start-form component

* Export new PO

* tslint fix

* convert selectors to TestElement

* improve test-element isDisplayed method

* rename method

* Remove methods
2021-04-09 11:41:29 +01: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
Roxana Diacenco
cf7ffba81a [ACA-3652] Add Assignment custom filter in task filter cloud component page (#6887)
* [ACA-3652] Add Assignment custom filter in task filter cloud component page

* Fix linting error

* Remove unused element locator
2021-04-06 09:40:44 +01:00
Cristina Jalba
39255ab02f [AAE-4924]Add method for createProcess with variables (#6897)
* Add methos for createProcess with variables

* Exclude test due to bug
2021-04-06 09:25:31 +01:00
Iulia Burcă
ed6cc26930 Update wrong methods (#6882)
* Update wrong methods

* tslint fix

* change back to StringUtil
2021-03-31 11:08:59 +03:00
Cristina Jalba
e0efec5d85 [ACA-4324]MovAdd details about tasks in resource files
* MovAdd details about tasks in resource files

* Add correlationkey
2021-03-30 16:01:13 +03:00
Iulia Burcă
ab4ab2fbbe [AAE-4824] Add more widgets to resources and cloud related methods (#6865)
* Add more widgets to resources

* move methods for random process & task name to ADF

* Add some task related methods

* Add checkTaskListAndContentAreLoaded method
2021-03-30 09:31:59 +03:00
siva kumar
6c295b9f1c [AAE-4817] Add reusble method in ProcessListCloudComponent page object (#6863) 2021-03-26 14:10:37 +00:00
siva kumar
7219ff38ac [AAE-4817] Testing - Add process/form ids in the CANDIDATEBASEAPP resources file (#6853) 2021-03-25 15:32:49 +00:00
Thomas Hunter
61e14beba8 [AAE-4823] Add resources used in e2e tests in ADW 2021-03-25 11:22:15 +02:00