Skip to content

Commit

Permalink
make sure we catch photo alert names
Browse files Browse the repository at this point in the history
  • Loading branch information
jlipps committed Jan 8, 2014
1 parent 377141f commit e29d20b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/devices/ios/uiauto/bootstrap.js
Expand Up @@ -18,7 +18,7 @@ UIATarget.onAlert = function(alert) {
if (alert.name() && alert.name().indexOf("attempting to open a pop-up") !== -1) {
alert.defaultButton().tap();
} else if (!bootstrapSettings.manualPermissionAlerts) {
if (alert.name().indexOf("Would Like to Access Your Photos") !== -1) {
if (alert.name().indexOf("Access Your Photos") !== -1) {
alert.defaultButton().tap();
}
}
Expand Down

0 comments on commit e29d20b

Please sign in to comment.