Skip to content

Commit d173837

Browse files
checkstyle
1 parent b8f96da commit d173837

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

src/test/java/io/appium/java_client/pagefactory_tests/AndroidPageObjectTest.java

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
import io.appium.java_client.pagefactory.AppiumFieldDecorator;
2525
import io.appium.java_client.pagefactory.HowToUseLocators;
2626
import org.junit.jupiter.api.BeforeEach;
27+
import org.junit.jupiter.api.Disabled;
2728
import org.junit.jupiter.api.Test;
2829
import org.openqa.selenium.NoSuchElementException;
2930
import org.openqa.selenium.WebElement;
@@ -46,6 +47,7 @@
4647
import static org.junit.jupiter.api.Assertions.assertThrows;
4748
import static org.junit.jupiter.api.Assertions.assertTrue;
4849

50+
@SuppressWarnings({"unused", "MismatchedQueryAndUpdateOfCollection"})
4951
public class AndroidPageObjectTest extends BaseAndroidTest {
5052

5153
private boolean populated = false;
@@ -384,10 +386,10 @@ public void checkThatElementSearchingThrowsExpectedExceptionIfChainedLocatorIsIn
384386
assertNotEquals(0, androidElementsViewFoundByMixedSearching.size());
385387
}
386388

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+
}
391393

392394
@Test public void checkMixedElementsSearching2() {
393395
assertNotEquals(0, androidElementsViewFoundByMixedSearching2.size());

0 commit comments

Comments
 (0)