File tree 3 files changed +14
-8
lines changed
src/test/java/io/appium/java_client
3 files changed +14
-8
lines changed Original file line number Diff line number Diff line change @@ -61,6 +61,10 @@ Locators:
61
61
- findElementsByAndroidUIAutomator()
62
62
63
63
##Changelog##
64
+ * 1.6.0*
65
+ - Added @findBy annotations. Explanation here: https://github.com/appium/java-client/pull/68 Thanks to TikhomirovSergey
66
+ - Appium Driver now implements LocationContext interface, so setLocation() works for setting GPS coordinates
67
+
64
68
* 1.5.0*
65
69
- Added MobileCapabilityType enums for desired capabilities
66
70
- ` findElement ` and ` findElements ` return MobileElement objects (still need to be casted, but no longer instantiated)
Original file line number Diff line number Diff line change 6
6
7
7
<groupId >io.appium</groupId >
8
8
<artifactId >java-client</artifactId >
9
- <version >1.5 .0</version >
9
+ <version >1.6 .0</version >
10
10
<dependencies >
11
11
<dependency >
12
12
<groupId >com.google.code.gson</groupId >
Original file line number Diff line number Diff line change 17
17
18
18
package io .appium .java_client ;
19
19
20
- import static org .junit .Assert .*;
21
20
import io .appium .java_client .remote .MobileCapabilityType ;
22
-
23
- import java .io .File ;
24
- import java .net .URL ;
25
-
26
21
import org .junit .After ;
27
22
import org .junit .Before ;
28
23
import org .junit .Test ;
29
24
import org .openqa .selenium .By ;
30
25
import org .openqa .selenium .WebElement ;
31
26
import org .openqa .selenium .remote .DesiredCapabilities ;
32
27
28
+ import java .io .File ;
29
+ import java .net .URL ;
30
+
31
+ import static org .junit .Assert .assertEquals ;
32
+ import static org .junit .Assert .assertNotEquals ;
33
+
33
34
/**
34
35
* Test Mobile Driver features
35
36
*/
@@ -83,7 +84,8 @@ public void dragNDropTest() {
83
84
}
84
85
85
86
@ Test
86
- public void TapSingleFingerTest () {
87
- driver .tap (1 ,100 ,200 ,1000 );
87
+ public void TapSingleFingerTest () throws InterruptedException {
88
+ Thread .sleep (2500 );
89
+ driver .tap (1 ,200 ,300 ,1000 );
88
90
}
89
91
}
You can’t perform that action at this time.
0 commit comments