Add e2e test in ADF main repo (#3534)

* move e2e to ADF main repo

* lint e2e test

* enable first set of tests

* enable test

* firs test js-api integrated

* try change name protractor demo shell file

* remove fdescribe

* Update .travis.yml

* exclude failing test and rewrite analytics component with JS-API

* remove fdescribe

* move first part of tests to js-api

* refactor test alfresco-js-api

* replace js-api step 3

* remove adf prefix

* remove unused code

* remove unused part 2

* add option in e2e test for single test and browser

* exclude temp failing test

* refactoring test step 1

* refactoring test step 2

* refactoring test step 3

* refactoring test step 4

* refactoring test step 5

* run against localhost and proxy options

* fix command

* improve configuration

* improve configuration

* use dev configuratio

* fix defering

* comment out not working remotely test

* fix promise login page e2e

* remove console log

* change test

* revert

* improve utils

* improve task list test
util add also numbers in generation of the email

* remove part of the multi selector

* reinsert trashcan test

* uncomment document list test

* try increase delay in search sorting

* improve document list selector

* execute different util methods

* Upload error screenshot

* make oncomplete async

* add z-finish screenshot workaround

* option save

* remove fit
This commit is contained in:
Eugenio Romano
2018-08-14 15:42:14 +01:00
committed by Eugenio Romano
parent 4ecea64e19
commit 3d86044594
182 changed files with 16047 additions and 178 deletions
+10 -2
View File
@@ -12,6 +12,7 @@
"bundlesize-check": "bundlesize",
"bundlesize-map": "npm run webpack -- --config ./lib/config/webpack.bundle-check.js --progress --profile --bail",
"lint-lib": "./node_modules/.bin/tslint -p ./lib/tsconfig.json -c ./lib/tslint.json",
"lint-e2e": "./node_modules/.bin/tslint --fix -p ./e2e/tsconfig.e2e.json -c ./lib/tslint.json",
"test-export": "ts-node ./tools/export-check/exportCheck.ts ./lib/core/public-api.ts ./lib/process-services/public-api.ts ./lib/content-services/public-api.ts ./lib/insights/public-api.ts",
"test-lib": "node ./node_modules/karma/bin/karma start ./lib/karma.conf.js --reporters mocha,coverage --single-run --component .",
"test-lib-browser": "node ./node_modules/karma/bin/karma start ./lib/karma.conf.js --reporters kjhtml",
@@ -26,7 +27,8 @@
"style:dev": "npm run webpack -- --config ./lib/config/webpack.style.js --progress --profile --bail",
"test": "ng test --single-run",
"lint": "ng lint",
"e2e": "ng e2e --app dist --deleteOutputPath=false",
"e2e": "ng e2e --app dist --deleteOutputPath=false -specs ./demo-shell/e2e/*.*",
"e2e-lib": "npm run lint-e2e && ng e2e --app dev --deleteOutputPath=false --port=4200 --proxy-config ./e2e/proxy.conf.js",
"server-versions": "rimraf ./demo-shell/src/versions.json && npm list --depth=0 --json=true --prod=true > ./demo-shell/src/versions.json || exit 0",
"clean": "rimraf dist ./node_modules typings",
"clean-lock": "rimraf package-lock.json",
@@ -77,6 +79,8 @@
"@ngx-translate/core": "9.1.1",
"@nrwl/schematics": "^1.0.3",
"alfresco-js-api": "2.5.0-beta1",
"alfresco-js-api-node": "2.5.0-beta1",
"browserstack-local": "^1.3.3",
"chart.js": "2.5.0",
"classlist.js": "1.1.20150312",
"core-js": "2.4.1",
@@ -104,6 +108,7 @@
"@types/node": "6.0.90",
"ajv-cli": "^3.0.0",
"angular2-template-loader": "0.6.2",
"astrolabe": "^0.3.6",
"autoprefixer": "6.5.4",
"bundlesize": "^0.15.3",
"chalk": "^2.3.2",
@@ -126,7 +131,9 @@
"istanbul-instrumenter-loader": "3.0.0",
"jasmine-ajax": "3.2.0",
"jasmine-core": "~2.8.0",
"jasmine-reporters": "^2.3.1",
"jasmine-spec-reporter": "~4.2.1",
"jasmine2-protractor-utils": "1.1.3",
"karma": "~2.0.0",
"karma-chrome-launcher": "~2.2.0",
"karma-cli": "~1.0.1",
@@ -152,7 +159,7 @@
"ng-packagr": "2.4.2",
"node-sass": "4.5.3",
"null-loader": "0.1.1",
"protractor": "~5.1.2",
"protractor": "~5.3.2",
"raw-loader": "0.5.1",
"remap-istanbul": "0.6.3",
"remark": "^9.0.0",
@@ -179,6 +186,7 @@
"typedoc": "^0.11.1",
"typescript": "2.6.1",
"uglifyjs-webpack-plugin": "1.1.6",
"url-join": "^4.0.0",
"webpack-bundle-analyzer": "2.9.0",
"webpack-merge": "2.6.1"
},