Skip to content

Commit

Permalink
update to 1.6.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonahss committed Jul 29, 2014
1 parent 112ce77 commit 0266a90
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 8 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,10 @@ Locators:
- findElementsByAndroidUIAutomator()

##Changelog##
*1.6.0*
- Added @findBy annotations. Explanation here: https://github.com/appium/java-client/pull/68 Thanks to TikhomirovSergey
- Appium Driver now implements LocationContext interface, so setLocation() works for setting GPS coordinates

*1.5.0*
- Added MobileCapabilityType enums for desired capabilities
- `findElement` and `findElements` return MobileElement objects (still need to be casted, but no longer instantiated)
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>io.appium</groupId>
<artifactId>java-client</artifactId>
<version>1.5.0</version>
<version>1.6.0</version>
<dependencies>
<dependency>
<groupId>com.google.code.gson</groupId>
Expand Down
16 changes: 9 additions & 7 deletions src/test/java/io/appium/java_client/AndroidGestureTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -17,19 +17,20 @@

package io.appium.java_client;

import static org.junit.Assert.*;
import io.appium.java_client.remote.MobileCapabilityType;

import java.io.File;
import java.net.URL;

import org.junit.After;
import org.junit.Before;
import org.junit.Test;
import org.openqa.selenium.By;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.remote.DesiredCapabilities;

import java.io.File;
import java.net.URL;

import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNotEquals;

/**
* Test Mobile Driver features
*/
Expand Down Expand Up @@ -83,7 +84,8 @@ public void dragNDropTest() {
}

@Test
public void TapSingleFingerTest() {
driver.tap(1,100,200,1000);
public void TapSingleFingerTest() throws InterruptedException {
Thread.sleep(2500);
driver.tap(1,200,300,1000);
}
}

0 comments on commit 0266a90

Please sign in to comment.