redoc/protractor.conf.js

24 lines
558 B
JavaScript
Raw Normal View History

2016-01-15 23:34:28 +03:00
'use strict';
const loadJson = require('./tests/e2e/helpers').loadJson;
exports.config = {
specs: ['./tests/e2e/**/*.js'],
capabilities: {
browserName: 'chrome'
},
baseUrl: 'http://localhost:3000',
framework: 'jasmine2',
onPrepare: function() {
// load APIs.guru list
return loadJson('https://apis-guru.github.io/api-models/api/v1/list.json').then((list) => {
global.apisGuruList = list;
});
},
directConnect: true,
useAllAngular2AppRoots: true,
jasmineNodeOpts: {
showTiming: true,
showColors: true
}
};