DoubleTap Support#444
Conversation
|
Awesome. Can you add some tests please? Will review soon. |
|
tests @Rafael-Chavez |
344b6ed to
b4d9b6b
Compare
| firstField.sendKeys("2"); | ||
| driver.doubleTap(firstField); | ||
| IOSElement editingMenu = (IOSElement) driver.findElementByClassName("UIAEditingMenu"); | ||
| assertNotNull(editingMenu); |
There was a problem hiding this comment.
there was little to double tap on in ios TestApp. But found the editing menu shows up when you double tap on one of the fields.
|
added android test as well @TikhomirovSergey @SrinivasanTarget |
| @Test public void doubleTapTest() throws Exception { | ||
| driver.startActivity("io.appium.android.apis", ".view.TextSwitcher1"); | ||
| String textBeforeDoubleTap = (driver.findElementByClassName("android.widget.TextView")).getText(); | ||
| AndroidElement next = driver.findElementById("io.appium.android.apis:id/next"); |
|
@Rafael-Chavez Looks good but some remarks, 1)Correct java doc here: https://github.com/appium/java-client/pull/444/files#diff-970f723bf2aa8111d5817a3de004cc13R208 & https://github.com/appium/java-client/pull/444/files#diff-6f4ca47e6c9b3f6056a3d5f88a6d7821R65 |
|
i will update with the javadoc and style fixes. |
|
Fixed java doc and codestyle @SrinivasanTarget ! |
|
@Rafael-Chavez Does the tests passed? I see server errors: https://gist.github.com/SrinivasanTarget/1a5683fc5523bd50b74a98884cf484b3 |
|
that error makes sense @SrinivasanTarget as i only added doubleTap support for iOS driver in appium. I dont see support for double tap (or double click) in uiautomator. |
|
@Rafael-Chavez Yes i see that there is no support for |
|
Im ok with either of these two suggestions @SrinivasanTarget @TikhomirovSergey |
|
Im moving this to IOSDriver if thats ok with you @SrinivasanTarget |
63677a2 to
59cfb95
Compare
|
@SrinivasanTarget @TikhomirovSergey moved to IOSDriver and removed Android test added. |
|
@Rafael-Chavez Apologies for the delay. I'm on vacation till 12th Sep. We were working on splitting TouchActions as you can see here, #458. We will get this in soon. @TikhomirovSergey FYI |
Change list
DoubleTap support to TouchAction
Types of changes
What types of changes are you proposing/introducing to Java client?
Put an
xin the boxes that apply