File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed
src/test/java/io/appium/java_client/pagefactory_tests Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change 24
24
import io .appium .java_client .pagefactory .AppiumFieldDecorator ;
25
25
import io .appium .java_client .pagefactory .HowToUseLocators ;
26
26
import org .junit .jupiter .api .BeforeEach ;
27
+ import org .junit .jupiter .api .Disabled ;
27
28
import org .junit .jupiter .api .Test ;
28
29
import org .openqa .selenium .NoSuchElementException ;
29
30
import org .openqa .selenium .WebElement ;
46
47
import static org .junit .jupiter .api .Assertions .assertThrows ;
47
48
import static org .junit .jupiter .api .Assertions .assertTrue ;
48
49
50
+ @ SuppressWarnings ({"unused" , "MismatchedQueryAndUpdateOfCollection" })
49
51
public class AndroidPageObjectTest extends BaseAndroidTest {
50
52
51
53
private boolean populated = false ;
@@ -384,10 +386,10 @@ public void checkThatElementSearchingThrowsExpectedExceptionIfChainedLocatorIsIn
384
386
assertNotEquals (0 , androidElementsViewFoundByMixedSearching .size ());
385
387
}
386
388
387
- // FIXME: This test is not stable
388
- // @Test public void checkMixedElementSearching2() {
389
- // assertNotNull(androidElementViewFoundByMixedSearching2.getAttribute("text"));
390
- // }
389
+ @ Disabled ( "FIXME" )
390
+ @ Test public void checkMixedElementSearching2 () {
391
+ assertNotNull (androidElementViewFoundByMixedSearching2 .getAttribute ("text" ));
392
+ }
391
393
392
394
@ Test public void checkMixedElementsSearching2 () {
393
395
assertNotEquals (0 , androidElementsViewFoundByMixedSearching2 .size ());
You can’t perform that action at this time.
0 commit comments