Skip to content
This repository has been archived by the owner on Mar 22, 2024. It is now read-only.

Commit

Permalink
Merge pull request #25 from Financial-Times/add-ios7
Browse files Browse the repository at this point in the history
add ios 7
  • Loading branch information
matthew-andrews committed Mar 19, 2015
2 parents 847b1de + 92e7891 commit 64314aa
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
8 changes: 8 additions & 0 deletions config/nightwatch.json
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,14 @@
"device-orientation": "portrait"
}
},
"iphone7": {
"desiredCapabilities": {
"platform": "OS X 10.10",
"version": "7.0",
"deviceName": "iPhone Simulator",
"device-orientation": "portrait"
}
},
"ipad8_0": {
"desiredCapabilities": {
"platform": "OS X 10.10",
Expand Down
2 changes: 1 addition & 1 deletion tasks/nightwatch.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 64314aa

Please sign in to comment.