diff --git a/config/nightwatch.json b/config/nightwatch.json index d04d308c..b6d6c59b 100644 --- a/config/nightwatch.json +++ b/config/nightwatch.json @@ -110,6 +110,15 @@ "deviceName": "iPad Simulator", "device-orientation": "portrait" } + }, + "Android_Nexus7HD": { + "desiredCapabilities": { + "browserName": "chrome", + "platform": "Linux", + "version": "4.4", + "deviceName": "Google Nexus 7 HD Emulator", + "device-orientation": "portrait" + } } } } diff --git a/tasks/nightwatch.js b/tasks/nightwatch.js index 8bb01cf0..a5fd19c1 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,iphone7'; + var env = opts.env || 'ie10,firefox36,chrome41,iphone7,Android_Nexus7HD'; var config = opts.config || path.join(__dirname, '..', 'config', 'nightwatch.json'); return exec('nightwatch' + ' --env ' + env