File tree Expand file tree Collapse file tree 3 files changed +14
-8
lines changed 
src/test/java/io/appium/java_client Expand file tree Collapse file tree 3 files changed +14
-8
lines changed Original file line number Diff line number Diff line change @@ -61,6 +61,10 @@ Locators:
6161-  findElementsByAndroidUIAutomator()
6262
6363##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+ 
6468* 1.5.0* 
6569-  Added MobileCapabilityType enums for desired capabilities
6670-  ` 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 66
77    <groupId >io.appium</groupId >
88    <artifactId >java-client</artifactId >
9-     <version >1.5 .0</version >
9+     <version >1.6 .0</version >
1010    <dependencies >
1111        <dependency >
1212            <groupId >com.google.code.gson</groupId >
Original file line number Diff line number Diff line change 1717
1818package  io .appium .java_client ;
1919
20- import  static  org .junit .Assert .*;
2120import  io .appium .java_client .remote .MobileCapabilityType ;
22- 
23- import  java .io .File ;
24- import  java .net .URL ;
25- 
2621import  org .junit .After ;
2722import  org .junit .Before ;
2823import  org .junit .Test ;
2924import  org .openqa .selenium .By ;
3025import  org .openqa .selenium .WebElement ;
3126import  org .openqa .selenium .remote .DesiredCapabilities ;
3227
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+ 
3334/** 
3435 * Test Mobile Driver features 
3536 */ 
@@ -83,7 +84,8 @@ public void dragNDropTest() {
8384  }
8485
8586  @ 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 );
8890  }
8991}
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments