@Test(timeout = 5000)
public void should_find_elements_immediately_if_a_previous_step_has_failed() {
SmartAjaxElementLocator locator = new SmartAjaxElementLocator(driver, field, 5);
StepEventBus.getEventBus().stepFailed(failure);
locator.findElements();
}
@Rule
public ExpectedException expectedException = ExpectedException.none();