make it easy to switch test version for ios

This commit is contained in:
Jonathan Lipps
2013-09-06 14:40:27 -07:00
parent f3be9a83d2
commit 758b36d9a8

View File

@@ -9,11 +9,12 @@ var wd = require('wd')
, should = require("should")
, defaultHost = '127.0.0.1'
, defaultPort = process.env.APPIUM_PORT || 4723
, defaultIosVer = '6.1'
, defaultCaps = {
browserName: ''
, device: 'iPhone Simulator'
, platform: 'Mac'
, version: '6.0'
, version: defaultIosVer
//, newCommandTimeout: 60
};
@@ -90,7 +91,7 @@ var describeForSafari = function() {
, app: 'safari'
, device: 'iPhone Simulator'
, platform: 'Mac'
, version: '6.1'
, version: defaultIosVer
};
return describeWithDriver(desc, tests, host, port, caps, extraCaps, undefined, onlyify);
};