[java] wait.until never returns null, there is no need to check this
@@ -273,7 +273,7 @@ public void testShouldFireTwoClickEventsWhenClickingOnALabel() {
driver.findElement(By.id("labelForCheckbox")).click();
WebElement result = driver.findElement(By.id("result"));
- assertThat(wait.until(elementTextToContain(result, "labelclick chboxclick"))).isNotNull();
+ wait.until(elementTextToContain(result, "labelclick chboxclick"));
}
@Test
