Skip to content

Commit

Permalink
checkstyle
Browse files Browse the repository at this point in the history
  • Loading branch information
mykola-mokhnach committed Nov 7, 2023
1 parent b8f96da commit d173837
Showing 1 changed file with 6 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
import io.appium.java_client.pagefactory.AppiumFieldDecorator;
import io.appium.java_client.pagefactory.HowToUseLocators;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
import org.openqa.selenium.NoSuchElementException;
import org.openqa.selenium.WebElement;
Expand All @@ -46,6 +47,7 @@
import static org.junit.jupiter.api.Assertions.assertThrows;
import static org.junit.jupiter.api.Assertions.assertTrue;

@SuppressWarnings({"unused", "MismatchedQueryAndUpdateOfCollection"})
public class AndroidPageObjectTest extends BaseAndroidTest {

private boolean populated = false;
Expand Down Expand Up @@ -384,10 +386,10 @@ public void checkThatElementSearchingThrowsExpectedExceptionIfChainedLocatorIsIn
assertNotEquals(0, androidElementsViewFoundByMixedSearching.size());
}

// FIXME: This test is not stable
// @Test public void checkMixedElementSearching2() {
// assertNotNull(androidElementViewFoundByMixedSearching2.getAttribute("text"));
// }
@Disabled("FIXME")
@Test public void checkMixedElementSearching2() {
assertNotNull(androidElementViewFoundByMixedSearching2.getAttribute("text"));
}

@Test public void checkMixedElementsSearching2() {
assertNotEquals(0, androidElementsViewFoundByMixedSearching2.size());
Expand Down

0 comments on commit d173837

Please sign in to comment.