arditdomi 3c3aa7599a [AAE-1372] Refactor People/Group cloud component (#5355)
* [AAE-1372] Fix read-only preselected users can be deleted

* [AAE-1372] Fix people/group cloud component readonly mode

* [AAE-1372] Refactor People/Group Cloud components

* [AAE-1372] Refactor People/Group Cloud components

* [AAE-1372] Clear invalid user in single mode after replacing with a valid user

* [AAE-1372] Add progress bar while validation loading. When user gets removed remove from validation

* [AAE-1372] Fix lint errors

* [AAE-1372] Fix single selection e2e

* [AAE-1372] Fix unit tests - people/group cloud components

* [AAE-1372] Fix e2e, set People/Group formControls invalid when has preselect errors

* [AAE-1372] Fix invalid form control bug
2020-01-21 13:37:57 +00:00
..
2019-11-25 11:03:35 +00:00
2019-05-30 11:15:15 +01: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

URL_HOST_BPM_ADF="https://gateway.example.com"
URL_HOST_SSO_ADF="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

URL_HOST_BPM_ADF="https://gateway.example.com"
URL_HOST_SSO_ADF="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