{"action":"created","issue":{"url":"https://api.github.com/repos/calabash/calabash-ios/issues/997","repository_url":"https://api.github.com/repos/calabash/calabash-ios","labels_url":"https://api.github.com/repos/calabash/calabash-ios/issues/997/labels{/name}","comments_url":"https://api.github.com/repos/calabash/calabash-ios/issues/997/comments","events_url":"https://api.github.com/repos/calabash/calabash-ios/issues/997/events","html_url":"https://github.com/calabash/calabash-ios/issues/997","id":134053474,"number":997,"title":"Trying write of command 11:uia.tapOffset('{:x 24, :y 41}') at index 11 (RunLoop::WriteFailedError)","user":{"login":"lindanordstrom","id":13778933,"avatar_url":"https://avatars.githubusercontent.com/u/13778933?v=3","gravatar_id":"","url":"https://api.github.com/users/lindanordstrom","html_url":"https://github.com/lindanordstrom","followers_url":"https://api.github.com/users/lindanordstrom/followers","following_url":"https://api.github.com/users/lindanordstrom/following{/other_user}","gists_url":"https://api.github.com/users/lindanordstrom/gists{/gist_id}","starred_url":"https://api.github.com/users/lindanordstrom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lindanordstrom/subscriptions","organizations_url":"https://api.github.com/users/lindanordstrom/orgs","repos_url":"https://api.github.com/users/lindanordstrom/repos","events_url":"https://api.github.com/users/lindanordstrom/events{/privacy}","received_events_url":"https://api.github.com/users/lindanordstrom/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2016-02-16T18:03:46Z","updated_at":"2016-02-18T16:15:08Z","closed_at":null,"body":"Hi, I've already commented on the following issue; \r\nhttps://github.com/calabash/calabash-ios/issues/566\r\n\r\nBut since it was closed I created a new one as well.. \r\n\r\nI have a few tests where I have set RESET_BETWEEN_SCENARIOS=1, so the user is always signed out when a test starts. But in some scenarios we want to relaunch the app as part of a test, where we don't want to app to be reset, so I am calling the relaunch function (with :uia_strategy => :host, :reset => false). \r\n\r\nThe thing is I can run the scenario by itself without problem, but if I run a similar/identical scenario as the second or third scenario in a feature, cucumber will timeout on the \"Trying write of command 13:uia.tapOffset('{:x 28, :y 41}') at index 13\"\r\n\r\nI've compared the logs to see what actually differs when I run two identical test in a feature. From what I can see the one that works fine will output:\r\n\"Trying write of command 1:uia.tapOffset\"\r\nAnd the one that fails outputs:\r\nTrying write of command 13:uia.tapOffset\r\n\r\nAdding a screenshot where I compare the working scenario with the failing scenario\r\nAnd adding the full log for running the feature with the scenario twice\r\n\r\nThe two tests are identical and does the following:\r\n* sign in\r\n* relaunch app\r\n* press menu icon\r\n\r\nEnv:\r\n$ xcode-select --print-path\r\n/Applications/Xcode.app/Contents/Developer\r\n\r\n$ xcodebuild -version\r\nXcode 7.2\r\nBuild version 7C68\r\n\r\n$ calabash-ios version\r\n0.17.1\r\n\r\n```\r\n$ curl http://localhost:37265/version\r\n{\r\n\t\"device_family\": \"iPhone\",\r\n\t\"outcome\": \"SUCCESS\",\r\n\t\"server_port\": 37265,\r\n\t\"simulator_device\": \"iPhone\",\r\n\t\"simulator\": \"CoreSimulator 201.3 - Device: iPhone 6s - Runtime: iOS 9.2 (13C75) - DeviceType: iPhone 6s\",\r\n\t\"app_name\": \"\",\r\n\t\"app_version\": \"5\",\r\n\t\"screen_dimensions\": {\r\n\t\t\"sample\": 1,\r\n\t\t\"height\": 1334,\r\n\t\t\"width\": 750,\r\n\t\t\"scale\": 2\r\n\t},\r\n\t\"git\": {\r\n\t\t\"revision\": \"db84756\",\r\n\t\t\"remote_origin\": \"git@github.com:calabash\\/calabash-ios-server.git\",\r\n\t\t\"branch\": \"master\"\r\n\t},\r\n\t\"device_name\": \"iPhone Simulator\",\r\n\t\"4inch\": false,\r\n\t\"app_id\": \"com.xxxx.xxxx.cal.\",\r\n\t\"form_factor\": \"iphone 6\",\r\n\t\"system\": \"x86_64\",\r\n\t\"version\": \"0.17.1\",\r\n\t\"iOS_version\": \"9.2\",\r\n\t\"short_version_string\": \"0.5.0\",\r\n\t\"ios_version\": \"9.2\",\r\n\t\"iphone_app_emulated_on_ipad\": false,\r\n\t\"model_identifier\": \"iPhone8,1\",\r\n\t\"app_base_sdk\": \"iphonesimulator9.2\"\r\n}\r\n```\r\n\r\nrun_loop, 2.0.6\r\n\r\n\r\n![screen shot 2016-02-11 at 14 41 15](https://cloud.githubusercontent.com/assets/13778933/12979840/6f1e7da2-d0d1-11e5-8932-e579f8f3499f.png)\r\n\r\n[errorLog.txt](https://github.com/calabash/calabash-ios/files/126552/errorLog.txt)"},"comment":{"url":"https://api.github.com/repos/calabash/calabash-ios/issues/comments/185796367","html_url":"https://github.com/calabash/calabash-ios/issues/997#issuecomment-185796367","issue_url":"https://api.github.com/repos/calabash/calabash-ios/issues/997","id":185796367,"user":{"login":"jmoody","id":466104,"avatar_url":"https://avatars.githubusercontent.com/u/466104?v=3","gravatar_id":"","url":"https://api.github.com/users/jmoody","html_url":"https://github.com/jmoody","followers_url":"https://api.github.com/users/jmoody/followers","following_url":"https://api.github.com/users/jmoody/following{/other_user}","gists_url":"https://api.github.com/users/jmoody/gists{/gist_id}","starred_url":"https://api.github.com/users/jmoody/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmoody/subscriptions","organizations_url":"https://api.github.com/users/jmoody/orgs","repos_url":"https://api.github.com/users/jmoody/repos","events_url":"https://api.github.com/users/jmoody/events{/privacy}","received_events_url":"https://api.github.com/users/jmoody/received_events","type":"User","site_admin":false},"created_at":"2016-02-18T16:15:08Z","updated_at":"2016-02-18T16:15:08Z","body":"> But when it comes to finding the menu icon after the second relaunch, it just refuses to press it.. no matter how long I wait..\r\n\r\nAny chance you can share this app so we can reproduce?"}}