{"action":"created","issue":{"url":"https://api.github.com/repos/appium/java-client/issues/401","repository_url":"https://api.github.com/repos/appium/java-client","labels_url":"https://api.github.com/repos/appium/java-client/issues/401/labels{/name}","comments_url":"https://api.github.com/repos/appium/java-client/issues/401/comments","events_url":"https://api.github.com/repos/appium/java-client/issues/401/events","html_url":"https://github.com/appium/java-client/issues/401","id":158341546,"number":401,"title":"TouchAction fails to complete with more than one waitAction","user":{"login":"sergeyhizhnyak","id":7680171,"avatar_url":"https://avatars.githubusercontent.com/u/7680171?v=3","gravatar_id":"","url":"https://api.github.com/users/sergeyhizhnyak","html_url":"https://github.com/sergeyhizhnyak","followers_url":"https://api.github.com/users/sergeyhizhnyak/followers","following_url":"https://api.github.com/users/sergeyhizhnyak/following{/other_user}","gists_url":"https://api.github.com/users/sergeyhizhnyak/gists{/gist_id}","starred_url":"https://api.github.com/users/sergeyhizhnyak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sergeyhizhnyak/subscriptions","organizations_url":"https://api.github.com/users/sergeyhizhnyak/orgs","repos_url":"https://api.github.com/users/sergeyhizhnyak/repos","events_url":"https://api.github.com/users/sergeyhizhnyak/events{/privacy}","received_events_url":"https://api.github.com/users/sergeyhizhnyak/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/appium/java-client/labels/Needs%20investigation","name":"Needs investigation","color":"eb6420"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-06-03T10:53:03Z","updated_at":"2016-06-14T10:54:23Z","closed_at":null,"body":"Appium 1.5.2\r\nJava client 4.0.0\r\nIOS\r\n\r\nI'm trying to do the following:\r\n\r\nTouchAction touchAction = new TouchAction(driver);\r\nfinal int dragDelay = 1000;\r\n\r\ntouchAction.tap(element1).waitAction(dragDelay);\r\ntouchAction.moveTo(element2).waitAction(dragDelay);\r\ntouchAction.moveTo(endX, endY).waitAction(dragDelay).release();\r\ntouchAction.perform();\r\n\r\nOn the second waitAction execution just stops and further commands are just ignored\r\n"},"comment":{"url":"https://api.github.com/repos/appium/java-client/issues/comments/225847120","html_url":"https://github.com/appium/java-client/issues/401#issuecomment-225847120","issue_url":"https://api.github.com/repos/appium/java-client/issues/401","id":225847120,"user":{"login":"sergeyhizhnyak","id":7680171,"avatar_url":"https://avatars.githubusercontent.com/u/7680171?v=3","gravatar_id":"","url":"https://api.github.com/users/sergeyhizhnyak","html_url":"https://github.com/sergeyhizhnyak","followers_url":"https://api.github.com/users/sergeyhizhnyak/followers","following_url":"https://api.github.com/users/sergeyhizhnyak/following{/other_user}","gists_url":"https://api.github.com/users/sergeyhizhnyak/gists{/gist_id}","starred_url":"https://api.github.com/users/sergeyhizhnyak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sergeyhizhnyak/subscriptions","organizations_url":"https://api.github.com/users/sergeyhizhnyak/orgs","repos_url":"https://api.github.com/users/sergeyhizhnyak/repos","events_url":"https://api.github.com/users/sergeyhizhnyak/events{/privacy}","received_events_url":"https://api.github.com/users/sergeyhizhnyak/received_events","type":"User","site_admin":false},"created_at":"2016-06-14T10:54:23Z","updated_at":"2016-06-14T10:54:23Z","body":"Some more info: it doesn't work when all the wait actions has same wait time, e.g: \r\ntouchAction.tap(element1).waitAction(dragDelay);\r\ntouchAction.moveTo(element2).waitAction(dragDelay);\r\ntouchAction.moveTo(endX, endY).waitAction(dragDelay).release();\r\ntouchAction.perform();\r\n\r\nHowever if delays will decrease from first to last wait action - it is going to work:\r\ntouchAction.tap(element1).waitAction(dragDelay * 3);\r\ntouchAction.moveTo(element2).waitAction(dragDelay * 2);\r\ntouchAction.moveTo(endX, endY).waitAction(dragDelay).release();\r\ntouchAction.perform();"}}
{"actor":{"display_login":"sergeyhizhnyak"}}