mirror of
https://github.com/zhigang1992/angular.js.git
synced 2026-01-12 22:45:52 +08:00
This should help with occasional safari page load timeouts. In a test of 4500 page loads, the current 10 second limit caused 3 errors while a 30 second limit caused none. Closes #8231
34 lines
861 B
JavaScript
34 lines
861 B
JavaScript
'use strict';
|
|
|
|
var config = require('./protractor-shared-conf').config;
|
|
|
|
config.sauceUser = process.env.SAUCE_USERNAME;
|
|
config.sauceKey = process.env.SAUCE_ACCESS_KEY;
|
|
|
|
config.multiCapabilities = [{
|
|
'browserName': 'chrome',
|
|
'platform': 'OS X 10.9',
|
|
'name': 'Angular E2E',
|
|
'tunnel-identifier': process.env.TRAVIS_JOB_NUMBER,
|
|
'build': process.env.TRAVIS_BUILD_NUMBER,
|
|
'version': '34'
|
|
}, {
|
|
'browserName': 'firefox',
|
|
'name': 'Angular E2E',
|
|
'tunnel-identifier': process.env.TRAVIS_JOB_NUMBER,
|
|
'build': process.env.TRAVIS_BUILD_NUMBER,
|
|
'version': '28'
|
|
}, {
|
|
browserName: 'safari',
|
|
'platform': 'OS X 10.9',
|
|
'version': '7',
|
|
'name': 'Angular E2E',
|
|
'tunnel-identifier': process.env.TRAVIS_JOB_NUMBER,
|
|
'build': process.env.TRAVIS_BUILD_NUMBER
|
|
}];
|
|
|
|
config.allScriptsTimeout = 30000;
|
|
config.getPageTimeout = 30000;
|
|
|
|
exports.config = config;
|