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 #163 from Financial-Times/fix-iphone-smoke-test
Browse files Browse the repository at this point in the history
Fix capabilities for iPhone
  • Loading branch information
ironsidevsquincy committed Aug 3, 2015
2 parents 9c5cf50 + 2a6f9e4 commit 3ddd542
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 22 deletions.
25 changes: 4 additions & 21 deletions config/nightwatch.json
Original file line number Diff line number Diff line change
Expand Up @@ -122,28 +122,11 @@
"platform": "OS X 10.9"
}
},
"iphone8_1": {
"iphone6_plus": {
"desiredCapabilities": {
"platform": "OS X 10.10",
"version": "8.1",
"deviceName": "iPhone Simulator",
"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",
"version": "8.0",
"deviceName": "iPad Simulator",
"device-orientation": "portrait"
"version": "8.3",
"deviceName": "iPhone 6 Plus",
"deviceOrientation": "portrait"
}
},
"Android_Nexus7HD": {
Expand Down
2 changes: 1 addition & 1 deletion tasks/nightwatch.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ function toStdErr(data) {

module.exports = function(opts) {
var test = opts.test;
var env = opts.env || 'ie9,ie10,ie11,firefox38,firefox39,chrome42,chrome43,iphone7,Android_Nexus7HD';
var env = opts.env || 'ie9,ie10,ie11,firefox38,firefox39,chrome42,chrome43,iphone6_plus,Android_Nexus7HD';
var config = opts.config || path.join(__dirname, '..', 'config', 'nightwatch.json');
var args = [ '--env', env, '--test', test, '--config', config ];

Expand Down

0 comments on commit 3ddd542

Please sign in to comment.