{"action":"created","issue":{"url":"https://api.github.com/repos/mcdcorp/opentest/issues/77","repository_url":"https://api.github.com/repos/mcdcorp/opentest","labels_url":"https://api.github.com/repos/mcdcorp/opentest/issues/77/labels{/name}","comments_url":"https://api.github.com/repos/mcdcorp/opentest/issues/77/comments","events_url":"https://api.github.com/repos/mcdcorp/opentest/issues/77/events","html_url":"https://github.com/mcdcorp/opentest/issues/77","id":447028677,"node_id":"MDU6SXNzdWU0NDcwMjg2Nzc=","number":77,"title":"Horizontal swipe in appium in Android Device","user":{"login":"prapriya","id":50862463,"node_id":"MDQ6VXNlcjUwODYyNDYz","avatar_url":"https://avatars1.githubusercontent.com/u/50862463?v=4","gravatar_id":"","url":"https://api.github.com/users/prapriya","html_url":"https://github.com/prapriya","followers_url":"https://api.github.com/users/prapriya/followers","following_url":"https://api.github.com/users/prapriya/following{/other_user}","gists_url":"https://api.github.com/users/prapriya/gists{/gist_id}","starred_url":"https://api.github.com/users/prapriya/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/prapriya/subscriptions","organizations_url":"https://api.github.com/users/prapriya/orgs","repos_url":"https://api.github.com/users/prapriya/repos","events_url":"https://api.github.com/users/prapriya/events{/privacy}","received_events_url":"https://api.github.com/users/prapriya/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":10,"created_at":"2019-05-22T09:29:19Z","updated_at":"2019-07-31T14:28:41Z","closed_at":"2019-05-30T08:05:18Z","author_association":"NONE","body":"OpenTest version number: 1.0.8\r\nAppium Version: 1.13.0\r\n\r\nI am trying to perform a horizontal swipe in our application on a particular element. Could you please help me\r\n![Swipe](https://user-images.githubusercontent.com/50862463/58162962-c39d7a80-7ca0-11e9-9466-251120c84705.png)\r\n\r\n\r\nI have to swipe left to delete that particular element. I have tried below code, which is passing the test case but not doing the required swipe.\r\n\r\n- description: Swipe to previously Added Skill\r\n   action: org.getopentest.appium.Swipe\r\n   args:\r\n       direction: left\r\n        target: $data(\"locators/mosLocators\").EditProfile.Test\r\n\r\n     - description: Swipe left to delete the Skill\r\n        action: org.getopentest.appium.LongPress\r\n        args:             \r\n        locator: $data(\"locators/mosLocators\").EditProfile.Test\r\n         swipe: left\r\n        durationMs: 1000\r\n\r\n- description:  Swipe left to delete the Skill\r\n  action: org.getopentest.appium.AssertElementText\r\n  args:\r\n    locator: $data(\"locators/mosLocators\").EditProfile.Test\r\n    textContains: Management\r\n    swipe: down\r\n    swipeContainer: $data(\"locators/mosLocators\").EditProfile.Test\r\n    swipeOffsetTop: 0.3\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/mcdcorp/opentest/issues/comments/516873494","html_url":"https://github.com/mcdcorp/opentest/issues/77#issuecomment-516873494","issue_url":"https://api.github.com/repos/mcdcorp/opentest/issues/77","id":516873494,"node_id":"MDEyOklzc3VlQ29tbWVudDUxNjg3MzQ5NA==","user":{"login":"adrianth","id":5209882,"node_id":"MDQ6VXNlcjUyMDk4ODI=","avatar_url":"https://avatars1.githubusercontent.com/u/5209882?v=4","gravatar_id":"","url":"https://api.github.com/users/adrianth","html_url":"https://github.com/adrianth","followers_url":"https://api.github.com/users/adrianth/followers","following_url":"https://api.github.com/users/adrianth/following{/other_user}","gists_url":"https://api.github.com/users/adrianth/gists{/gist_id}","starred_url":"https://api.github.com/users/adrianth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adrianth/subscriptions","organizations_url":"https://api.github.com/users/adrianth/orgs","repos_url":"https://api.github.com/users/adrianth/repos","events_url":"https://api.github.com/users/adrianth/events{/privacy}","received_events_url":"https://api.github.com/users/adrianth/received_events","type":"User","site_admin":false},"created_at":"2019-07-31T14:28:41Z","updated_at":"2019-07-31T14:28:41Z","author_association":"CONTRIBUTOR","body":"One thing you can check is the version of Appium - make sure you are using a recent version. The other thing that you might want to check is the element locator you are using for iOS (although the coordinates of the element look good to me in the log). Also, I noticed that your end coordinate on the X axis is negative. I’m not sure how iOS deals with that, so please try swiping to zero on the X coordinate and see if it helps. After all, if you tested the app manually you wouldn’t be able to swipe to negative coordinates, so you shouldn’t use those in yout tests."}}
{"actor":{"display_login":"adrianth"}}