diff --git a/htmlelements-java/src/test/java/ru/yandex/qatools/htmlelements/UsingSelectTest.java b/htmlelements-java/src/test/java/ru/yandex/qatools/htmlelements/UsingSelectTest.java index 0c0864e0..cdead467 100644 --- a/htmlelements-java/src/test/java/ru/yandex/qatools/htmlelements/UsingSelectTest.java +++ b/htmlelements-java/src/test/java/ru/yandex/qatools/htmlelements/UsingSelectTest.java @@ -17,20 +17,6 @@ * @author Artem Koshelev artkoshelev@yandex-team.ru */ public class UsingSelectTest { - @Test - public void withSimpleElement() { - WebDriver driver = mock(WebDriver.class); - WebElement registerForm = mock(WebElement.class); - WebElement countryBoxElement = mock(WebElement.class); - - when(driver.findElement(By.className("regform"))).thenReturn(registerForm); - when(registerForm.findElement(By.name("country"))).thenReturn(countryBoxElement); - when(countryBoxElement.getTagName()).thenReturn("select"); - when(countryBoxElement.getAttribute("multiple")).thenReturn("true"); - - RegisterForm form = new RegisterForm(driver); - form.country.deselectAll(); - } @FindBy(className = "regform") public class RegisterForm extends HtmlElement {