Use the e2e lite-serve (#1390)

* Enable liteserve Fix ecmHost Enable browser open

* Be able to pass a different admin credentials

* use the e2e liteserve

* sync package-lock

* Update webdriver

* Replace the app.conf values before running e2e. Be able to run e2e on external env

* Remove dist mystake

* Remove the baseUrl from the contains

* Use the docker image

* stop postgresql before install

* Try the new strategy

* regenerate the package lock

* Wait for the content to go up

* Change travis with start.sh

* do not override the baseUrl

* Create a different docker compose for e2e

Co-authored-by: Adina Parpalita <adina.parpalita@ness.com>
This commit is contained in:
Maurizio Vitale
2020-04-02 09:21:44 +01:00
committed by GitHub
co-authored by Adina Parpalita
parent cb26102a99
commit b240909868
16 changed files with 947 additions and 559 deletions
+4 -1
View File
@@ -22,7 +22,7 @@
"e2e.typecheck": "tsc -p ./e2e/tsconfig.e2e.typecheck.json",
"e2e": "npm run wd:update && protractor --baseUrl=${TEST_BASE_URL:-http://localhost:8080/content-app} $SUITE",
"e2e.local": "npm run wd:update && protractor --baseUrl=http://localhost:4200 $SUITE",
"wait:app": "wait-on http://${HOST_IP:-localhost}:${HOST_PORT:-8080}/alfresco/ -t 1000000 && wait-on http://${HOST_IP:-localhost}:${HOST_PORT:-8080}/content-app/ -t 400000",
"wait:app": "wait-on http://${HOST_IP:-localhost}:${HOST_PORT:-8080}/alfresco/ -t 1000000",
"start:docker": "./start.sh",
"stop:docker": "./start.sh -d",
"e2e:docker": "./start.sh && npm run e2e && ./start.sh -d",
@@ -44,6 +44,7 @@
"@alfresco/adf-core": "3.7.0",
"@alfresco/adf-extensions": "3.7.0",
"@alfresco/js-api": "3.7.0",
"@angular-custom-builders/lite-serve": "0.0.2",
"@angular/animations": "7.2.15",
"@angular/cdk": "^7.3.7",
"@angular/common": "7.2.15",
@@ -64,6 +65,7 @@
"@ngrx/store": "^7.4.0",
"@ngrx/store-devtools": "^7.4.0",
"@ngx-translate/core": "^11.0.1",
"browser-sync": "^2.26.7",
"core-js": "^2.5.7",
"hammerjs": "2.0.8",
"minimatch-browser": "^1.0.0",
@@ -87,6 +89,7 @@
"ajv-cli": "^3.0.0",
"chrome-remote-interface": "^0.26.1",
"codelyzer": "^5.2.2",
"commander": "^4.0.1",
"cpr": "^3.0.1",
"cspell": "^3.2.17",
"dotenv": "6.2.0",