fix: Set chromeOnly for protractor

This commit is contained in:
1ambda 2017-07-11 12:53:36 +09:00
parent d5e62e760b
commit 7c69f7a181

View file

@ -1,8 +1,10 @@
exports.config = {
baseUrl: 'http://localhost:8080/',
directConnect: true,
chromeOnly: true,
capabilities: {
browserName: 'chrome',
// https://github.com/angular/angular-seed/issues/381
chromeOptions: {
'args': ['show-fps-counter=true']
}
@ -26,6 +28,7 @@ exports.config = {
browser.manage().timeouts().pageLoadTimeout(80000);
browser.manage().timeouts().implicitlyWait(50000);
// add reporter to display executed tests in console
var SpecReporter = require('jasmine-spec-reporter').SpecReporter;
jasmine.getEnv().addReporter(new SpecReporter({