Denys Vuika 93fd0bec6c
[ACS-6140] reduce access to internal material classes (#9053)
* cleanup login (demo shell)

* cleanup e2e from useless calls

* [ci:force] cleanup e2e from useless calls

* [ci:force] cleanup e2e from useless calls

* [ci:force] improved uploader selectors

* [ci:force] remove useless selectors when automation id provided

* [ci:force] improved tests and selectors

* [ci:force] improved tests and selectors

* [ci:force] improved tests and selectors

* [ci:force] improved tests and selectors

* [ci:force] improved tests and selectors

* [ci:force] improved tests and selectors

* [ci:force] switch edit task filter to angular harness

* [ci:force] switch edit process filter to angular harness

* [ci:force] switch search chip list to angular harness

* [ci:force] switch search panel to angular harness

* [ci:force] switch search radio to angular harness

* [ci:force] switch search text to angular harness

* [ci:force] search logical filter

* [ci:force] search form component

* [ci:force] search filter container

* [ci:force] fix viewer test

* [ci:force] search facet chip harness

* [ci:force] search facet chip harness

* [ci:force] dropdown breadcrumb

* [ci:force] search check list

* [ci:force] folder dialog

* [ci:force] search filter component

* [ci:force] json cell

* [ci:force] amount widget

* [ci:force] checkbox widget

* [ci:force] multiline-text widget

* [ci:force] number widget

* [ci:force] text widget

* [ci:force] card view array item

* add permission dialog

* permission container component

* permission list component

* card view components

* search widget chip

* search facet chip

* edit service task filter

* card view components

* sites dropdown

* share dialog

* header component

* datetime widget

* remove comments
2023-11-03 06:05:34 -04:00
..
🚀🚀🚀 Release 5.0.0-angular.13 🚀🚀🚀 (#7751)
2022-08-08 18:07:58 +02:00
2023-10-03 07:35:53 -04:00
2022-08-25 10:50:30 +01:00
2022-08-25 10:50:30 +01:00
🚀🚀🚀 Release 5.0.0-angular.13 🚀🚀🚀 (#7751)
2022-08-08 18:07:58 +02:00

Alfresco Testing Library

Contains the reusable pages for e2e tests

Run e2e against a remote env using the .env.cloud file

Create a file .env.cloud under the e2e folder

HOST_BPM="https://gateway.example.com"
HOST_SSO="https://identity.example.com/auth/realms/alfresco"
URL_HOST_IDENTITY="https://identity.example.com/auth/admin/realms/alfresco"
IDENTITY_USERNAME_ADF="username"
IDENTITY_PASSWORD_ADF="password"

How can I run the cloud e2e against a remote env with chrome headless ?

Add to .env.cloud and run ./scripts/test-e2e-lib.sh

FOLDER="process-services-cloud"
URL_HOST_ADF="http://myadf.example.com"
...

or ./scripts/test-e2e-lib.sh -host http://myadf.example.com -f process-services-cloud

How can I run the cloud e2e against a remote env with full chrome ?

Add to .env.cloud and run ./scripts/test-e2e-lib.sh -env .env.cloud

BROWSER_RUN=true
FOLDER="process-services-cloud"
URL_HOST_ADF="http://myadf.example.co"
...

or ./scripts/test-e2e-lib.sh -host http://myadf.example.com -f process-services-cloud -b

How can I run specific specs agains a remote env?

Add to .env.cloud and run ./scripts/test-e2e-lib.sh -env .env.cloud

LIST_SPECS="process-services-cloud/apps-section-cloud.e2e.ts,process-services-cloud/task-filters-cloud.e2e.ts"
URL_HOST_ADF="http://myadf.example.co"
...

or ./scripts/test-e2e-lib.sh -host http://myadf.example.com -s process-services-cloud/apps-section-cloud.e2e.ts,process-services-cloud/task-filters-cloud.e2e.ts

Run e2e against a local env (use dist) using the .env.cloud file

Create a file .env.cloud under the e2e folder

HOST_BPM="https://gateway.example.com"
HOST_SSO="https://identity.example.com/auth/realms/alfresco"
URL_HOST_IDENTITY="https://identity.example.com/auth/admin/realms/alfresco"
IDENTITY_USERNAME_ADF="username"
IDENTITY_PASSWORD_ADF="password"

How can I run the cloud e2e against a local env with chrome headless ?

Add to .env.cloud and run ./scripts/test-e2e-lib.sh -ud -env .env.cloud

FOLDER="process-services-cloud"
URL_HOST_ADF="http://localhost:4200"
...

or ./scripts/test-e2e-lib.sh -ud -host http://localhost:4200 -f process-services-cloud

How can I run the cloud e2e against a local env with full chrome ?

Add to .env.cloud and run ./scripts/test-e2e-lib.sh -ud -env .env.cloud

BROWSER_RUN=true
FOLDER="process-services-cloud"
URL_HOST_ADF="http://localhost:4200"
...

or ./scripts/test-e2e-lib.sh -ud -host http://localhost:4200 -f process-services-cloud -b

How can I run specific specs agains a local env?

Add to .env.cloud and run ./scripts/test-e2e-lib.sh -ud -env .env.cloud

LIST_SPECS="process-services-cloud/apps-section-cloud.e2e.ts,process-services-cloud/task-filters-cloud.e2e.ts"
URL_HOST_ADF="http://localhost:4200"
...

or ./scripts/test-e2e-lib.sh -ud -host http://localhost:4200 -s process-services-cloud/apps-section-cloud.e2e.ts,process-services-cloud/task-filters-cloud.e2e.ts