From 898ee560ce912904c19ddb0f395a727889b0f431 Mon Sep 17 00:00:00 2001 From: Matt Andrews Date: Thu, 19 Mar 2015 08:58:55 +0000 Subject: [PATCH 1/3] add ios 7 --- config/nightwatch.json | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/config/nightwatch.json b/config/nightwatch.json index ed4213c4..336fc2e8 100644 --- a/config/nightwatch.json +++ b/config/nightwatch.json @@ -95,6 +95,14 @@ "device-orientation": "portrait" } }, + "iphone7": { + "desiredCapabilities": { + "platform": "OS X 10.10", + "version": "7", + "deviceName": "iPhone Simulator", + "device-orientation": "portrait" + } + }, "ipad8_0": { "desiredCapabilities": { "platform": "OS X 10.10", From 63db1b6eabea8193444b74b63ba8b3a2dea31355 Mon Sep 17 00:00:00 2001 From: Matt Andrews Date: Thu, 19 Mar 2015 09:06:02 +0000 Subject: [PATCH 2/3] add .0 --- config/nightwatch.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/nightwatch.json b/config/nightwatch.json index 336fc2e8..d04d308c 100644 --- a/config/nightwatch.json +++ b/config/nightwatch.json @@ -98,7 +98,7 @@ "iphone7": { "desiredCapabilities": { "platform": "OS X 10.10", - "version": "7", + "version": "7.0", "deviceName": "iPhone Simulator", "device-orientation": "portrait" } From 92e7891465a616954c1dc765cefc9a165cecf3b0 Mon Sep 17 00:00:00 2001 From: Matt Andrews Date: Thu, 19 Mar 2015 09:06:32 +0000 Subject: [PATCH 3/3] kill the build, on @commuterjoy's orders! --- tasks/nightwatch.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/nightwatch.js b/tasks/nightwatch.js index a0297b99..8bb01cf0 100644 --- a/tasks/nightwatch.js +++ b/tasks/nightwatch.js @@ -10,7 +10,7 @@ var path = require('path'); module.exports = function(opts) { var test = opts.test; - var env = opts.env || 'ie10,firefox36,chrome41'; + var env = opts.env || 'ie10,firefox36,chrome41,iphone7'; var config = opts.config || path.join(__dirname, '..', 'config', 'nightwatch.json'); return exec('nightwatch' + ' --env ' + env