[
https://issues.apache.org/jira/browse/CB-10475?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15250759#comment-15250759
]
ASF GitHub Bot commented on CB-10475:
-------------------------------------
Github user alsorokin commented on a diff in the pull request:
https://github.com/apache/cordova-medic/pull/94#discussion_r60492470
--- Diff: lib/util.js ---
@@ -74,24 +81,95 @@ module.exports = (function () {
return numDevices;
}
+ function getSimId() {
+ var findSimCommand = "cordova run --list --emulator | grep ^iPhone
| tail -n1";
--- End diff --
If it's not too hard to implement, i think it would be good to also handle
iPad simulators.
> iOS contacts permission modal causes contacts tests to fail
> -----------------------------------------------------------
>
> Key: CB-10475
> URL: https://issues.apache.org/jira/browse/CB-10475
> Project: Apache Cordova
> Issue Type: Test
> Components: Medic
> Environment: OSX
> Reporter: Richard B Knoll
> Assignee: Sarangan Rajamanickam
> Priority: Minor
> Labels: found-by-ci, ios, triaged
>
> cordova-ios CI returned test results and all of the contacts tests failed:
> https://ci.apache.org/builders/cordova-ios/builds/1605/steps/getting-test-results/logs/stdio
> Turns out a modal had appeared asking for permission to access contacts and
> was never dismissed. After I clicked okay in the modal, everything was green
> on the next build:
> https://ci.apache.org/builders/cordova-ios/builds/1606
> We either need a way to grant the permissions or we should exclude these
> tests from the CI.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]