Multiple option env file (#4788)

* multi configuration file enabling

* improve ignore

* update i18n tool dep

* update webbpack bundle analyzer version

* fix ps cloud test wait setting

* fix script content

* remove use of testconfig for browser options

* convert protractor to ts

* download browser util fix
This commit is contained in:
Eugenio Romano
2019-05-30 11:15:15 +01:00
committed by GitHub
parent 9aafb80483
commit b91a942aa1
156 changed files with 1227 additions and 715 deletions

View File

@@ -23,7 +23,7 @@ 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`
Add to `.env.cloud` and run `./scripts/test-e2e-lib.sh -env .env.cloud`
```
BROWSER_RUN=true
FOLDER="process-services-cloud"
@@ -34,7 +34,7 @@ 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`
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"
@@ -52,7 +52,7 @@ 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`
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"
@@ -61,7 +61,7 @@ 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`
Add to `.env.cloud` and run `./scripts/test-e2e-lib.sh -ud -env .env.cloud`
```
BROWSER_RUN=true
FOLDER="process-services-cloud"
@@ -71,7 +71,7 @@ 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`
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"