Cypress integration (#357)

* initial cypress setup and sample specs

* integrate with e2e run

* update ci settings

* config update

* update config

* remove cypress from e2e setup

* update protractor settings

* upgrade libs

* restore tsconfig

* re-enable cypress
This commit is contained in:
Denys Vuika
2018-05-14 12:54:13 +03:00
committed by Cilibiu Bogdan
parent e1ea9fbfc1
commit 60da9d8b94
8 changed files with 1009 additions and 218 deletions
+7 -3
View File
@@ -20,7 +20,10 @@
"e2e": "npm run wd:update && protractor protractor.conf.js",
"start:docker": "docker-compose up -d --build && wait-on http://localhost:8080 && wait-on http://localhost:3000",
"stop:docker": "docker-compose stop",
"e2e:docker": "npm run start:docker && npm run e2e && npm run stop:docker"
"e2e:docker": "npm run start:docker && npm run cypress:ci && npm run e2e && npm run stop:docker",
"cypress:open": "cypress open",
"cypress:run": "cypress run",
"cypress:ci": "cypress run --browser chrome --config baseUrl=http://localhost:3000"
},
"private": true,
"dependencies": {
@@ -62,19 +65,20 @@
"@types/selenium-webdriver": "^3.0.8",
"codacy-coverage": "^2.0.3",
"codelyzer": "^4.0.1",
"cypress": "^2.1.0",
"jasmine-core": "~2.8.0",
"jasmine-reporters": "^2.2.1",
"jasmine-spec-reporter": "~4.2.1",
"jasmine2-protractor-utils": "^1.3.0",
"jasminewd2": "^2.2.0",
"karma": "~2.0.0",
"karma": "2.0.2",
"karma-chrome-launcher": "~2.2.0",
"karma-cli": "~1.0.1",
"karma-coverage-istanbul-reporter": "^1.2.1",
"karma-jasmine": "~1.1.0",
"karma-jasmine-html-reporter": "^0.2.2",
"node-rest-client": "^3.1.0",
"protractor": "5.3.1",
"protractor": "5.3.2",
"rimraf": "2.6.2",
"selenium-webdriver": "4.0.0-alpha.1",
"ts-node": "~4.1.0",