Closed Collaborator12 closed 6 years ago
This is what I want to test using E2E tests written using Protractor.
@lathonez Any help or pointers from you or any one else will be of great help.
Closing as per #191. I have replied to you on Stack Overflow and upvoted your question. Personally I have not has experience with swipe gestures on protractor.
Hi,
I am very new to writing E2E tests using protractor for Ionic apps that involve triggering gestures like Swipe on a div.
Following are my questions
1) How can we trigger a Swipe ( left or right ) gesture on a div so that it can be expanded or collapsed horizontally ??
2) Can such a protractor test execute on Chrome browser on a desktop computer or will need to be executed through Appium on actual device ??
3) Can you please provide me code snippets which will help me understand how to do it or how to proceed with it ?
I am not able to find any thing on the internet.
I have tried this post
swipe and click a button protractor
But it's just not working for me & I am not getting any error or effect of it.
If you have done something like this before, then kindly help me please please.
I have posted my question on StackOverflow.
https://stackoverflow.com/questions/50714049/ionic-3-protractor-trigger-swipe-gesture-e2e-tests-should-run-in-chrome-brow