File tree 1 file changed +9
-9
lines changed
src/test/java/io/appium/java_client/android
1 file changed +9
-9
lines changed Original file line number Diff line number Diff line change 1
1
package io .appium .java_client .android ;
2
2
3
- import static org .junit .Assert .assertEquals ;
4
- import static org .junit .Assert .assertTrue ;
5
3
import io .appium .java_client .MobileBy ;
6
4
import io .appium .java_client .MobileElement ;
7
5
import io .appium .java_client .remote .MobileCapabilityType ;
8
6
import io .appium .java_client .remote .MobilePlatform ;
9
-
10
- import java .io .File ;
11
- import java .net .URL ;
12
- import java .util .List ;
13
-
14
7
import org .junit .After ;
15
8
import org .junit .Before ;
16
9
import org .junit .Test ;
17
10
import org .openqa .selenium .WebElement ;
18
11
import org .openqa .selenium .remote .DesiredCapabilities ;
19
12
13
+ import java .io .File ;
14
+ import java .net .URL ;
15
+ import java .util .List ;
16
+
17
+ import static org .junit .Assert .assertEquals ;
18
+ import static org .junit .Assert .assertTrue ;
19
+
20
20
/**
21
21
* Test -android uiautomator locator strategy
22
22
*/
@@ -50,7 +50,7 @@ public void findElementTest() {
50
50
@ Test
51
51
public void findElementsTest () {
52
52
List <AndroidElement > elements = driver .findElementsByAndroidUIAutomator ("new UiSelector().clickable(true)" );
53
- assertTrue (elements .size () > 11 );
53
+ assertTrue (elements .size () > 10 );
54
54
}
55
55
56
56
@ Test
@@ -62,7 +62,7 @@ public void findElementByTest() {
62
62
@ Test
63
63
public void findElementsByTest () {
64
64
List <AndroidElement > elements = driver .findElements (MobileBy .AndroidUIAutomator ("new UiSelector().clickable(true)" ));
65
- assertTrue (elements .size () > 11 );
65
+ assertTrue (elements .size () > 10 );
66
66
}
67
67
68
68
@ Test
You can’t perform that action at this time.
0 commit comments