[java] Making testGenerateKeyPressEventEvenWhenElementPreventsDefault less strict to possible mouse movements
@@ -591,7 +591,7 @@ public void testGenerateKeyPressEventEvenWhenElementPreventsDefault() {
WebElement result = driver.findElement(By.id("result"));
silent.sendKeys("s");
- assertThat(result.getText().trim()).isEqualTo("");
+ assertThat(result.getText().trim()).isIn("", "mouseover");
}
@Test
