initial e2e integration (#329)

* e2e integration with ci

* update travis config

* try always build image

* build the app in production mode

* try to stop previous

* stop default postgresql service

* try upgrade selenium-webdriver

* disable Gecko for webdriver-manager

* use stable chrome and latest protractor
This commit is contained in:
Denys Vuika
2018-04-23 12:21:41 +01:00
committed by Cilibiu Bogdan
parent 54a7f3679c
commit 09aeeff204
72 changed files with 10493 additions and 161 deletions

12
protractor.conf.js Normal file → Executable file
View File

@@ -11,9 +11,15 @@ const width = 1366;
const height = 768;
exports.config = {
allScriptsTimeout: 30000,
allScriptsTimeout: 60000,
specs: [
'./e2e/suites/authentication/*.test.ts',
'./e2e/suites/list-views/*.test.ts',
'./e2e/suites/application/page-titles.test.ts',
'./e2e/suites/navigation/*.test.ts',
'./e2e/suites/pagination/*.test.ts',
'./e2e/suites/actions/*.test.ts'
],
capabilities: {
@@ -28,12 +34,12 @@ exports.config = {
directConnect: true,
baseUrl: 'http://localhost:4200',
baseUrl: 'http://localhost:3000',
framework: 'jasmine2',
jasmineNodeOpts: {
showColors: true,
defaultTimeoutInterval: 50000,
defaultTimeoutInterval: 90000,
print: function() {}
},