{"action":"created","issue":{"url":"https://api.github.com/repos/facebook/WebDriverAgent/issues/372","repository_url":"https://api.github.com/repos/facebook/WebDriverAgent","labels_url":"https://api.github.com/repos/facebook/WebDriverAgent/issues/372/labels{/name}","comments_url":"https://api.github.com/repos/facebook/WebDriverAgent/issues/372/comments","events_url":"https://api.github.com/repos/facebook/WebDriverAgent/issues/372/events","html_url":"https://github.com/facebook/WebDriverAgent/issues/372","id":189424938,"number":372,"title":"Error copying attributes","user":{"login":"toejough","id":5317312,"avatar_url":"https://avatars.githubusercontent.com/u/5317312?v=3","gravatar_id":"","url":"https://api.github.com/users/toejough","html_url":"https://github.com/toejough","followers_url":"https://api.github.com/users/toejough/followers","following_url":"https://api.github.com/users/toejough/following{/other_user}","gists_url":"https://api.github.com/users/toejough/gists{/gist_id}","starred_url":"https://api.github.com/users/toejough/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/toejough/subscriptions","organizations_url":"https://api.github.com/users/toejough/orgs","repos_url":"https://api.github.com/users/toejough/repos","events_url":"https://api.github.com/users/toejough/events{/privacy}","received_events_url":"https://api.github.com/users/toejough/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":21,"created_at":"2016-11-15T15:38:14Z","updated_at":"2016-12-08T19:01:09Z","closed_at":null,"body":"The same error under the same conditions as #357.  Opening a new issue because that was closed as resolved by the author after the last visibility fix, so I'm assuming that this is a related, but different, root cause.\r\n\r\nRelevant log:\r\n```\r\n[HTTP] --> GET /wd/hub/session/d0652778-1c1a-40ef-a61c-93e2674bad8b/source {}\r\n[MJSONWP] Calling AppiumDriver.getPageSource() with args: [\"d0652778-1c1a-40ef-a61c-9...\r\n[debug] [XCUITest] Executing command 'getPageSource'\r\n[JSONWP Proxy] Proxying [POST /source] to [POST http://localhost:8100/session/C34425C6-49B2-47B2-A2DC-894EF06195ED/source] with no body\r\n[debug] [WebDriverAgent] Sim: Nov 14 09:39:09 vision XCTRunner[45364]: Enqueue Failure: UI Testing Failure - Failure fetching attributes for element <XCAccessib\r\nilityElement: 0x61000024c510> Device element: Error Domain=XCTestManagerErrorDomain Code=13 \"Error copying attributes -25202\" UserInfo={NSLocalizedDescription=Error copying attributes -25202} <unknown> 0 1\r\n```\r\n\r\nI'm happy to try any suggested code edits, but I don't know enough about obj-c or XCUI test itself to dig around too much on my own at the moment.\r\n\r\nI'd also be happy to have missed a step in updating this project under Appium.   I've followed the steps I outlined for a successful update in #317, as well as [here](https://github.com/facebook/WebDriverAgent/wiki/Starting-WebDriverAgent#a-using-xcode) and [here](https://github.com/appium/appium-xcuitest-driver#manual-configuration-alternative)"},"comment":{"url":"https://api.github.com/repos/facebook/WebDriverAgent/issues/comments/265824360","html_url":"https://github.com/facebook/WebDriverAgent/issues/372#issuecomment-265824360","issue_url":"https://api.github.com/repos/facebook/WebDriverAgent/issues/372","id":265824360,"user":{"login":"jediboy","id":812373,"avatar_url":"https://avatars.githubusercontent.com/u/812373?v=3","gravatar_id":"","url":"https://api.github.com/users/jediboy","html_url":"https://github.com/jediboy","followers_url":"https://api.github.com/users/jediboy/followers","following_url":"https://api.github.com/users/jediboy/following{/other_user}","gists_url":"https://api.github.com/users/jediboy/gists{/gist_id}","starred_url":"https://api.github.com/users/jediboy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jediboy/subscriptions","organizations_url":"https://api.github.com/users/jediboy/orgs","repos_url":"https://api.github.com/users/jediboy/repos","events_url":"https://api.github.com/users/jediboy/events{/privacy}","received_events_url":"https://api.github.com/users/jediboy/received_events","type":"User","site_admin":false},"created_at":"2016-12-08T19:01:09Z","updated_at":"2016-12-08T19:01:09Z","body":"So for me, I've narrowed this issue down to table views that do paginated scrolling. We hit the server for the first 10 rows of data for the table and as you scroll down we hit the server to get the next 10 rows and so on until all of the rows have been retrieved.\r\n\r\nFrom what I can tell, there seems to be some sort of automatic scrolling happening behind the scenes that is attempting to scroll the view to get all of the elements. The view in the app doesn't appear to be physically scrolling, but it is loading more elements. I know this because I can see the calls happening to the server and the appium inspector will eventually respond with hundreds of table cells even though I haven't physically done any scrolling in the app to retrieve the additional data rows. Until this auto scrolling process completes, appium appears to be \"hung\" and you can't find any other elements.\r\n\r\nI'm not sure what I can do to get around this situation yet, but it's pretty consistent for me. Is there any way to stop this auto scrolling from happening? For the time being, I can add try/catches in my code with hard coded wait times, but that's a pretty poor way to do automated testing :/"}}
{"actor":{"display_login":"jediboy"}}