* [ci:force] cleanup protractor tests * [ci:force] cleanup insights test * [ci:force] cleanup dead demo shell e2e * [ci:force] cleanup e2e * [ci:force] cleanup e2e * cleanup files component * [ci:force] cleanup e2e * [ci:force] remove user info SSO protractor e2e * [ci:force] remove viewer e2e already covered by other tests * [ci:force] remove custom font from demo shell * [ci:force] demo shell viewer cleanup * [ci:force] cleanup viewer in demo shell * [ci:force] rollback model changes * [ci:force] remove site picker from content demo * [ci:force] cleanup files demo shell component * [ci:force] cleanup e2e and dead code * [ci:force] cleanup dead code * [ci:force] fix linting * [ci:force] standalone home component * [ci:force] cleanup demo shell app layout * [ci:force] cleanup css * [ci:force] cleanup demo shell logout * Update demo-shell/src/app/components/app-layout/app-layout.component.html Co-authored-by: Mykyta Maliarchuk <84377976+nikita-web-ua@users.noreply.github.com> --------- Co-authored-by: Mykyta Maliarchuk <84377976+nikita-web-ua@users.noreply.github.com>
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