Skip to content

Commit

Permalink
[java] Making testGenerateKeyPressEventEvenWhenElementPreventsDefault…
Browse files Browse the repository at this point in the history
… less strict to possible mouse movements
  • Loading branch information
barancev committed Nov 26, 2018
1 parent 11eca0f commit 8e24729
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion java/client/test/org/openqa/selenium/TypingTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8e24729

Please sign in to comment.