* 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
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