{"action":"created","issue":{"url":"https://api.github.com/repos/appium/appium-ios-driver/issues/186","repository_url":"https://api.github.com/repos/appium/appium-ios-driver","labels_url":"https://api.github.com/repos/appium/appium-ios-driver/issues/186/labels{/name}","comments_url":"https://api.github.com/repos/appium/appium-ios-driver/issues/186/comments","events_url":"https://api.github.com/repos/appium/appium-ios-driver/issues/186/events","html_url":"https://github.com/appium/appium-ios-driver/issues/186","id":180560494,"number":186,"title":"What property should I set in stead of \"fullReset\" when I'd like to set \"fullRest\"?","user":{"login":"KazuCocoa","id":5511591,"avatar_url":"https://avatars.githubusercontent.com/u/5511591?v=3","gravatar_id":"","url":"https://api.github.com/users/KazuCocoa","html_url":"https://github.com/KazuCocoa","followers_url":"https://api.github.com/users/KazuCocoa/followers","following_url":"https://api.github.com/users/KazuCocoa/following{/other_user}","gists_url":"https://api.github.com/users/KazuCocoa/gists{/gist_id}","starred_url":"https://api.github.com/users/KazuCocoa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KazuCocoa/subscriptions","organizations_url":"https://api.github.com/users/KazuCocoa/orgs","repos_url":"https://api.github.com/users/KazuCocoa/repos","events_url":"https://api.github.com/users/KazuCocoa/events{/privacy}","received_events_url":"https://api.github.com/users/KazuCocoa/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-10-03T04:17:47Z","updated_at":"2016-10-03T22:09:04Z","closed_at":"2016-10-03T20:43:29Z","body":"Does \"Cannot set preferences because a full-reset was requested\" mean we should set `full-reset` as capability instead of `fullReset` ?\r\nWhen I try to run Appium1.6.0 beta2 x iOS9.3(simulator) x xcuitest-driver with \"fullRest\" capability, then the following error caused and relaunch simulator many times(and stop running tests)\r\n\r\n```\r\nError: Cannot set preferences because a full-reset was requested\r\n```\r\n( my full log is here: https://gist.github.com/KazuCocoa/e525f3fe7baf26bb7ed33dfbb1a8e437 )\r\n\r\nAccording to the following line, I guess I should set full-reset instead of \"fullReset\". but when I set fill-reset as capability, the test app doesn't uninstall and re-install correctly.\r\n\r\n- https://github.com/appium/appium-ios-driver/blob/2bfc4873ee330123739c6c7a430d2ebe0d6e30cc/lib/settings.js#L70\r\n\r\n```js\r\nasync function setPreferences (sim, opts, safari = false) {\r\n  let needToSetPrefs = checkPreferences(SETTINGS_CAPS, opts);\r\n  let needToSetSafariPrefs = checkPreferences(SAFARI_SETTINGS_CAPS, opts);\r\n  if (!needToSetPrefs && !needToSetSafariPrefs) {\r\n    logger.debug(\"No iOS / app preferences to set\");\r\n    return;\r\n  } else if (opts.fullReset) {\r\n    let msg = \"Cannot set preferences because a full-reset was requested\";\r\n    logger.errorAndThrow(msg);\r\n  }\r\n\r\n  logger.debug(\"Setting iOS and app preferences\");\r\n\r\n  if (await sim.isFresh()) {\r\n    await launchAndQuitSimulator(sim, safari);\r\n  }\r\n```\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/appium/appium-ios-driver/issues/comments/251241935","html_url":"https://github.com/appium/appium-ios-driver/issues/186#issuecomment-251241935","issue_url":"https://api.github.com/repos/appium/appium-ios-driver/issues/186","id":251241935,"user":{"login":"KazuCocoa","id":5511591,"avatar_url":"https://avatars.githubusercontent.com/u/5511591?v=3","gravatar_id":"","url":"https://api.github.com/users/KazuCocoa","html_url":"https://github.com/KazuCocoa","followers_url":"https://api.github.com/users/KazuCocoa/followers","following_url":"https://api.github.com/users/KazuCocoa/following{/other_user}","gists_url":"https://api.github.com/users/KazuCocoa/gists{/gist_id}","starred_url":"https://api.github.com/users/KazuCocoa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KazuCocoa/subscriptions","organizations_url":"https://api.github.com/users/KazuCocoa/orgs","repos_url":"https://api.github.com/users/KazuCocoa/repos","events_url":"https://api.github.com/users/KazuCocoa/events{/privacy}","received_events_url":"https://api.github.com/users/KazuCocoa/received_events","type":"User","site_admin":false},"created_at":"2016-10-03T22:09:04Z","updated_at":"2016-10-03T22:09:04Z","body":"Thanks a lot !"}}
{"actor":{"display_login":"KazuCocoa"}}