mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-07 10:07:48 +00:00
Change default sauce param values.
This commit is contained in:
@@ -62,18 +62,24 @@ var reJobId = /^[a-z0-9]{32}$/;
|
|||||||
var throbberDelay = 500,
|
var throbberDelay = 500,
|
||||||
waitCount = -1;
|
waitCount = -1;
|
||||||
|
|
||||||
/** Used as Sauce Labs config values */
|
/**
|
||||||
var advisor = getOption('advisor', true),
|
* Used as Sauce Labs config values.
|
||||||
|
* See the [Sauce Labs documentation](https://docs.saucelabs.com/reference/test-configuration/)
|
||||||
|
* for more details.
|
||||||
|
*/
|
||||||
|
var advisor = getOption('advisor', false),
|
||||||
build = getOption('build', (env.TRAVIS_COMMIT || '').slice(0, 10)),
|
build = getOption('build', (env.TRAVIS_COMMIT || '').slice(0, 10)),
|
||||||
|
commandTimeout = getOption('commandTimeout', 90),
|
||||||
compatMode = getOption('compatMode', null),
|
compatMode = getOption('compatMode', null),
|
||||||
customData = Function('return {' + getOption('customData', '').replace(/^\{|}$/g, '') + '}')(),
|
customData = Function('return {' + getOption('customData', '').replace(/^\{|}$/g, '') + '}')(),
|
||||||
|
deviceOrientation = getOption('deviceOrientation', 'portrait'),
|
||||||
framework = getOption('framework', 'qunit'),
|
framework = getOption('framework', 'qunit'),
|
||||||
idleTimeout = getOption('idleTimeout', 180),
|
idleTimeout = getOption('idleTimeout', 60),
|
||||||
jobName = getOption('name', 'unit tests'),
|
jobName = getOption('name', 'unit tests'),
|
||||||
maxDuration = getOption('maxDuration', 360),
|
maxDuration = getOption('maxDuration', 120),
|
||||||
port = ports[Math.min(_.sortedIndex(ports, getOption('port', 9001)), ports.length - 1)],
|
port = ports[Math.min(_.sortedIndex(ports, getOption('port', 9001)), ports.length - 1)],
|
||||||
publicAccess = getOption('public', true),
|
publicAccess = getOption('public', true),
|
||||||
queueTimeout = getOption('queueTimeout', 600),
|
queueTimeout = getOption('queueTimeout', 240),
|
||||||
recordVideo = getOption('recordVideo', true),
|
recordVideo = getOption('recordVideo', true),
|
||||||
recordScreenshots = getOption('recordScreenshots', false),
|
recordScreenshots = getOption('recordScreenshots', false),
|
||||||
runner = getOption('runner', 'test/index.html').replace(/^\W+/, ''),
|
runner = getOption('runner', 'test/index.html').replace(/^\W+/, ''),
|
||||||
@@ -180,7 +186,9 @@ if (isModern) {
|
|||||||
/** Used as the default `Job` options object */
|
/** Used as the default `Job` options object */
|
||||||
var jobOptions = {
|
var jobOptions = {
|
||||||
'build': build,
|
'build': build,
|
||||||
|
'command-timeout': commandTimeout,
|
||||||
'custom-data': customData,
|
'custom-data': customData,
|
||||||
|
'device-orientation': deviceOrientation,
|
||||||
'framework': framework,
|
'framework': framework,
|
||||||
'idle-timeout': idleTimeout,
|
'idle-timeout': idleTimeout,
|
||||||
'max-duration': maxDuration,
|
'max-duration': maxDuration,
|
||||||
|
|||||||
Reference in New Issue
Block a user